1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-22 02:41:50 +08:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Ryan
851557200a Update font 2023-12-15 12:39:58 +08:00
Ryan
cba85e6295 Optimize zsh 2023-12-13 14:04:24 +08:00
3 changed files with 11 additions and 14 deletions

View File

@ -23,9 +23,7 @@ if test "$choice" = lock ; then
bright=`light`
swayidle -w \
timeout 5 "light -S 1" resume "light -S $bright" \
timeout $sleep_time 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' \
&
timeout 5 "light -S 1" resume "light -S $bright" &
idlepid=$!
# swaylock -e -c 282828 --inside-color 00000003

View File

@ -1,10 +1,10 @@
#set font and stuff
font_family IBM Plex Mono
bold_font IBM Plex Mono SemiBold
italic_font IBM Plex Mono Italic
bold_italic_font IBM Plex Mono SemiBold Italic
font_family Iosevka Term SS15
bold_font Iosevka Term SS15 Bold
italic_font Iosevka Term SS15 Italic
bold_italic_font Iosevka Term SS15 Bold Italic
font_size 13.5
font_size 14
symbol_map U+23FB-U+23FE,U+2B58,U+E200-U+E2A9,U+E0A0-U+E0A3,U+E0B0-U+E0BF,U+E0C0-U+E0C8,U+E0CC-U+E0CF,U+E0D0-U+E0D2,U+E0D4,U+E700-U+E7C5,U+F000-U+F2E0,U+2665,U+26A1,U+F400-U+F4A8,U+F67C,U+E000-U+E00A,U+F300-U+F313,U+E5FA-U+E62B Symbols Nerd Font Mono

11
.zshrc
View File

@ -30,9 +30,11 @@ zinit wait lucid for \
zinit ice wait lucid atinit"bindkey '' autosuggest-execute" atload'_zsh_autosuggest_start'
zinit light zsh-users/zsh-autosuggestions
zinit light zsh-users/zsh-history-substring-search
zinit light hlissner/zsh-autopair
zinit ice wait lucid
zinit load hlissner/zsh-autopair
zinit light zsh-users/zsh-completions
zinit light zsh-users/zsh-history-substring-search
# Software
zinit ice as"command" from"gh-r" mv"bat* -> bat" pick"bat/bat"
@ -41,7 +43,7 @@ zinit light sharkdp/bat
zinit from"gh-r" as"program" mv"direnv* -> direnv" \
atclone'./direnv hook zsh > zhook.zsh' atpull'%atclone' \
pick"direnv" src="zhook.zsh" for \
direnv/direnv
direnv/direnv
autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit
@ -122,9 +124,6 @@ export MANWIDTH=${MANWIDTH:-78}
export MANROFFOPT="-c"
export BAT_THEME="ansi"
# bat pager
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'
#local path
export PATH="${PATH}:${HOME}/.local/bin:${HOME}/.scripts:${HOME}/cargo/bin:${HOME}/.cache/go/bin:${HOME}/.local/share/nvim/mason/bin"
export MANPATH="${MANPATH}:${HOME}/.local/share/man"