Compare commits

...

2 Commits

Author SHA1 Message Date
Ray Elliott 166e3a2490 add script to show polybar 2020-04-07 23:08:17 +01:00
Ray Elliott 85b3ffb1bc just let the wm ignore polybar 2020-04-07 23:07:52 +01:00
2 changed files with 24 additions and 1 deletions

3
config
View File

@ -23,16 +23,19 @@ font-1 = fixed:pixelsize=10;1
font-2 = unifont:fontformat=truetype:size=8:antialias=false;0
modules-left = bspwm
modules-right = xwindow
; wm-restack = bspwm
override-redirect = true
[bar/HDMI-0]
inherit = bar/base
monitor = ${env:MONITOR:HDMI-0}
override-redirect = true
[bar/DVI-0]
inherit = bar/base
monitor = ${env:MONITOR:DVI-0}
override-redirect = true
[bar/eDP-1-1]
inherit = bar/base

20
show-polybar.sh Executable file
View File

@ -0,0 +1,20 @@
#!/bin/sh
_duration="$1"
killall polybar
_host=$(hostname)
case "$_host" in
Patricia)
polybar HDMI-0 &
polybar DVI-0 &
;;
Pamela)
;;
esac
if [ -n "$_duration" ]; then
sleep 1
killall polybar
fi