alacritty cyan color, commands.sh: bar font and height, change emacs theme and indentation

This commit is contained in:
Łukasz Pankowski 2020-07-20 22:51:13 +02:00
parent f3d07932e4
commit f6139f11a0
3 changed files with 16 additions and 11 deletions

View File

@ -37,7 +37,7 @@ schemas:
yellow: '#d6a708' yellow: '#d6a708'
blue: '#1155e8' blue: '#1155e8'
magenta: '#a708d6' magenta: '#a708d6'
cyan: '#77adc4' cyan: '#2081a0'
white: '#f2f6e1' white: '#f2f6e1'
bright: bright:
black: '#888888' black: '#888888'

View File

@ -22,6 +22,9 @@ else
fi fi
FONT=Iosevka:pixelsize=30 FONT=Iosevka:pixelsize=30
BAR_FONT='Iosevka:pixelsize=23:antialias=true:autohint=true;5'
BAR_HEIGHT=40
if [ "$SCHEME" = light ]; then if [ "$SCHEME" = light ]; then
ROOT_BG=#c1e6c2 ROOT_BG=#c1e6c2
BAR_BG=#e1e6d2 BAR_BG=#e1e6d2
@ -41,7 +44,7 @@ else
BAR_EMPTY=#808080 BAR_EMPTY=#808080
NORMAL_BORDER=#808080 NORMAL_BORDER=#808080
FOCUS_BORDER=#3585ce FOCUS_BORDER=#3585ce
EMACS_THEME=lupan-dark-blue EMACS_THEME=lupan-dark
fi fi
switch_colors() { switch_colors() {
@ -51,6 +54,8 @@ polybar.foreground: ${BAR_FG}
polybar.active: ${BAR_ACTIVE} polybar.active: ${BAR_ACTIVE}
polybar.urgent: ${BAR_URGENT} polybar.urgent: ${BAR_URGENT}
polybar.empty: ${BAR_EMPTY} polybar.empty: ${BAR_EMPTY}
polybar.font: ${BAR_FONT}
polybar.height: ${BAR_HEIGHT}
EOF EOF
polybar-msg cmd restart polybar-msg cmd restart
xsetroot -solid "${ROOT_BG}" xsetroot -solid "${ROOT_BG}"

View File

@ -11,8 +11,8 @@ modules-left = bspwm xwindow
modules-right = date modules-right = date
wm-restack = bspwm wm-restack = bspwm
enable-ipc = true enable-ipc = true
font-0 = Iosevka:pixelsize=23:antialias=true:autohint=true;5 font-0 = ${xrdb:polybar.font:Iosevka:pixelsize=23:antialias=true:autohint=true;5}
height = 40 height = ${xrdb:polybar.height:40}
background = ${colors.background} background = ${colors.background}
foreground = ${colors.foreground} foreground = ${colors.foreground}
padding-left = 2 padding-left = 2