added scripts to replace waybar

This commit is contained in:
2026-02-04 11:49:00 -08:00
parent 371bc79da2
commit 1c875d57cc
16 changed files with 288 additions and 69 deletions

19
hypr/scripts/power-menu.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
config="$HOME/.config/rofi/power-menu.rasi"
actions=$(echo -e " Suspend\n Shutdown\n Reboot")
selected_option=$(echo -e "$actions" | rofi -dmenu -i -config "${config}" -p "Power:")
case "$selected_option" in
*Shutdown)
systemctl poweroff
;;
*Reboot)
systemctl reboot
;;
*Suspend)
systemctl suspend
;;
esac