diff --git a/rofi/logout b/rofi/logout --- a/rofi/logout +++ b/rofi/logout @@ -1,3 +1,5 @@ +#!/bin/bash + if [ "$XDG_SESSION_DESKTOP" == "bspwm" ]; then bspc quit fi @@ -8,4 +10,8 @@ if [ "$XDG_SESSION_DESKTOP" == "i3-gnome" ]; then i3-msg exit +fi + +if [ "$XDG_SESSION_DESKTOP" == "hyprland" ]; then + hyprctl dispatch exit fi