mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Further updates for trayer
This commit is contained in:
parent
51aa4996ad
commit
a60115e2dd
|
@ -30,9 +30,8 @@ for ((n=0;n<MONITOR_AMOUT;n++)); do
|
|||
position_line="$(make_position_line $n)"
|
||||
contents="${xmobarhs_content/$position_line_0/$position_line}"
|
||||
|
||||
# Only keep trayer spacer in 1st xmobar
|
||||
# Only use Trayer in the 1st xmobar (on single monitor)
|
||||
if [ $n -ne 0 ]; then
|
||||
#contents="${contents/'%trayerpad%'/''}"
|
||||
contents="$(grep -v trayerpad <<< $contents)"
|
||||
fi
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t
|
|||
\<fc=#666666>|</fc> <fc=#51afef> <action=`alacritty -e htop`>%disku%</action> </fc> \
|
||||
\<fc=#666666>|</fc> <fc=#98be65> <action=`alacritty -e sudo iftop`>%wlp2s0%</action> </fc> \
|
||||
\<fc=#666666>|</fc> <fc=#46d9ff> %date% </fc> \
|
||||
\%trayerpad%\
|
||||
\<fc=#666666>|</fc>%trayerpad%\
|
||||
\ "
|
||||
}
|
||||
|
||||
|
|
|
@ -43,6 +43,6 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t
|
|||
\<fc=#666666>|</fc> <fc=#51afef> <action=`alacritty -e htop`>%disku%</action> </fc> \
|
||||
\<fc=#666666>|</fc> <fc=#98be65> <action=`alacritty -e sudo iftop`>%wlp2s0%</action> </fc> \
|
||||
\<fc=#666666>|</fc> <fc=#46d9ff> %date% </fc> \
|
||||
\%trayerpad%\
|
||||
\<fc=#666666>|</fc>%trayerpad%\
|
||||
\ "
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue