diff options
Diffstat (limited to 'config/hypr/UserScripts/QuickEdit.sh')
| -rwxr-xr-x | config/hypr/UserScripts/QuickEdit.sh | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/config/hypr/UserScripts/QuickEdit.sh b/config/hypr/UserScripts/QuickEdit.sh new file mode 100755 index 00000000..9c7cdffc --- /dev/null +++ b/config/hypr/UserScripts/QuickEdit.sh @@ -0,0 +1,53 @@ +#!/bin/bash + +defaultDir="$HOME/.config/hypr/configs" +userDir="$HOME/.config/hypr/UserConfigs" + +menu(){ + printf "1. view Env-variables\n" + printf "2. view Window-Rules\n" + printf "3. view Startup_Apps\n" + printf "4. view User-Keybinds\n" + printf "5. view Monitors\n" + printf "6. view Laptop-Keybinds\n" + printf "7. view User-Settings\n" + printf "8. view Default-Settings\n" + printf "9. view Default-Keybinds\n" +} + +main() { + choice=$(menu | rofi -dmenu -config ~/.config/rofi/config-compact.rasi | cut -d. -f1) + case $choice in + 1) + kitty -e nano "$userDir/ENVariables.conf" + ;; + 2) + kitty -e nano "$userDir/WindowRules.conf" + ;; + 3) + kitty -e nano "$userDir/Startup_Apps.conf" + ;; + 4) + kitty -e nano "$userDir/UserKeybinds.conf" + ;; + 5) + kitty -e nano "$userDir/Monitors.conf" + ;; + 6) + kitty -e nano "$userDir/Laptops.conf" + ;; + 7) + kitty -e nano "$userDir/UserSettings.conf" + ;; + 8) + kitty -e nano "$defaultDir/Settings.conf" + ;; + 9) + kitty -e nano "$defaultDir/Keybinds.conf" + ;; + *) + ;; + esac +} + +main
\ No newline at end of file |
