From ae4376e62db65f80c94da232c7ae85cff700522f Mon Sep 17 00:00:00 2001 From: clxxiii Date: Sat, 04 Nov 2023 03:32:17 +0000 Subject: [PATCH] add hyprland exit --- rofi/logout | 6 ++++++ 1 file(s) changed, 6 insertion(s)(+), 0 deletion(s)(-) 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 -- tangled.sh