1
0
Fork 0

wezterm: Update tab icons

This commit is contained in:
Daniel Kempkens 2023-07-19 10:48:23 +02:00
parent 1c233bfaf8
commit e16fccbfd0
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -22,9 +22,9 @@
(fn extract-tab-info [title] (fn extract-tab-info [title]
(match title (match title
(where t (t:find "^nvim%s")) (where t (t:find "^nvim%s"))
{:title (t:gsub "^nvim%s(.*)" "%1") :icon " " :color "#019833"} {:title (t:gsub "^nvim%s(.*)" "%1") :icon " " :color "#019833"}
(where t (t:find "^git%s")) (where t (t:find "^git%s"))
{:title (t:gsub "^git%s(.*)" "%1") :icon " " :color "#41535B"} {:title (t:gsub "^git%s(.*)" "%1") :icon "󰊢 " :color "#F25029"}
(where t (t:find "^mix%s")) (where t (t:find "^mix%s"))
{:title (t:gsub "^mix%s(.*)" "%1") :icon " " :color colors.elixir} {:title (t:gsub "^mix%s(.*)" "%1") :icon " " :color colors.elixir}
(where t (t:find "^iex%s")) {: title :icon " " :color colors.elixir} (where t (t:find "^iex%s")) {: title :icon " " :color colors.elixir}
@ -32,6 +32,8 @@
(where t (t:find "^upp%s")) {: title :icon " " :color colors.nix} (where t (t:find "^upp%s")) {: title :icon " " :color colors.nix}
(where t (t:find "^nrsw%s")) {: title :icon " " :color colors.nix} (where t (t:find "^nrsw%s")) {: title :icon " " :color colors.nix}
(where t (t:find "^ngc%s")) {: title :icon " " :color colors.nix} (where t (t:find "^ngc%s")) {: title :icon " " :color colors.nix}
(where t (t:find "^nix%s")) {: title :icon " " :color colors.nix}
(where t (t:find "^nix-%w+%s")) {: title :icon " " :color colors.nix}
(where t (t:find "^deploy%s")) {: title :icon " " :color colors.nix} (where t (t:find "^deploy%s")) {: title :icon " " :color colors.nix}
(where t (t:find "^ssh%s")) {: title :icon " " :color colors.ssh} (where t (t:find "^ssh%s")) {: title :icon " " :color colors.ssh}
(where t (t:find "^scp%s")) {: title :icon " " :color colors.ssh} (where t (t:find "^scp%s")) {: title :icon " " :color colors.ssh}
@ -46,6 +48,7 @@
:color colors.reddit} :color colors.reddit}
(where t (t:find :^redis-)) {: title :icon " " :color "#DC372C"} (where t (t:find :^redis-)) {: title :icon " " :color "#DC372C"}
(where t (t:find "^%[%w+%]%s")) {: title :icon " " :color colors.ssh} (where t (t:find "^%[%w+%]%s")) {: title :icon " " :color colors.ssh}
(where t (t:find "^%w+-dev")) {: title :icon " " :color "#0099CC"}
(where t (t:find "^%w+-dl%s")) {: title :icon " " :color "#22BC00"} (where t (t:find "^%w+-dl%s")) {: title :icon " " :color "#22BC00"}
_ {: title :icon " " :color "#F8F8F2"})) _ {: title :icon " " :color "#F8F8F2"}))
@ -162,4 +165,3 @@
;; Other ;; Other
:front_end :WebGpu :front_end :WebGpu
:check_for_updates false}) :check_for_updates false})