Tweak secondary Polybar
This commit is contained in:
parent
35b6d40c8b
commit
98d2d6d05e
2 changed files with 12 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue