diff options
| author | Don Williams <don.e.williams@gmail.com> | 2026-01-08 21:02:00 -0500 |
|---|---|---|
| committer | Don Williams <don.e.williams@gmail.com> | 2026-01-08 21:02:00 -0500 |
| commit | a35a1c4e980081566287dd6e2510f658f046cad1 (patch) | |
| tree | 40e31c0cbee8edc0986698880824cfd07026c5c4 /config/hypr/scripts/DarkLight.sh | |
| parent | b32d5df54895bc89f139592cb2116ebeeabe73dd (diff) | |
Fixing hyprland-dots scripts
- TouchPad.sh never expands $TOUCHPAD_ENABLED
- (and doesn’t source the file that defines it), so the toggle command is
- currently doesn't work.
- Volume.sh has multiple microphone-control bugs
- bad pamixer arguments, typoed function name, invalid notification payloads
- that break mic toggling and volume feedback.
- DarkLight.sh wipes the Qt theme paths each run
- because the qt5ct/qt6ct palette variables are commented out.
- KooLsDotsUpdate.sh contains a malformed notify-send string that
- crashes the script when no local version is detected.
- Distro_update.sh runs sudo apt upgrade outside the kitty window,
- so the Debian/Ubuntu flow never finishes inside the terminal.
On branch development
Your branch is up to date with 'origin/development'.
Changes to be committed:
modified: config/hypr/scripts/DarkLight.sh
modified: config/hypr/scripts/Distro_update.sh
modified: config/hypr/scripts/KooLsDotsUpdate.sh
modified: config/hypr/scripts/TouchPad.sh
modified: config/hypr/scripts/Volume.sh
Diffstat (limited to 'config/hypr/scripts/DarkLight.sh')
| -rwxr-xr-x | config/hypr/scripts/DarkLight.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh index a225c7bc..37016ec3 100755 --- a/config/hypr/scripts/DarkLight.sh +++ b/config/hypr/scripts/DarkLight.sh @@ -20,6 +20,10 @@ kitty_conf="$HOME/.config/kitty/kitty.conf" wallust_config="$HOME/.config/wallust/wallust.toml" pallete_dark="dark16" pallete_light="light16" +qt5ct_dark="$HOME/.config/qt5ct/colors/Catppuccin-Mocha.conf" +qt5ct_light="$HOME/.config/qt5ct/colors/Catppuccin-Latte.conf" +qt6ct_dark="$HOME/.config/qt6ct/colors/Catppuccin-Mocha.conf" +qt6ct_light="$HOME/.config/qt6ct/colors/Catppuccin-Latte.conf" # intial kill process for pid in waybar rofi swaync ags swaybg; do @@ -44,6 +48,14 @@ else # Logic for Light mode wallpaper_path="$light_wallpapers" fi +# Select Qt color scheme templates for the upcoming mode +if [ "$next_mode" = "Dark" ]; then + qt5ct_color_scheme="$qt5ct_dark" + qt6ct_color_scheme="$qt6ct_dark" +else + qt5ct_color_scheme="$qt5ct_light" + qt6ct_color_scheme="$qt6ct_light" +fi # Function to update theme mode for the next cycle update_theme_mode() { |
