fixed polybar script
This commit is contained in:
parent
6a96355124
commit
70ea63cff2
@ -1,5 +1,9 @@
|
||||
#! /bin/bash
|
||||
|
||||
# kills any polybar currently on
|
||||
killall -q polybar
|
||||
# wait for termination
|
||||
while pgrep -x polybar >/dev/null; do sleep 1; done
|
||||
# loads polybar one every monitor
|
||||
if type "xrandr"; then
|
||||
for monitor in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
|
@ -17,7 +17,7 @@ font pango:monospace 8
|
||||
|
||||
default_border none
|
||||
|
||||
gaps inner 5
|
||||
gaps inner 10
|
||||
smart_gaps on
|
||||
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
@ -65,7 +65,7 @@ bindsym $mod+q exec ~/.local/bin/i3lock-blur
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+d exec --no-startup-id dmenu_run
|
||||
bindsym $mod+d exec --no-startup-id dmenu_run -b
|
||||
# A more modern dmenu replacement is rofi:
|
||||
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
|
||||
# There also is i3-dmenu-desktop which only displays applications shipping a
|
||||
|
Loading…
x
Reference in New Issue
Block a user