Compare commits

...

3 Commits

Author SHA1 Message Date
Ayush
56223b7429
Merge 5fd5fd2fed into ba970a1f49 2024-09-03 00:37:26 +05:45
adi1090x
ba970a1f49 Deploying to master from @ adi1090x/rofi@45241fd313 🚀 2024-09-01 15:04:02 +00:00
Ayush Singh
5fd5fd2fed
Add sway support to powermenu
Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
2023-10-19 00:46:49 +05:30
2 changed files with 5 additions and 1 deletions

View File

@ -109,7 +109,7 @@ $ ./setup.sh
</p>
<p align="center">
<!-- sponsors --><a href="https://github.com/davidtoska"><img src="https://github.com/davidtoska.png" width="60px" alt="David Toska" /></a><!-- sponsors -->
<!-- sponsors --><a href="https://github.com/davidtoska"><img src="https:&#x2F;&#x2F;avatars.githubusercontent.com&#x2F;u&#x2F;15263867?u&#x3D;7f45e973d008c1c9fc573554a95efac83751e726&amp;v&#x3D;4" width="60px" alt="David Toska" /></a><!-- sponsors -->
</p>
---

View File

@ -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)