diff --git a/sdgos/tuis/layout-switch.sh b/sdgos/tuis/layout-switch.sh index e8902a5..8671c32 100755 --- a/sdgos/tuis/layout-switch.sh +++ b/sdgos/tuis/layout-switch.sh @@ -10,6 +10,7 @@ CMD=$(cat ~/.config/sdgos/tuis/layouts.list | grep -e "$SELECTED" | cut -d '|' - eval $CMD if [[ "$SELECTED" == "Monocle " ]] || [[ "$SELECTED" == "Deck - horizontal " ]] || [[ "$SELECTED" == "Deck - vertical " ]]; then + pkill -9 waybar mmsg dispatch spawn_shell,'waybar -c ~/.config/sdgos/monocle/config -s ~/.config/sdgos/monocle/style.css' else pkill -9 waybar