Skip to content

Commit

Permalink
feat: add eww to reload script
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpq committed Mar 19, 2023
1 parent 28245a1 commit 31dc586
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .script/reload.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
CHOICE=$(echo $'sxhkd\npolybar\nspotifyd\ndunst\nalbert' | dmenu -i)
CHOICE=$(echo $'sxhkd\nbspc\neww\npolybar\nspotifyd\ndunst\nalbert' | dmenu -i)


case "$CHOICE" in
"")
echo "Selection cancelled. Aborting.."
exit
;;
"bspc")
exec $HOME/.config/bspwm/bspc &
;;
"polybar")
killall polybar
rm /tmp/POLYBAR_*
exec $HOME/.script/launch_polybar.sh &>/tmp/polybar.log &
;;
"eww")
exec $HOME/.config/bspwm/scripts/open_eww.sh &
;;
"spotifyd")
systemctl --user restart spotifyd
;;
Expand Down

0 comments on commit 31dc586

Please sign in to comment.