mirror of
https://github.com/adi1090x/rofi
synced 2026-01-20 23:31:16 +01:00
Set the check to regex
This commit is contained in:
parent
026d854905
commit
c1e0090b3f
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ run_cmd() {
|
|||
openbox --exit
|
||||
elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then
|
||||
bspc quit
|
||||
elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then
|
||||
elif [[ "$DESKTOP_SESSION" =~ 'i3' ]]; then
|
||||
i3-msg exit
|
||||
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
|
||||
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue