From a100b41085703983b1f24dbcbca6879a03c6bee5 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 26 Jan 2026 13:56:54 -0600 Subject: feat(hyprland): add wlogout exit menu with dupre theme - Add wlogout config with nerd font icons and dupre colors - Add wofi power-menu as alternative (disabled) - Use pgrep to prevent multiple instances - Theme: gold highlight on hover, invisible borders Co-Authored-By: Claude Opus 4.5 --- dotfiles/hyprland/.local/bin/power-menu | 45 +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100755 dotfiles/hyprland/.local/bin/power-menu (limited to 'dotfiles/hyprland/.local/bin/power-menu') diff --git a/dotfiles/hyprland/.local/bin/power-menu b/dotfiles/hyprland/.local/bin/power-menu new file mode 100755 index 0000000..878a17b --- /dev/null +++ b/dotfiles/hyprland/.local/bin/power-menu @@ -0,0 +1,45 @@ +#!/bin/bash +# Power menu using wofi +# Dupre theme with Nerd Font icons + +options="󰌾\n󰍃\n󰒲\n󰖔\n󰜉\n󰐥" + +selected=$(echo -e "$options" | wofi --dmenu \ + --cache-file /dev/null \ + --prompt "" \ + --hide-scroll \ + --hide-search \ + --gtk-dark \ + --layer overlay \ + --width 700 \ + --height 700 \ + --columns 3 \ + --lines 2 \ + --style ~/.config/wofi/power-menu.css \ + --conf /dev/null) + +case "$selected" in + "󰌾") + hyprlock + ;; + "󰍃") + notify-send "Power Menu" "Logout disabled for testing" + # hyprctl dispatch exit + ;; + "󰒲") + notify-send "Power Menu" "Suspend disabled for testing" + # systemctl suspend + ;; + "󰖔") + notify-send "Power Menu" "Hibernate disabled for testing" + # systemctl hibernate + ;; + "󰜉") + notify-send "Power Menu" "Reboot disabled for testing" + # systemctl reboot + ;; + "󰐥") + notify-send "Power Menu" "Shutdown disabled for testing" + # systemctl poweroff + ;; +esac -- cgit v1.2.3