2 Commits

Author SHA1 Message Date
7220066149 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
2026-06-08 16:06:13 -04:00
a7e18db821 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
2026-06-08 16:00:30 -04:00
4 changed files with 9 additions and 6 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 ]

View File

@@ -89,11 +89,6 @@ alias dpa="docker ps -a"
alias dl="docker ps -l -q"
alias dx="docker exec -it"
# WireGuard
alias wg-up="sudo wg-quick up work-laptop"
alias wg-down="sudo wg-quick down work-laptop"
alias wg-status="sudo wg show"
# Cd
alias ..="cd .."
alias ...="cd ../.."