aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authordarkeddie <lyttle.daniel@gmail.com>2023-11-26 21:24:34 +1100
committerdarkeddie <lyttle.daniel@gmail.com>2023-11-26 21:24:34 +1100
commit818ee1951fefee02f3b8386f177a3480c596a527 (patch)
treefa2e9b2a791756ee90c5784ded6da68f25c360e9 /config
parent75615fcdb74b91fcfe5e3bc3fb85fc9f5f969a3c (diff)
Cleanup of RofiPower
Diffstat (limited to 'config')
-rwxr-xr-xconfig/hypr/scripts/RofiPower.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/config/hypr/scripts/RofiPower.sh b/config/hypr/scripts/RofiPower.sh
index 84d86433..6978d2d6 100755
--- a/config/hypr/scripts/RofiPower.sh
+++ b/config/hypr/scripts/RofiPower.sh
@@ -26,13 +26,6 @@ rofi_cmd() {
-kb-select-5 "s" \
-kb-select-6 "h" \
-theme ~/.config/rofi/config-powermenu.rasi | awk '{print $1}')
- echo "$chosen_option"
-}
-
-# Pass variables to rofi dmenu
-run_rofi() {
- chosen_option=$(rofi_cmd)
- echo "$chosen_option"
}
# Execute Command
@@ -63,5 +56,5 @@ run_cmd() {
}
# Actions
-chosen_option=$(run_rofi)
+chosen_option=$(rofi_cmd)
run_cmd "${chosen_option% *}" \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage