From dc1dadc4617ab3e2015e26f617d8a0be30032ad4 Mon Sep 17 00:00:00 2001 From: ewy1 Date: Tue, 14 Jan 2025 11:40:24 +0100 Subject: add system specific mako config --- .config/mako/config | 1 - .config/sway/hosts/study/outputs | 6 +++++- .config/zsh/themes/ewout.zsh-theme | 10 +++++++--- .zshrc | 4 ++-- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.config/mako/config b/.config/mako/config index fe2fb6b..1672857 100644 --- a/.config/mako/config +++ b/.config/mako/config @@ -6,7 +6,6 @@ text-alignment=right icon-location=left anchor=bottom-left margin=5,5 -output=HDMI-A-1 [mode=do-not-disturb] invisible=1 diff --git a/.config/sway/hosts/study/outputs b/.config/sway/hosts/study/outputs index 3d3e7f2..88c8a1e 100644 --- a/.config/sway/hosts/study/outputs +++ b/.config/sway/hosts/study/outputs @@ -1,3 +1,7 @@ +output eDP-1 { + scale 1.25 +} + output eDP-2 { - scale 1.5 + scale 1.25 } diff --git a/.config/zsh/themes/ewout.zsh-theme b/.config/zsh/themes/ewout.zsh-theme index 01f8fbe..e44e887 100644 --- a/.config/zsh/themes/ewout.zsh-theme +++ b/.config/zsh/themes/ewout.zsh-theme @@ -1,6 +1,10 @@ autoload colors && colors setopt prompt_subst +local reset="%{$reset_color%}" +local red="%{${fg[red]}%}" +local green="%{${fg[green]}%}" + __git() { command -v git > /dev/null || return [[ $(git rev-parse --is-inside-work-tree 2> /dev/null) == true ]] && echo "󰘬 $(git branch --show-current)" @@ -18,12 +22,12 @@ __exitStatus() { __exitFace() { code=$1 - [ $1 = 0 ] && echo "$fg[green]:3$reset_color" - [ $1 != 0 ] && echo "$fg[red]D:$reset_color" + [ $1 = 0 ] && echo "${green}:3$reset" + [ $1 != 0 ] && echo "${red}D:$reset" } __prompt() { - echo "%# " + echo '%# ' } __generate_prompt() { diff --git a/.zshrc b/.zshrc index 91a9b17..773d7d5 100644 --- a/.zshrc +++ b/.zshrc @@ -3,8 +3,8 @@ alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"' ZSH_CUSTOM="$HOME/.config/zsh" # Disabled, tab completion garbles the output :'( -#ZSH_THEME="ewout" -ZSH_THEME="funky" +ZSH_THEME="ewout" +#ZSH_THEME="funky" zstyle ':omz:update' mode auto plugins=( archlinux -- cgit v1.3