aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/QuickEdit.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2024-01-02 01:21:53 +0900
committerGitHub <noreply@github.com>2024-01-02 01:21:53 +0900
commit1acea95602ecd292f4c806ce946c0ab33176e4ce (patch)
treea43d4ccfd313a4effa92919fef8d96934c23bac8 /config/hypr/UserScripts/QuickEdit.sh
parent3d0283f6c0f323bf504d99aadb0019e6357048a8 (diff)
parente2bcb89ce79d0a0469e3eb362cc0cc802ddac208 (diff)
Merge pull request #116 from JaKooLit/development
Development
Diffstat (limited to 'config/hypr/UserScripts/QuickEdit.sh')
-rwxr-xr-xconfig/hypr/UserScripts/QuickEdit.sh54
1 files changed, 54 insertions, 0 deletions
diff --git a/config/hypr/UserScripts/QuickEdit.sh b/config/hypr/UserScripts/QuickEdit.sh
new file mode 100755
index 00000000..163101e2
--- /dev/null
+++ b/config/hypr/UserScripts/QuickEdit.sh
@@ -0,0 +1,54 @@
+#!/bin/bash
+# Rofi menu for Quick Edit / View of Settings (SUPER E)
+
+configs="$HOME/.config/hypr/configs"
+UserConfigs="$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 "$UserConfigs/ENVariables.conf"
+ ;;
+ 2)
+ kitty -e nano "$UserConfigs/WindowRules.conf"
+ ;;
+ 3)
+ kitty -e nano "$UserConfigs/Startup_Apps.conf"
+ ;;
+ 4)
+ kitty -e nano "$UserConfigs/UserKeybinds.conf"
+ ;;
+ 5)
+ kitty -e nano "$UserConfigs/Monitors.conf"
+ ;;
+ 6)
+ kitty -e nano "$UserConfigs/Laptops.conf"
+ ;;
+ 7)
+ kitty -e nano "$UserConfigs/UserSettings.conf"
+ ;;
+ 8)
+ kitty -e nano "$configs/Settings.conf"
+ ;;
+ 9)
+ kitty -e nano "$configs/Keybinds.conf"
+ ;;
+ *)
+ ;;
+ esac
+}
+
+main \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage