mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-01-11 05:57:17 +00:00
add dotfiles (including kitty & alacritty themes), add proxies, add writing & haskell roles
This commit is contained in:
parent
46bdf4dda0
commit
6561d54f45
346 changed files with 15329 additions and 0 deletions
5
roles/dotfiles/files/.config/kitty/kitty-themes/.tools/extract-vscode.sh
Executable file
5
roles/dotfiles/files/.config/kitty/kitty-themes/.tools/extract-vscode.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
theme=$1
|
||||
|
||||
jq ".colors | to_entries | map(select(.key | match(\"terminal.*\"))) | map({(.key | gsub(\"\\\\.(?<a>.)\"; .a | ascii_upcase) | ltrimstr(\"terminal\") | sub(\"(?<a>.)\"; .a | ascii_downcase)):.value}) | add" < "$theme" > "terminal/${theme%.*}.json"
|
||||
Loading…
Add table
Add a link
Reference in a new issue