From 0998b2461e65040ed60a0e14366f8868e8f2fa66 Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Mon, 7 Jan 2019 21:21:39 +0200 Subject: [PATCH] hideit.sh for polybar top & bottom --- .config/i3/config | 3 +++ .config/polybar/config | 3 +++ .config/polybar/top-bar | 1 + 3 files changed, 7 insertions(+) diff --git a/.config/i3/config b/.config/i3/config index 3566df6..4536664 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -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 diff --git a/.config/polybar/config b/.config/polybar/config index 3164c05..f698196 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -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 diff --git a/.config/polybar/top-bar b/.config/polybar/top-bar index 0e70b2e..a4a029c 100644 --- a/.config/polybar/top-bar +++ b/.config/polybar/top-bar @@ -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 +