commit 3cb39c2cfe5324f946a0a329d5baf58708fe658c
parent fe90284afb8ddaf24fadfb26a852ca790133bc46
Author: bdmfegys@duck.com <bdmfegys@duck.com>
Date: Thu, 2 May 2024 19:48:44 -0400
restarter: remove unused comments
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/extras/restarter b/extras/restarter
@@ -1,13 +1,9 @@
#!/bin/sh
-#case "$(printf "Get IP\nShutdown\nRestart\nKill DWM\nRestart slstatus\nRestart picom\nRestart dunst" | dmenu -i)" in
+# restart X programs
case "$(printf "Get IP\nRestart slstatus\nRestart picom\nRestart dunst" | dmenu -i)" in
"Get IP") dunstify $(curl ifconfig.co ifconfig.co/city);;
- # restart X programs
"Restart picom") { [ -z $(pgrep picom) ] && pkill picom ;} || picom ;;
"Restart slstatus") { [ -z $(pgrep slstatus) ] && pkill slstatus ;} || slstatus;;
"Restart dunst") { [ -z $(pgrep dunst) ] && pkill dunst ;} || dunst ;;
-# "Shutdown") shutdown now;;
-# "Restart") reboot ;;
-# "Restart DWM") pkill dwm && sudo --askpass systemctl restart ly;;
*) exit 1 ;;
esac