From f976fe728381c6117cad12917d8f5d589680b78f Mon Sep 17 00:00:00 2001 From: Don Williams Date: Wed, 22 Jul 2026 00:55:43 -0400 Subject: Updated settings menu submenus and quick links Signed-off-by: Don Williams On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: config/hypr/scripts/Kool_Quick_Settings.sh --- config/hypr/scripts/Kool_Quick_Settings.sh | 208 +++++++++++++++++++---------- 1 file changed, 136 insertions(+), 72 deletions(-) (limited to 'config') diff --git a/config/hypr/scripts/Kool_Quick_Settings.sh b/config/hypr/scripts/Kool_Quick_Settings.sh index 70e98459..8b5936a9 100755 --- a/config/hypr/scripts/Kool_Quick_Settings.sh +++ b/config/hypr/scripts/Kool_Quick_Settings.sh @@ -302,58 +302,13 @@ rainbow_borders_menu() { # No notifications; mode is shown in the menu } -# Function to display the menu options without numbers -menu() { - cat </dev/null; then notify-send -i "$iDIR/error.png" "E-R-R-O-R" "Install nwg-displays first" - exit 1 + return fi nwg-displays ;; - "Configure Workspace Rules (nwg-displays)") + "Configure Workspace Rules (nwg-displays)") if ! command -v nwg-displays &>/dev/null; then notify-send -i "$iDIR/error.png" "E-R-R-O-R" "Install nwg-displays first" - exit 1 + return fi nwg-displays ;; - "GTK Settings (nwg-look)") + "GTK Settings (nwg-look)") if ! command -v nwg-look &>/dev/null; then notify-send -i "$iDIR/error.png" "E-R-R-O-R" "Install nwg-look first" - exit 1 + return fi nwg-look ;; - "QT Apps Settings (qt6ct)") + "QT Apps Settings (qt6ct)") if ! command -v qt6ct &>/dev/null; then notify-send -i "$iDIR/error.png" "E-R-R-O-R" "Install qt6ct first" - exit 1 + return fi qt6ct ;; - "QT Apps Settings (qt5ct)") + "QT Apps Settings (qt5ct)") if ! command -v qt5ct &>/dev/null; then notify-send -i "$iDIR/error.png" "E-R-R-O-R" "Install qt5ct first" - exit 1 + return fi qt5ct ;; "Set Hyprlock Wallpaper") @@ -430,19 +385,18 @@ main() { "$scriptsDir/HyprlockWallpaperSelect.sh" fi ;; - "Choose Hyprland Animations") $scriptsDir/Animations.sh ;; - "Choose Monitor Profiles") $scriptsDir/MonitorProfiles.sh ;; - "Choose Rofi Themes") $scriptsDir/RofiThemeSelector.sh ;; - "Search for Keybinds") $scriptsDir/KeyBinds.sh ;; - "Toggle Waybar Weather units (C/F)") $scriptsDir/Toggle-weather-waybar-units.sh ;; - "Toggle Waybar Clock (12H/24H)") $scriptsDir/ToggleWaybarTime.sh ;; - "Toggle Game Mode") $scriptsDir/GameMode.sh ;; - "Switch Dark-Light Theme") $scriptsDir/DarkLight.sh ;; + "Choose Hyprland Animations") "$scriptsDir/Animations.sh" ;; + "Choose Monitor Profiles") "$scriptsDir/MonitorProfiles.sh" ;; + "Choose Rofi Themes") "$scriptsDir/RofiThemeSelector.sh" ;; + "Search for Keybinds") "$scriptsDir/KeyBinds.sh" ;; + "Toggle Waybar Weather units (C/F)") "$scriptsDir/Toggle-weather-waybar-units.sh" ;; + "Toggle Waybar Clock (12H/24H)") "$scriptsDir/ToggleWaybarTime.sh" ;; + "Toggle Game Mode") "$scriptsDir/GameMode.sh" ;; + "Switch Dark-Light Theme") "$scriptsDir/DarkLight.sh" ;; "Rainbow Borders Mode") rainbow_borders_menu ;; - *) return ;; # Do nothing for invalid choices + *) return ;; esac - # Open selected file using configured editor if [ -n "$file" ]; then local -a edit_cmd term_cmd visual_cmd selected_cmd read -r -a edit_cmd <<< "$edit" @@ -459,6 +413,116 @@ main() { fi } +show_category_menu() { + local category="$1" + local quick_settings_monitor="$2" + local options="" + + case "$category" in + "User") + options=$(cat < /dev/null; then pkill rofi -- cgit v1.2.3