Compare commits

...

4 Commits

Author SHA1 Message Date
Ayush
8c0731c3cf
Merge 5fd5fd2feda78ed6d9cc45df236a4e50112e4e76 into adfcc0770fa10daec5d87e3fb4ca6acd1d309491 2025-07-01 21:53:18 -03:00
adi1090x
adfcc0770f Deploying to master from @ adi1090x/rofi@fb7011ec48 🚀 2025-06-26 15:04:57 +00:00
adi1090x
fb7011ec48 Deploying to master from @ adi1090x/rofi@b76c16b2b7 🚀 2025-06-09 15:04:47 +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/snubbi1954-elementary"><img src="https:&#x2F;&#x2F;github.com&#x2F;snubbi1954-elementary.png" width="60px" alt="User avatar: Carl Andersen" /></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/kobinabrandon"><img src="https:&#x2F;&#x2F;github.com&#x2F;kobinabrandon.png" width="60px" alt="User avatar: Kobina Brandon" /></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/snubbi1954-elementary"><img src="https:&#x2F;&#x2F;github.com&#x2F;snubbi1954-elementary.png" width="60px" alt="User avatar: Carl Andersen" /></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 -->
</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)