diff options
| author | JaKooLit <jimmilovejay@gmail.com> | 2023-11-04 00:31:03 +0900 |
|---|---|---|
| committer | JaKooLit <jimmilovejay@gmail.com> | 2023-11-04 00:31:24 +0900 |
| commit | 5c92d83f04f25f2d1c4ddc253861c1db47aa577f (patch) | |
| tree | 4e48a9119701d6856e8ff777ebf0814e6c42a345 /config/hypr/scripts/WofiPower.sh | |
| parent | 1d04a76bd093c1a6c504b65861828ff3453093aa (diff) | |
See changelog
Diffstat (limited to 'config/hypr/scripts/WofiPower.sh')
| -rwxr-xr-x | config/hypr/scripts/WofiPower.sh | 33 |
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 |
