mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 13:14:35 +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)"
|
position_line="$(make_position_line $n)"
|
||||||
contents="${xmobarhs_content/$position_line_0/$position_line}"
|
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
|
if [ $n -ne 0 ]; then
|
||||||
#contents="${contents/'%trayerpad%'/''}"
|
|
||||||
contents="$(grep -v trayerpad <<< $contents)"
|
contents="$(grep -v trayerpad <<< $contents)"
|
||||||
fi
|
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=#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=#98be65> <action=`alacritty -e sudo iftop`>%wlp2s0%</action> </fc> \
|
||||||
\<fc=#666666>|</fc> <fc=#46d9ff> %date% </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=#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=#98be65> <action=`alacritty -e sudo iftop`>%wlp2s0%</action> </fc> \
|
||||||
\<fc=#666666>|</fc> <fc=#46d9ff> %date% </fc> \
|
\<fc=#666666>|</fc> <fc=#46d9ff> %date% </fc> \
|
||||||
\%trayerpad%\
|
\<fc=#666666>|</fc>%trayerpad%\
|
||||||
\ "
|
\ "
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue