summaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles')
-rwxr-xr-xdotfiles/hyprland/.local/bin/power-menu45
1 files changed, 0 insertions, 45 deletions
diff --git a/dotfiles/hyprland/.local/bin/power-menu b/dotfiles/hyprland/.local/bin/power-menu
deleted file mode 100755
index 878a17b..0000000
--- a/dotfiles/hyprland/.local/bin/power-menu
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/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