Some changes

This commit is contained in:
2025-02-04 21:02:12 -08:00
parent f40f9f5277
commit ee1321e857
6 changed files with 83 additions and 28 deletions

View File

@ -2,4 +2,13 @@
local resp="$(printf 'No\nYes\n' | fuzzel --dmenu --prompt 'Really Logout> ')"
[[ "${resp}" == 'Yes' ]] && riverctl exit
if [[ "${resp}" == 'Yes' ]]; then
case "${XDG_CURRENT_DESKTOP}" in
Hyprland)
hyprctl dispatch exit
;;
river)
riverctl exit
;;
esac
fi