mirror of
https://github.com/adi1090x/rofi.git
synced 2025-12-10 04:22:48 +01:00
Compare commits
3 Commits
e4f23a914a
...
493167aba6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
493167aba6 | ||
|
|
093c1a79f5 | ||
|
|
5fd5fd2fed |
@ -109,7 +109,7 @@ $ ./setup.sh
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<!-- sponsors --><a href="https://github.com/davidtoska"><img src="https://github.com/davidtoska.png" width="60px" alt="User avatar: David Toska" /></a><a href="https://github.com/dgxlab"><img src="https://github.com/dgxlab.png" width="60px" alt="User avatar: David Vargas" /></a><a href="https://github.com/jxtrt"><img src="https://github.com/jxtrt.png" width="60px" alt="User avatar: jtrt" /></a><!-- sponsors -->
|
<!-- sponsors --><a href="https://github.com/davidtoska"><img src="https://github.com/davidtoska.png" width="60px" alt="User avatar: David Toska" /></a><a href="https://github.com/dgxlab"><img src="https://github.com/dgxlab.png" width="60px" alt="User avatar: David Vargas" /></a><!-- sponsors -->
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@ -78,6 +78,8 @@ run_cmd() {
|
|||||||
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
|
||||||
|
elif [[ "$DESKTOP_SESSION" == 'sway' ]]; then
|
||||||
|
swaymsg exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@ -99,6 +101,8 @@ case ${chosen} in
|
|||||||
betterlockscreen -l
|
betterlockscreen -l
|
||||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||||
i3lock
|
i3lock
|
||||||
|
elif [[ -x '/usr/bin/swaylock' ]]; then
|
||||||
|
swaylock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user