mirror of
https://github.com/adi1090x/rofi.git
synced 2026-02-01 16:40:11 +01:00
Set the check to regex
This commit is contained in:
parent
026d854905
commit
c1e0090b3f
@ -74,7 +74,7 @@ run_cmd() {
|
|||||||
openbox --exit
|
openbox --exit
|
||||||
elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then
|
elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then
|
||||||
bspc quit
|
bspc quit
|
||||||
elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then
|
elif [[ "$DESKTOP_SESSION" =~ 'i3' ]]; then
|
||||||
i3-msg exit
|
i3-msg exit
|
||||||
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
|
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
|
||||||
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
|
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user