From b32c75777b2a1cb9db127796e9d713df91109526 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 15 May 2023 12:56:59 +0200 Subject: terminal font stuff on laptop + zsh theme --- .config/X11/base##template | 2 +- .local/share/oh-my-zsh/themes/loek.zsh-theme | 12 ++++++++++++ .zshrc | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .local/share/oh-my-zsh/themes/loek.zsh-theme 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%}" + diff --git a/.zshrc b/.zshrc index ccd9fc3..a9550ff 100644 --- a/.zshrc +++ b/.zshrc @@ -1,4 +1,4 @@ -ZSH_THEME="norm" +ZSH_THEME="loek" zstyle ':omz:update' mode reminder plugins=( -- cgit v1.2.3