diff options
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 |
