diff options
Diffstat (limited to 'config/hypr/scripts/QuickEdit.sh')
| -rwxr-xr-x | config/hypr/scripts/QuickEdit.sh | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/config/hypr/scripts/QuickEdit.sh b/config/hypr/scripts/QuickEdit.sh index 87380858..36213c54 100755 --- a/config/hypr/scripts/QuickEdit.sh +++ b/config/hypr/scripts/QuickEdit.sh @@ -1,25 +1,7 @@ #!/bin/bash -# WOFI STYLES -CONFIG="$HOME/.config/wofi/WofiBig/config" -STYLE="$HOME/.config/wofi/style.css" -COLORS="$HOME/.config/wofi/colors" - hyprDir="$HOME/.config/hypr/configs" -# wofi window config (in %) -WIDTH=10 -HEIGHT=20 - -## Wofi Command -wofi_command="wofi --show dmenu \ - --prompt choose to view or edit... - --conf $CONFIG --style $STYLE --color $COLORS \ - --width=$WIDTH% --height=$HEIGHT% \ - --cache-file=/dev/null \ - --hide-scroll --no-actions \ - --matching=fuzzy" - menu(){ printf "1. view Env-variables\n" printf "2. view Rules\n" @@ -30,25 +12,25 @@ menu(){ } main() { - choice=$(menu | ${wofi_command} | cut -d. -f1) + choice=$(menu | rofi -dmenu -config ~/.config/rofi/config-compact.rasi | cut -d. -f1) case $choice in 1) - foot -e vim "$hyprDir/ENVariables.conf" + kitty -e nano "$hyprDir/ENVariables.conf" ;; 2) - foot -e vim "$hyprDir/WindowRules.conf" + kitty -e nano "$hyprDir/WindowRules.conf" ;; 3) - foot -e vim "$hyprDir/Execs.conf" + kitty -e nano "$hyprDir/Execs.conf" ;; 4) - foot -e vim "$hyprDir/Keybinds.conf" + kitty -e nano "$hyprDir/Keybinds.conf" ;; 5) - foot -e vim "$hyprDir/Monitors.conf" + kitty -e nano "$hyprDir/Monitors.conf" ;; 6) - foot -e vim "$hyprDir/Settings.conf" + kitty -e nano "$hyprDir/Settings.conf" ;; *) ;; |
