Minor fix

This commit is contained in:
Lockszmith (@kateryna) 2025-05-08 03:19:41 -04:00
parent fe3bbd672e
commit 9cab787258
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ is_cmd() { [[ -n "$(command -v "${1}")" ]] ; }
if is_cmd zellij; then
zellij setup --dump-config \
| sed -Ee '
s/^keybinds {/keybinds clear-defaults=true{/;
s/^keybinds \{/keybinds clear-defaults=true {/;
s/"Ctrl g"/{''{ list (dig "style" "zellij" "leader-modifer" "Alt" .) (dig "style" "zellij" "leader-key" "a" .) | join " " | quote }''}/g;
s/"Ctrl ([a-z])"/"{''{ dig "style" "zellij" "leader-modifer" "Alt" . }''} \1"/g;
s!^// theme "default"$!theme {''{ dig "style" "zellij" "theme" "default" . | quote }''}!