From ca7d25bfb4174e11da3def6a42cf828a704ef85d Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 17 Sep 2024 00:21:34 +0900 Subject: simplified quickedit; some formatting tweak --- config/hypr/UserConfigs/UserDecorAnimations.conf | 13 ++-- config/hypr/UserScripts/QuickEdit.sh | 89 ++++++++++-------------- 2 files changed, 45 insertions(+), 57 deletions(-) (limited to 'config') diff --git a/config/hypr/UserConfigs/UserDecorAnimations.conf b/config/hypr/UserConfigs/UserDecorAnimations.conf index 88224473..ef43fd6e 100644 --- a/config/hypr/UserConfigs/UserDecorAnimations.conf +++ b/config/hypr/UserConfigs/UserDecorAnimations.conf @@ -22,16 +22,17 @@ decoration { drop_shadow = true shadow_range = 6 shadow_render_power = 1 + col.shadow = $color12 col.shadow_inactive = 0x50000000 blur { - enabled = true - size = 6 - passes = 2 - ignore_opacity = true - new_optimizations = true - special = true + enabled = true + size = 6 + passes = 2 + ignore_opacity = true + new_optimizations = true + special = true } } diff --git a/config/hypr/UserScripts/QuickEdit.sh b/config/hypr/UserScripts/QuickEdit.sh index 6320218b..c8168ca3 100755 --- a/config/hypr/UserScripts/QuickEdit.sh +++ b/config/hypr/UserScripts/QuickEdit.sh @@ -1,66 +1,53 @@ #!/bin/bash -# Rofi menu for Quick Edit / View of Settings (SUPER E) +# Rofi menu for Quick Edit/View of Settings (SUPER E) -# define your preferred text editor and terminal to use -editor=${EDITOR:-nano} +# Define preferred text editor and terminal +edit=${EDITOR:-nano} tty=kitty +# Paths to configuration directories configs="$HOME/.config/hypr/configs" UserConfigs="$HOME/.config/hypr/UserConfigs" -menu(){ - printf "1. edit Env-variables\n" - printf "2. edit Window-Rules\n" - printf "3. edit Startup_Apps\n" - printf "4. edit User-Keybinds\n" - printf "5. edit Monitors\n" - printf "6. edit Laptop-Keybinds\n" - printf "7. edit User-Settings\n" - printf "8. edit Decorations & Animations\n" - printf "9. edit Workspace-Rules\n" - printf "10. edit Default-Settings\n" - printf "11. edit Default-Keybinds\n" +# Function to display the menu options +menu() { + cat <