From 8b4c1dbb4286d243027418eaab6c2060e77d5b14 Mon Sep 17 00:00:00 2001 From: the_4n0nym0u53 Date: Fri, 24 Dec 2021 00:47:53 +0100 Subject: [PATCH] Adjust colors and titlebars in Sway, and fix .zshrc .zsh file loading. --- sway/.config/sway/config.d/appearance | 15 +++++++++------ zsh/.config/zsh/.zshrc | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/sway/.config/sway/config.d/appearance b/sway/.config/sway/config.d/appearance index c002ece..8c1d7b7 100644 --- a/sway/.config/sway/config.d/appearance +++ b/sway/.config/sway/config.d/appearance @@ -8,22 +8,25 @@ default_border pixel 2 hide_edge_borders smart +# Titlebars +title_align center + # Gaps gaps inner 8 gaps outer 4 # Font -font pango:Ubuntu Condensed 10 +font pango:Fira Sans Condensed SemiBold 10 ### COLORS ### # border, bground and text only apply to window titlebars # class border bground text indicator child_border -client.focused #268bd2 #000000 #eee8d5 #839496 #268bd2 -client.focused_inactive #073642 #000000 #eee8d5 #002b36 #073642 -client.unfocused #073642 #000000 #eee8d5 #002b36 #073642 -client.urgent #dc322f #000000 #eee8d5 #cb4b16 #dc322f -client.placeholder #073642 #000000 #eee8d5 #002b36 #073642 +client.focused #268bd2 #268bd2 #eee8d5 #839496 #268bd2 +client.focused_inactive #002b36 #002b36 #eee8d5 #002b36 #002b36 +client.unfocused #002b36 #002b36 #eee8d5 #002b36 #002b36 +client.urgent #dc322f #dc322f #eee8d5 #cb4b16 #dc322f +client.placeholder #002b36 #002b36 #eee8d5 #002b36 #002b36 client.background #fdf6e3 diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index ecaba2a..21e18a4 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -8,7 +8,7 @@ ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern regexp root line) # Load the .zsh files for file in $ZDOTDIR/.*.zsh; do - [[ -L $file ]] && source $file + [[ $file == $ZDOTDIR/.p10k.zsh ]] || source $file done # Initialize PZ