From 5c92d83f04f25f2d1c4ddc253861c1db47aa577f Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 4 Nov 2023 00:31:03 +0900 Subject: See changelog --- config/hypr/scripts/WofiPower.sh | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100755 config/hypr/scripts/WofiPower.sh (limited to 'config/hypr/scripts/WofiPower.sh') 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 -- cgit v1.2.3