fix: add mocha.conf fallback for pywal colors #14

Merged
gortium merged 2 commits from fix/hyprland-color-fallback into master 2026-06-08 20:08:04 +00:00
3 changed files with 9 additions and 1 deletions

1
hypr/.config/hypr/hyprland.conf Normal file → Executable file
View File

@@ -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
################

8
hypr/.config/hypr/mocha.conf Normal file → Executable file
View File

@@ -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)

View File

@@ -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 ]