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]
|
[bar/secondary]
|
||||||
inherit = bardefaults
|
inherit = bardefaults
|
||||||
|
|
||||||
|
height=18
|
||||||
|
|
||||||
modules-left = i3
|
modules-left = i3
|
||||||
|
modules-right = info-hackspeed
|
||||||
monitor = ${env:MONITOR:eDP-1}
|
monitor = ${env:MONITOR:eDP-1}
|
||||||
width = 100%
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -423,7 +425,10 @@ interval = 600
|
||||||
label-font = 6
|
label-font = 6
|
||||||
|
|
||||||
[settings]
|
[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
|
; 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
|
; but I have no idea what this is supposed to do
|
||||||
;compositing-background = xor
|
;compositing-background = xor
|
||||||
|
|
|
@ -16,7 +16,7 @@ detect_primary_monitor() {
|
||||||
echo "$primary"
|
echo "$primary"
|
||||||
}
|
}
|
||||||
|
|
||||||
echo -e "\nDetermining primary monitor..."
|
echo -e "Determining primary monitor..."
|
||||||
primary=$(detect_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."; }
|
[[ -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"
|
echo "Primary monitor: $primary"
|
||||||
|
|
Loading…
Reference in a new issue