diff --git a/gnome/gnome-extensions.sh b/gnome/gnome-extensions.sh index b96d26a..1810d5c 100755 --- a/gnome/gnome-extensions.sh +++ b/gnome/gnome-extensions.sh @@ -16,6 +16,7 @@ fi EXTENSIONS=( "tilingshell@ferrarodomenico.com" + "tailscale-gnome@diskmth.fr" ) echo "Detected GNOME Shell version: $(gnome-shell --version)" diff --git a/migrations/1792598033.sh b/migrations/1792598033.sh new file mode 100644 index 0000000..ee05896 --- /dev/null +++ b/migrations/1792598033.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# Install the Tailscale GNOME extension +ext="tailscale-gnome@diskmth.fr" +if ! ~/.local/bin/gext list | grep -q "$ext"; then + ~/.local/bin/gext --filesystem install "$ext" + ~/.local/bin/gext --filesystem enable "$ext" +fi diff --git a/shell/starship.toml b/shell/starship.toml index 36f15d1..e6a7871 100644 --- a/shell/starship.toml +++ b/shell/starship.toml @@ -1,14 +1,19 @@ add_newline = true command_timeout = 200 -format = "[$directory$git_branch$git_status]($style)$character" +format = "[$hostname$directory$git_branch$git_status]($style)$character" [character] error_symbol = "[✗](bold cyan)" success_symbol = "[❯](bold cyan)" +[hostname] +ssh_only = false +format = "[$hostname]($style):" +style = "bold cyan" + [directory] -truncation_length = 2 -truncation_symbol = "…/" +truncation_length = 0 +truncate_to_repo = false repo_root_style = "bold cyan" repo_root_format = "[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) "