From 9b78e39e9cca329acc160399e46bb8d1c9b33955 Mon Sep 17 00:00:00 2001 From: ottjk Date: Sun, 7 Jan 2024 19:07:28 -0500 Subject: coupla updates --- .wezterm.lua | 2 ++ starship/starship.toml | 21 ++++++++++++++------- tofi/config | 1 - 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.wezterm.lua b/.wezterm.lua index f34d706..0b49ff1 100644 --- a/.wezterm.lua +++ b/.wezterm.lua @@ -51,5 +51,7 @@ config.font_size = 11.0 config.hide_tab_bar_if_only_one_tab = true +config.front_end = "WebGpu" + -- and finally, return the configuration to wezterm return config diff --git a/starship/starship.toml b/starship/starship.toml index 334fb12..abadafc 100644 --- a/starship/starship.toml +++ b/starship/starship.toml @@ -3,7 +3,9 @@ format = """ [](id_color)\ $os\ $username\ +$hostname\ $sudo\ +[ ](bg:id_color)\ [](fg:id_color bg:dir_color)\ $directory\ [](fg:dir_color bg:git_color)\ @@ -48,9 +50,20 @@ Arch = "󰣇" [username] show_always = true -format = '[ $user ](bg:id_color fg:black bold)' +format = '[ $user](bg:id_color fg:black bold)' disabled = false +[hostname] +ssh_symbol = '' +style = "bg:id_color fg:black bold" +format = '[@$hostname]($style)' + +[sudo] +disabled = false +symbol = " " +style = "bg:id_color fg:black" +format = '[$symbol]($style)' + [directory] style = "bg:dir_color" read_only = "" @@ -77,12 +90,6 @@ vimcmd_replace_one_symbol = '[ ](fg:id_color)[](fg:mauve)' vimcmd_replace_symbol = '[ ](fg:id_color)[](fg:mauve)' vimcmd_visual_symbol = '[ ](fg:id_color)[](fg:yellow)' -[sudo] -disabled = false -symbol = " " -style = "bg:id_color fg:black" -format = '[$symbol]($style)' - [nodejs] symbol = "" style = "bg:lang_color fg:black bold" diff --git a/tofi/config b/tofi/config index ead4395..9c3770c 100644 --- a/tofi/config +++ b/tofi/config @@ -17,4 +17,3 @@ input-background-padding = 7 input-background-corner-radius = 3 clip-to-padding = false corner-radius = 8 -matching-algorithm=fuzzy -- cgit v1.3