Tweak secondary Polybar

This commit is contained in:
M1dgard 2018-05-01 16:08:03 +02:00
parent 35b6d40c8b
commit 98d2d6d05e
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4
2 changed files with 12 additions and 7 deletions

View file

@ -70,9 +70,11 @@ tray-padding = 2
[bar/secondary]
inherit = bardefaults
height=18
modules-left = i3
modules-right = info-hackspeed
monitor = ${env:MONITOR:eDP-1}
width = 100%
@ -423,7 +425,10 @@ interval = 600
label-font = 6
[settings]
screenchange-reload = true
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
screenchange-reload = false
; Compositing operators
; they say: see https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
; but I have no idea what this is supposed to do
;compositing-background = xor

View file

@ -16,7 +16,7 @@ detect_primary_monitor() {
echo "$primary"
}
echo -e "\nDetermining primary monitor..."
echo -e "Determining primary monitor..."
primary=$(detect_primary_monitor)
[[ -n $primary ]] || { echo "WARNING: no primary monitor detected!"; notify-send -a "Polybar launcher" "No primary monitor detected" "Couldn't detect primary monitor. Check $INIT_LOG."; }
echo "Primary monitor: $primary"