Make xmobar and trayer 24px tall and match trayer's background to xmobar

xmobar was auto-sized (17px) and trayer 18px; both are now 24px. trayer only
honours --tint with --transparent, so it drew the GTK background instead.
This commit is contained in:
Daniele Fucini
2026-10-26 17:55:26 +01:00
parent 68bbcaeb82
commit 4e431d6710
4 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -15,8 +15,7 @@ alias sort='sort -n'
alias scrcpy='scrcpy --disable-screensaver'
alias ssh='kitten ssh'
alias sudo='doas'
#alias trayer='trayer -l --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype request --transparent true --tint 0x232634 --height 18 --monitor 1'
alias trayer='trayer -l --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype request --tint 0x232634 --height 18 --monitor 1'
alias trayer='trayer -l --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype request --transparent true --alpha 0 --tint 0x24283b --height 24 --monitor 1'
alias trc='trash-empty'
alias trl='trash-list'
alias trm='trash-rm'
+1 -1
View File
@@ -3,7 +3,7 @@ Config { overrideRedirect = True
, font = "Jetbrains Mono Nerd Font Bold 9"
, bgColor = "#24283b"
, fgColor = "#737aa2"
, position = Top
, position = TopH 24
, border = NoBorder
, borderColor = "#24283b"
, allDesktops = True
+1 -1
View File
@@ -3,7 +3,7 @@ Config { overrideRedirect = True
, font = "Jetbrains Mono Nerd Font Bold 9"
, bgColor = "#24283b"
, fgColor = "#737aa2"
, position = Top
, position = TopH 24
, border = NoBorder
, borderColor = "#24283b"
, allDesktops = True
+1 -1
View File
@@ -22,5 +22,5 @@ pkill -x trayer
while pgrep -x trayer > /dev/null; do sleep 0.1; done
trayer -l --edge top --align right --SetDockType true \
--SetPartialStrut true --expand true --widthtype request \
--tint 0x232634 --height 18 --monitor "$tray" > /dev/null 2>&1 &
--transparent true --alpha 0 --tint 0x24283b --height 24 --monitor "$tray" > /dev/null 2>&1 &
disown