hideit.sh for polybar top & bottom

This commit is contained in:
Harri Lahtinen 2019-01-07 21:21:39 +02:00
parent f2320e75c3
commit 0998b2461e
3 changed files with 7 additions and 0 deletions

View File

@ -93,6 +93,9 @@ bindsym $mod+Shift+g exec betterlockscreen -l dim
exec --no-startup-id betterlockscreen -w dim
#Twmn Gmail notifier
exec --no-startup-id python ~/.config/Scripts/gmail_notifier.py
#Hide polybar top&bottom
exec --no-startup-id hideIt.sh -N '^polybar-top_eDP-1$' -p 3 -d top -H
exec --no-startup-id hideIt.sh -N '^polybar-bottom_eDP-1$' -p 3 -d bottom -H
##For mpc:
set $music urxvt -e ncmpcpp

View File

@ -28,6 +28,7 @@ modules-left = i3
modules-center = term chrome editor fm music vpn
modules-right = pkg pulseaudio-rofi-output battery backlight wlan networkmanager date clock powermenu
override-redirect = true
;tray-position = right
;tray-padding = 2
;tray-transparent = true
@ -40,6 +41,8 @@ modules-left = hostname vpncheck
modules-center = cpu memory temperature
modules-right = openweather
override-redirect = true
[module/pulseaudio-rofi-output]
type = custom/script
exec = ~/.config/Scripts/pulseaudio-rofi.sh --output_volume_listener

View File

@ -20,3 +20,4 @@ font-2 = FontAwesome:size=10;1
font-3 = Material Icons:size=10;2
scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev