From f6139f11a0a98289e8dd1768d136e1ee98f6ab59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Mon, 20 Jul 2020 22:51:13 +0200 Subject: [PATCH] alacritty cyan color, commands.sh: bar font and height, change emacs theme and indentation --- .config/alacritty/alacritty.yml | 2 +- .config/bspwm/commands.sh | 21 +++++++++++++-------- .config/polybar/config | 4 ++-- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index c148fbd..24341dd 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -37,7 +37,7 @@ schemas: yellow: '#d6a708' blue: '#1155e8' magenta: '#a708d6' - cyan: '#77adc4' + cyan: '#2081a0' white: '#f2f6e1' bright: black: '#888888' diff --git a/.config/bspwm/commands.sh b/.config/bspwm/commands.sh index 72c2954..e06d670 100644 --- a/.config/bspwm/commands.sh +++ b/.config/bspwm/commands.sh @@ -22,6 +22,9 @@ else fi FONT=Iosevka:pixelsize=30 +BAR_FONT='Iosevka:pixelsize=23:antialias=true:autohint=true;5' +BAR_HEIGHT=40 + if [ "$SCHEME" = light ]; then ROOT_BG=#c1e6c2 BAR_BG=#e1e6d2 @@ -41,7 +44,7 @@ else BAR_EMPTY=#808080 NORMAL_BORDER=#808080 FOCUS_BORDER=#3585ce - EMACS_THEME=lupan-dark-blue + EMACS_THEME=lupan-dark fi switch_colors() { @@ -51,14 +54,16 @@ polybar.foreground: ${BAR_FG} polybar.active: ${BAR_ACTIVE} polybar.urgent: ${BAR_URGENT} polybar.empty: ${BAR_EMPTY} +polybar.font: ${BAR_FONT} +polybar.height: ${BAR_HEIGHT} EOF - polybar-msg cmd restart - xsetroot -solid "${ROOT_BG}" - bspc config normal_border_color "${NORMAL_BORDER}" - bspc config focused_border_color "${FOCUS_BORDER}" - bspc config presel_feedback_color "${FOCUS_BORDER}" - python ~/.config/alacritty/switch_bg.py "$SCHEME" - emacsclient --eval "(my-select-theme '${EMACS_THEME})" + polybar-msg cmd restart + xsetroot -solid "${ROOT_BG}" + bspc config normal_border_color "${NORMAL_BORDER}" + bspc config focused_border_color "${FOCUS_BORDER}" + bspc config presel_feedback_color "${FOCUS_BORDER}" + python ~/.config/alacritty/switch_bg.py "$SCHEME" + emacsclient --eval "(my-select-theme '${EMACS_THEME})" } case "$CMD" in diff --git a/.config/polybar/config b/.config/polybar/config index 423e610..c9c7b3b 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -11,8 +11,8 @@ modules-left = bspwm xwindow modules-right = date wm-restack = bspwm enable-ipc = true -font-0 = Iosevka:pixelsize=23:antialias=true:autohint=true;5 -height = 40 +font-0 = ${xrdb:polybar.font:Iosevka:pixelsize=23:antialias=true:autohint=true;5} +height = ${xrdb:polybar.height:40} background = ${colors.background} foreground = ${colors.foreground} padding-left = 2