sxmo, plugins: restart Conky on time/timezone/wallpaper/logout and shorten # Input mode hints

This commit is contained in:
Luxferre
2026-10-25 16:06:47 +02:00
parent 7c707844cc
commit 651720b56b
32 changed files with 273 additions and 35 deletions
+4 -2
View File
@@ -157,11 +157,13 @@ case "$1" in
;;
logout)
sxmo_hook_logout.sh || true
case "$SXMO_WM" in
pkill -9 -x conky >/dev/null 2>&1 || true
rm -rf /tmp/sxmo_conky_time_state /tmp/sxmo_conky_restart.lock
case "${SXMO_WM:-dwm}" in
"i3") i3-msg exit ;;
"sway") swaymsg exit ;;
"river") riverctl exit ;;
"dwm") pkill dwm ;;
"dwm") pkill -x dwm || pkill dwm ;;
esac
;;
togglewm) sxmo_togglewm.sh ;;