diff options
| author | darkeddie <lyttle.daniel@gmail.com> | 2023-11-26 21:24:34 +1100 |
|---|---|---|
| committer | darkeddie <lyttle.daniel@gmail.com> | 2023-11-26 21:24:34 +1100 |
| commit | 818ee1951fefee02f3b8386f177a3480c596a527 (patch) | |
| tree | fa2e9b2a791756ee90c5784ded6da68f25c360e9 /config | |
| parent | 75615fcdb74b91fcfe5e3bc3fb85fc9f5f969a3c (diff) | |
Cleanup of RofiPower
Diffstat (limited to 'config')
| -rwxr-xr-x | config/hypr/scripts/RofiPower.sh | 9 |
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 |
