mirror of
https://github.com/adi1090x/rofi.git
synced 2026-05-03 12:03:10 +02:00
Compare commits
2 Commits
master
...
493167aba6
| Author | SHA1 | Date | |
|---|---|---|---|
| 493167aba6 | |||
| 5fd5fd2fed |
@@ -78,6 +78,8 @@ run_cmd() {
|
||||
i3-msg exit
|
||||
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
|
||||
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
|
||||
elif [[ "$DESKTOP_SESSION" == 'sway' ]]; then
|
||||
swaymsg exit
|
||||
fi
|
||||
fi
|
||||
else
|
||||
@@ -99,6 +101,8 @@ case ${chosen} in
|
||||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x '/usr/bin/swaylock' ]]; then
|
||||
swaylock
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
||||
Reference in New Issue
Block a user