add:wip mango

This commit is contained in:
2025-12-05 00:07:26 +09:00
parent 1d4e756dd6
commit 342930deae
35 changed files with 1836 additions and 188 deletions

View File

@@ -0,0 +1,23 @@
#!/bin/bash
# save as ~/.local/bin/rofi-power-manager.sh
LOCKSCREEN=" Lock Screen"
SLEEP="󰤄 Sleep"
REBOOT=" Reboot"
SHUTDOWN=" Shutdown"
chosen=$(echo -e "$SLEEP\n$REBOOT\n$SHUTDOWN\n$LOCKSCREEN" | rofi -mesg "󰚥 $HOSTNAME" -dmenu -p "Action:" -config ~/.config/rofi/power-manager/power-manager.rasi)
case $chosen in
"$SLEEP")
systemctl suspend-then-hibernate
;;
"$LOCKSCREEN")
run-lockscreen.sh
;;
"$REBOOT")
systemctl reboot
;;
"$SHUTDOWN")
systemctl poweroff
;;
esac