Add font configuration

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-05-30 18:43:16 +02:00
parent 636c25e519
commit 3aab1c0e4e
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
5 changed files with 54 additions and 4 deletions

View file

@ -1,5 +1,5 @@
! SCRIPT NAME:
! .Xresources
! .xresources
!
! AUTHOR:
! Severin Kaderli <severin@kaderli.dev>
@ -24,4 +24,32 @@ rofi.location: 2
rofi.yoffset: 35
rofi.fixed-num-lines: false
Sxiv.background: #000000
Sxiv.background: #000000
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Terminal colors
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*.color0: #252525
*.color8: #252525
*.color1: #ff5252
*.color9: #ff5252
*.color2: #c3d82c
*.color10: #c3d82c
*.color3: #ffd740
*.color11: #ffd740
*.color4: #40c4ff
*.color12: #40c4ff
*.color5: #ff4081
*.color13: #ff4081
*.color6: #70c0ba
*.color14: #70c0ba
*.color7: #eaeaea
*.color15: #eaeaea

View file

@ -13,7 +13,7 @@
# ./launch
# Terminate already running bar instances
killall -q polybar
pkill polybar
# Wait until the processes have been shut down
while pgrep -x polybar >/dev/null; do sleep 1; done

View file

@ -16,7 +16,6 @@
setopt prompt_subst
unsetopt correct
# Zsh keybindings
bindkey "\e[H" beginning-of-line
bindkey "\e[F" end-of-line
@ -40,6 +39,15 @@ zstyle ':completion:*' menu select
# Persistent rehash
zstyle ':completion:*' rehash true
# Use colors from xresources for linux console
if [ "$TERM" = "linux" ]; then
_SEDCMD='s/.*\*color\([0-9]\{1,\}\).*#\([0-9a-fA-F]\{6\}\).*/\1 \2/p'
for i in $(sed -n "$_SEDCMD" "${XDG_CONFIG_HOME}/X11/xresources" | awk '$1 < 16 {printf "\\e]P%X%s", $1, $2}'); do
echo -en "$i"
done
clear
fi
# Sourcing environment variables
if [ -f "${HOME}/.config/custom/env" ]; then
. "${HOME}/.config/custom/env"

2
system/etc/vconsole.conf Normal file
View file

@ -0,0 +1,2 @@
FONT=ter-132n
KEYMAP=de_CH-latin1