mirror of
https://github.com/adi1090x/rofi.git
synced 2024-11-21 13:48:22 -05:00
Compare commits
6 Commits
5931176fc6
...
323f9db343
Author | SHA1 | Date | |
---|---|---|---|
|
323f9db343 | ||
|
f7bc0216ca | ||
|
dce10e92b6 | ||
|
3f2275ab8f | ||
|
7c6953721b | ||
|
e2deecc36a |
@ -109,7 +109,7 @@ $ ./setup.sh
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<!-- sponsors --><a href="https://github.com/davidtoska"><img src="https://avatars.githubusercontent.com/u/15263867?u=7f45e973d008c1c9fc573554a95efac83751e726&v=4" width="60px" alt="David Toska" /></a><!-- sponsors -->
|
<!-- sponsors --><a href="https://github.com/davidtoska"><img src="https://avatars.githubusercontent.com/u/15263867?u=7f45e973d008c1c9fc573554a95efac83751e726&v=4" width="60px" alt="David Toska" /></a><a href="https://github.com/kkkutup"><img src="https://avatars.githubusercontent.com/u/142684677?v=4" width="60px" alt="" /></a><a href="https://github.com/snubbi1954-elementary"><img src="https://avatars.githubusercontent.com/u/162145059?u=16ee4fee3e95ea7bc1599abdb2ff0ec4a2385ea2&v=4" width="60px" alt="Carl Andersen" /></a><a href="https://github.com/12c76dc"><img src="https://avatars.githubusercontent.com/u/88608064?u=856f093e16e6d33996d2548d871884994b3ee627&v=4" width="60px" alt="" /></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" == 'hyprland' ]]; then
|
||||||
|
hyprctl dispatch 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/hyprlock' ]]; then
|
||||||
|
hyprlock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
@ -79,6 +79,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" == 'hyprland' ]]; then
|
||||||
|
hyprctl dispatch exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@ -100,6 +102,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/hyprlock' ]]; then
|
||||||
|
hyprlock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
@ -73,6 +73,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" == 'hyprland' ]]; then
|
||||||
|
hyprctl dispatch exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@ -94,6 +96,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/hyprlock' ]]; then
|
||||||
|
hyprlock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
@ -73,6 +73,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" == 'hyprland' ]]; then
|
||||||
|
hyprctl dispatch exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@ -94,6 +96,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/hyprlock' ]]; then
|
||||||
|
hyprlock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
@ -82,6 +82,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" == 'hyprland' ]]; then
|
||||||
|
hyprctl dispatch exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@ -106,6 +108,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/hyprlock' ]]; then
|
||||||
|
hyprlock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
@ -82,6 +82,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" == 'hyprland' ]]; then
|
||||||
|
hyprctl dispatch exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@ -106,6 +108,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/hyprlock' ]]; then
|
||||||
|
hyprlock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
Loading…
Reference in New Issue
Block a user