diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-05-15 12:56:59 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-05-15 12:56:59 +0200 |
commit | b32c75777b2a1cb9db127796e9d713df91109526 (patch) | |
tree | ab6cd74760b9b43157b262ab8884f3aec9056dc2 | |
parent | a133f265d586b4183da3e9ff38f0d1fc8d4bae3f (diff) |
terminal font stuff on laptop + zsh theme
-rw-r--r-- | .config/X11/base##template | 2 | ||||
-rw-r--r-- | .local/share/oh-my-zsh/themes/loek.zsh-theme | 12 | ||||
-rw-r--r-- | .zshrc | 2 |
3 files changed, 14 insertions, 2 deletions
diff --git a/.config/X11/base##template b/.config/X11/base##template index 473ea97..bd59910 100644 --- a/.config/X11/base##template +++ b/.config/X11/base##template @@ -1,5 +1,5 @@ {% if yadm.hostname == "thoncc" %} -*.font: JetBrainsMono Nerd Font:style=Medium,Regular:size=7.5 +*.font: JetBrainsMono Nerd Font:size=7.5:antialias=true:autohint=true *.borderpx: 8 Xcursor.theme: OpenZone_Black_Slim {% else %} diff --git a/.local/share/oh-my-zsh/themes/loek.zsh-theme b/.local/share/oh-my-zsh/themes/loek.zsh-theme new file mode 100644 index 0000000..e8b1438 --- /dev/null +++ b/.local/share/oh-my-zsh/themes/loek.zsh-theme @@ -0,0 +1,12 @@ +USER="" +if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then + USER=" %m" +fi + +PROMPT='%{$fg[yellow]%}λ$USER %{$fg[green]%}%c %{$fg[yellow]%}-> $(git_prompt_info)$(hg_prompt_info)%{$reset_color%}' + +ZSH_THEME_GIT_PROMPT_PREFIX="λ %{$fg[blue]%}git %{$fg[red]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[yellow]%} -> %{$reset_color%}" +ZSH_THEME_HG_PROMPT_PREFIX="λ %{$fg[blue]%}hg %{$fg[red]%}" +ZSH_THEME_HG_PROMPT_SUFFIX="%{$fg[yellow]%} -> %{$reset_color%}" + @@ -1,4 +1,4 @@ -ZSH_THEME="norm" +ZSH_THEME="loek" zstyle ':omz:update' mode reminder plugins=( |