Browse Source

Cleanup of RofiPower

pull/35/head
darkeddie 2 years ago
parent
commit
818ee1951f
  1. 9
      config/hypr/scripts/RofiPower.sh

9
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% *}"
Loading…
Cancel
Save