From a7e18db8211dcc512fb0548414ae8dcefed96eef Mon Sep 17 00:00:00 2001 From: Hermes Date: Mon, 8 Jun 2026 16:00:30 -0400 Subject: [PATCH 1/2] fix: add mocha.conf fallback for pywal colors Add source = mocha.conf before pywal's colors-hyprland.conf so Catppuccin Mocha colors always load as defaults. Also define $color1, $color2, $color3, and $background in mocha.conf as fallbacks for when pywal hasn't generated its color file. Fixes two Hyprland errors: - 'source= globbing error: found no match' when pywal file missing - 'failed to parse $color2 as a color' gradient parsing error --- hypr/.config/hypr/hyprland.conf | 1 + hypr/.config/hypr/mocha.conf | 8 ++++++++ 2 files changed, 9 insertions(+) mode change 100644 => 100755 hypr/.config/hypr/hyprland.conf mode change 100644 => 100755 hypr/.config/hypr/mocha.conf diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf old mode 100644 new mode 100755 index 9982a2f..9684de1 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -8,6 +8,7 @@ # You can split this configuration into multiple files # Create your files separately and then link them to this file like this: # source = ~/.config/hypr/myColors.conf +source = mocha.conf source = ~/.cache/wal/colors-hyprland.conf ################ diff --git a/hypr/.config/hypr/mocha.conf b/hypr/.config/hypr/mocha.conf old mode 100644 new mode 100755 index 8ccb56a..55be804 --- a/hypr/.config/hypr/mocha.conf +++ b/hypr/.config/hypr/mocha.conf @@ -76,3 +76,11 @@ $mantleAlpha = 181825 $crust = rgb(11111b) $crustAlpha = 11111b + +# Fallback colors for when pywal hasn't generated colors-hyprland.conf +# (sourced by hyprland.conf — $color1/$color2 for active border gradients, +# $background for inactive border and general bg usage) +$color1 = rgb(cba6f7) +$color2 = rgb(f5c2e7) +$color3 = rgb(89b4fa) +$background = rgb(1e1e2e) From 72200661490e59ae5bb0c6bd2fa06782259becdf Mon Sep 17 00:00:00 2001 From: Hermes Date: Mon, 8 Jun 2026 16:06:13 -0400 Subject: [PATCH 2/2] fix: remove $schema key from yazi.toml Yazi's newer TOML parser requires kebab-case key names. $schema starts with a non-letter character, causing: TOML parse error at line 3: must be a kebab-cased string --- yazi/.config/yazi/yazi.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/yazi/.config/yazi/yazi.toml b/yazi/.config/yazi/yazi.toml index c30c541..d023f67 100644 --- a/yazi/.config/yazi/yazi.toml +++ b/yazi/.config/yazi/yazi.toml @@ -1,6 +1,5 @@ # A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config. # If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas. -"$schema" = "https://yazi-rs.github.io/schemas/yazi.json" [mgr] ratio = [ 1, 4, 3 ]