diff --git a/system-menu/river-restart-eww.sh b/system-menu/river-restart-eww.sh new file mode 100755 index 0000000..1b4abf4 --- /dev/null +++ b/system-menu/river-restart-eww.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env zsh + +killall eww 2>/dev/null +pkill -f 'sbcl.+.config/+river/+config/+display-listener.lisp' 2>/dev/null + +"${HOME}/.config/river/config/display-listener.lisp" 2>&1 >/dev/null & diff --git a/system-menu/system-menu.sh b/system-menu/system-menu.sh index 2bf9bf9..95f4744 100755 --- a/system-menu/system-menu.sh +++ b/system-menu/system-menu.sh @@ -16,7 +16,8 @@ local entries=('Select system sound output' 'select-sound-output.sh' 'true' 'Enable or disable TV' 'tv-power-menu.sh' 'is-desktop-p' 'Configure USB device access' 'usbguard-menu.py' 'pgrep usbguard-daemon' 'Power settings (restart and shutdown)' 'system-power-menu.sh' 'true' - 'Login to captive portal protected WiFi' 'login-to-wifi.sh' 'is-laptop-p') + 'Login to captive portal protected WiFi' 'login-to-wifi.sh' 'is-laptop-p' + 'Restart top bar' 'river-restart-eww.sh' '[[ "${XDG_CURRENT_DESKTOP}" == river ]]') local entry_array=() local enabled_entries=()