Compare commits

...

3 Commits

Author SHA1 Message Date
Ayush
493167aba6
Merge 5fd5fd2feda78ed6d9cc45df236a4e50112e4e76 into 093c1a79f58daab358199c4246de50357e5bf462 2025-07-30 17:58:23 +02:00
adi1090x
093c1a79f5 Deploying to master from @ adi1090x/rofi@d6ae47205a 🚀 2025-07-26 15:04:17 +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:&#x2F;&#x2F;github.com&#x2F;davidtoska.png" width="60px" alt="User avatar: David Toska" /></a><a href="https://github.com/dgxlab"><img src="https:&#x2F;&#x2F;github.com&#x2F;dgxlab.png" width="60px" alt="User avatar: David Vargas" /></a><a href="https://github.com/jxtrt"><img src="https:&#x2F;&#x2F;github.com&#x2F;jxtrt.png" width="60px" alt="User avatar: jtrt" /></a><!-- sponsors -->
<!-- sponsors --><a href="https://github.com/davidtoska"><img src="https:&#x2F;&#x2F;github.com&#x2F;davidtoska.png" width="60px" alt="User avatar: David Toska" /></a><a href="https://github.com/dgxlab"><img src="https:&#x2F;&#x2F;github.com&#x2F;dgxlab.png" width="60px" alt="User avatar: David Vargas" /></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)