Mercurial > dotfiles
view dot_config/zellij/config.kdl.tmpl @ 840:f3e87577dd3a
fix: sort keys from template dicts to determistically generate scripts
From http://masterminds.github.io/sprig/dicts.html
> The keys function will return a list of all of the keys in one or more dict types.
> Since a dictionary is unordered, the keys will not be in a predictable order.
> They can be sorted with sortAlpha.
This results in a different ordering of commands in the generated scripts
which break the hashing in chezmoi to determine whether the scripts needs to
be re-run.
author | zegervdv <zegervdv@me.com> |
---|---|
date | Fri, 02 Feb 2024 17:44:49 +0100 |
parents | 02fbf26b9f16 |
children |
line wrap: on
line source
// No fancy symbols simplified_ui true // No frames around panes pane_frames false default_mode "locked" keybinds { locked { bind "Alt h" "Alt Left" { MoveFocus "Left"; } bind "Alt j" "Alt Down" { MoveFocus "Down"; } bind "Alt k" "Alt Up" { MoveFocus "Up"; } bind "Alt l" "Alt Right" { MoveFocus "Right"; } } shared_except "locked" { bind "Esc" { SwitchToMode "locked"; } } } themes { catppuccin-macchiato { fg 202 211 245 bg 91 96 120 black 30 32 48 red 237 135 150 green 166 218 149 yellow 238 212 159 blue 138 173 244 magenta 245 189 230 cyan 145 215 227 white 202 211 245 orange 245 169 127 } } {{ if .dark -}} theme "catppuccin-macchiato" {{ else -}} theme "espresso-tutti-colori" {{ end -}}