feat: configure Waybar, Wofi and Mako

This commit is contained in:
hhhh hgfh 2026-10-05 00:37:52 +03:00
parent e8b7684f35
commit 3f0609bcfc
7 changed files with 266 additions and 0 deletions

11
waybar/power-menu.sh Normal file
View file

@ -0,0 +1,11 @@
#!/bin/sh
choice=$(printf '%s\n' 'Lock' 'Suspend' 'Reboot' 'Power off' |
wofi --dmenu --prompt 'Power' --width 300 --height 220 --hide-scroll)
case "$choice" in
Lock) pgrep -x hyprlock >/dev/null || hyprlock ;;
Suspend) systemctl suspend ;;
Reboot) systemctl reboot ;;
'Power off') systemctl poweroff ;;
esac