added monocle bar to monocle and deck layouts using the layout switcher.

This commit is contained in:
2026-06-06 20:13:50 +02:00
parent be4d7a9b7a
commit 1eb53dd443
4 changed files with 14 additions and 3 deletions
+7 -1
View File
@@ -7,4 +7,10 @@ SELECTED=$(cat ~/.config/sdgos/tuis/layouts.list | cut -d '|' -f 1 | fzf --layou
CMD=$(cat ~/.config/sdgos/tuis/layouts.list | grep -e "$SELECTED" | cut -d '|' -f 2)
eval $CMD
eval $CMD
if [[ "$SELECTED" == "Monocle " ]] || [[ "$SELECTED" == "Deck - horizontal " ]] || [[ "$SELECTED" == "Deck - vertical " ]]; then
mmsg dispatch spawn_shell,'waybar -c ~/.config/sdgos/monocle/config -s ~/.config/sdgos/monocle/style.css'
else
pkill -9 waybar
fi