diff --git a/config/hypr/scripts/RofiPower.sh b/config/hypr/scripts/RofiPower.sh index 84d8643..b8ca76b 100755 --- a/config/hypr/scripts/RofiPower.sh +++ b/config/hypr/scripts/RofiPower.sh @@ -29,12 +29,6 @@ rofi_cmd() { echo "$chosen_option" } -# Pass variables to rofi dmenu -run_rofi() { - chosen_option=$(rofi_cmd) - echo "$chosen_option" -} - # Execute Command run_cmd() { case $1 in @@ -63,5 +57,5 @@ run_cmd() { } # Actions -chosen_option=$(run_rofi) -run_cmd "${chosen_option% *}" \ No newline at end of file +chosen_option=$(rofi_cmd) +run_cmd "${chosen_option% *}"