Compare commits
2 Commits
fa4af6e2a0
...
166e3a2490
Author | SHA1 | Date |
---|---|---|
Ray Elliott | 166e3a2490 | |
Ray Elliott | 85b3ffb1bc |
3
config
3
config
|
@ -23,16 +23,19 @@ font-1 = fixed:pixelsize=10;1
|
||||||
font-2 = unifont:fontformat=truetype:size=8:antialias=false;0
|
font-2 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||||
modules-left = bspwm
|
modules-left = bspwm
|
||||||
modules-right = xwindow
|
modules-right = xwindow
|
||||||
|
|
||||||
; wm-restack = bspwm
|
; wm-restack = bspwm
|
||||||
override-redirect = true
|
override-redirect = true
|
||||||
|
|
||||||
[bar/HDMI-0]
|
[bar/HDMI-0]
|
||||||
inherit = bar/base
|
inherit = bar/base
|
||||||
monitor = ${env:MONITOR:HDMI-0}
|
monitor = ${env:MONITOR:HDMI-0}
|
||||||
|
override-redirect = true
|
||||||
|
|
||||||
[bar/DVI-0]
|
[bar/DVI-0]
|
||||||
inherit = bar/base
|
inherit = bar/base
|
||||||
monitor = ${env:MONITOR:DVI-0}
|
monitor = ${env:MONITOR:DVI-0}
|
||||||
|
override-redirect = true
|
||||||
|
|
||||||
[bar/eDP-1-1]
|
[bar/eDP-1-1]
|
||||||
inherit = bar/base
|
inherit = bar/base
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue