aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/WofiPower.sh
diff options
context:
space:
mode:
authorJaKooLit <jimmilovejay@gmail.com>2023-11-04 00:31:03 +0900
committerJaKooLit <jimmilovejay@gmail.com>2023-11-04 00:31:24 +0900
commit5c92d83f04f25f2d1c4ddc253861c1db47aa577f (patch)
tree4e48a9119701d6856e8ff777ebf0814e6c42a345 /config/hypr/scripts/WofiPower.sh
parent1d04a76bd093c1a6c504b65861828ff3453093aa (diff)
See changelog
Diffstat (limited to 'config/hypr/scripts/WofiPower.sh')
-rwxr-xr-xconfig/hypr/scripts/WofiPower.sh33
1 files changed, 0 insertions, 33 deletions
diff --git a/config/hypr/scripts/WofiPower.sh b/config/hypr/scripts/WofiPower.sh
deleted file mode 100755
index 097e5fa4..00000000
--- a/config/hypr/scripts/WofiPower.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env bash
-
-# WOFI STYLES
-CONFIG="$HOME/.config/wofi/WofiBig/config"
-STYLE="$HOME/.config/wofi/style.css"
-COLORS="$HOME/.config/wofi/colors"
-
-# Wofi window config (in %)
-WOFI_WIDTH=5
-WOFI_HEIGHT=23
-
-wofi_command="wofi --show dmenu \
- --prompt choose... \
- --conf $CONFIG --style $STYLE --color $COLORS \
- --width=$WOFI_WIDTH% --height=$WOFI_HEIGHT% \
- --cache-file=/dev/null \
- --hide-scroll --no-actions \
- --matching=fuzzy"
-
-entries=$(echo -e " Poweroff\n Reboot\n Suspend\n Lock\n Logout" | $wofi_command -i --dmenu | awk '{print tolower($2)}')
-
-case $entries in
- poweroff|reboot|suspend)
- systemctl $entries
- ;;
- lock)
- $HOME/.config/hypr/scripts/LockScreen.sh
- ;;
- logout)
- hyprctl dispatch exit 0
- ;;
-esac
- \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage