polybar: Use new builtin tray module

New in 3.7.
This commit is contained in:
2024-09-21 00:15:06 +02:00
parent a6aa86f2e4
commit 274549dddc
2 changed files with 3 additions and 7 deletions

View File

@@ -23,8 +23,6 @@ if ! pgrep -ax polybar >/dev/null 2>&1; then
# launch Polybar on every monitor
# https://github.com/polybar/polybar/issues/763
while read m; do
export TRAY_POS=none
[[ "${m%(primary)}" == "$m" ]] || export TRAY_POS=right
export MONITOR="${m%%:*}"
polybar --reload -c "$BASE_DIR/config" main &
done <<<$(polybar --list-monitors)