fix: waybar toggle script

This commit is contained in:
hesam-init 2024-03-01 18:17:19 +03:30
parent e44592ddca
commit 1a81ea7ac6

View file

@ -6,9 +6,7 @@ WAYBAR_PID=$(pgrep -x waybar)
if [ -n "$WAYBAR_PID" ]; then
pkill waybar
fi
if [ $WAYBAR_DEV_MODE = true ]; then
elif [ $WAYBAR_DEV_MODE = true ]; then
GTK_DEBUG=interactive exec $WAYBAR_LAUNCHER
else
exec $WAYBAR_LAUNCHER