7 Commits

5 changed files with 23 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ set -o pipefail
# Intsalls appropriate dotfiles inside a devcontainer context. # Intsalls appropriate dotfiles inside a devcontainer context.
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-"$HOME/.config"} XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-"$HOME/.config"}
DEV_ENV=${DEV_ENV:-""} DEV_ENV=${DEV_ENV:-$(dirname "${BASH_SOURCE[0]}")}
if [ ! -d "$DEV_ENV" ]; then if [ ! -d "$DEV_ENV" ]; then
echo "[ERROR]: DEV_ENV variable does not exist." echo "[ERROR]: DEV_ENV variable does not exist."

View File

@@ -1,3 +1,6 @@
preload = /home/michael/wallpapers/wall1.png wallpaper {
wallpaper = ,/home/michael/wallpapers/wall1.png monitor =
splash = true path = /home/michael/wallpapers/wall1.png
fit_mode = cover
}

View File

@@ -7,7 +7,9 @@ format = """
$os\ $os\
$username\ $username\
$hostname\ $hostname\
[](bg:color_pink fg:color_orange)\ [](bg:color_lavender fg:color_orange)\
${custom.devpod}\
[](bg:color_pink fg:color_lavender)\
$directory\ $directory\
[](fg:color_pink bg:color_bg1)\ [](fg:color_pink bg:color_bg1)\
$git_branch\ $git_branch\
@@ -33,6 +35,14 @@ color_maroon = '#eba0ac'
color_pink = '#f5c2e7' color_pink = '#f5c2e7'
color_text = '#585b70' color_text = '#585b70'
[custom.devpod]
description = "Displays the active Devpod workspace"
command = "echo $(echo $DEVPOD_WORKSPACE_ID | sed 's/.*://')"
when = "[[ -n $DEVPOD_WORKSPACE_ID ]]"
style = "bold bg:color_lavender fg:color_text"
format = "[ 📦 $output ]($style)"
disabled = false
[os] [os]
disabled = false disabled = false
style = "bold bg:color_orange fg:color_fg0" style = "bold bg:color_orange fg:color_fg0"

View File

@@ -239,3 +239,7 @@ use-gpg-agent-for-ssh
command -v direnv >/dev/null 2>&1 && eval "$(direnv hook zsh)" command -v direnv >/dev/null 2>&1 && eval "$(direnv hook zsh)"
command -v zoxide >/dev/null 2>&1 && eval "$(zoxide init --cmd cd zsh)" command -v zoxide >/dev/null 2>&1 && eval "$(zoxide init --cmd cd zsh)"
if [[ -n "$DEVPOD_WORKSPACE_ID" ]]; then
export TERM=xterm-256color
fi