Update font, fcitx, etc

master
livie 2023-09-27 16:48:04 +03:00
parent d2fb5cc841
commit 860c3e06a6
3 changed files with 43 additions and 7 deletions

View File

@ -2,3 +2,17 @@
Dotfiles I use on my systems, using [dotbot](https://github.com/anishathalye/dotbot) for management.
## Requirements
- `zsh`
- `vim`
- `fcitx5`
- `kitty`
- `powerline`
- `ttf-hack-nerd`
## Optional requirements
- `lsd` (or `eza`)
- `bat`

View File

@ -8,10 +8,10 @@ scrollback_lines 10000
cursor_shape block
font_family "Source Code Pro"
bold_font auto
italic_font auto
bold_italic_font auto
font_family "Hack Nerd Font Mono"
bold_font Hack Nerd Font Mono Bold
italic_font Hack Nerd Font Mono Italic
bold_italic_font Hack Nerd Font Mono Bold Italic
font_size 10
disable_ligatures always

28
zshrc
View File

@ -4,13 +4,35 @@
stty -ixon
alias fuck='sudo $(fc -l -n -1)'
alias ll='ls -lav --color=auto'
alias l='ls -lv --color=auto'
alias ls='ls --color=auto'
if command -v lsd >/dev/null 2>&1; then
alias ll='lsd -lav'
alias l='lsd -lv'
alias ls='lsd'
elif command -v eza >/dev/null 2>&1; then
alias ll='eza -lag'
alias l='eza -lg'
alias ls='eza'
else
alias ll='ls -lav --color=auto'
alias l='ls -lv --color=auto'
alias ls='ls --color=auto'
fi
command -v bat >/dev/null 2>&1 && alias cat='bat'
powerline-daemon -q
. /usr/share/powerline/bindings/zsh/powerline.zsh
# input method
if command -v fcitx5 >/dev/null 2>&1; then
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export SDL_IM_MODULE=fcitx
export GLFW_IM_MODULE=ibus
fi
# The following lines were added by compinstall
zstyle ':completion:*' completer _complete _ignored