Polybar, rofi: Miscellaneous fixes

This commit is contained in:
2018-05-06 02:15:38 -05:00
parent c80a8a31c5
commit 37ff3b6d8a
4 changed files with 4 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ export PB_WM_RESTACK=bspwm
# Starting with the primary monitor...
export PB_MONITOR=$(xrandr -q | awk '/\<primary\>/{print $1}')
if [[ $PB_MONITOR == "" ]]; then
exit 1
unset PB_MONITOR
fi
printf '[INFO] Starting Polybar primary on monitor $PB_MONITOR'
polybar -r primary-top&