Further updates for trayer

This commit is contained in:
ItsDrike 2021-07-15 03:42:44 +02:00
parent 51aa4996ad
commit a60115e2dd
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
3 changed files with 3 additions and 4 deletions

View file

@ -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