1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-23 03:11:49 +08:00

Compare commits

..

No commits in common. "851557200a675d60c03aee17570fa6f2a936d80a" and "4a6f6a0ad0f76c5aaa513f8069fb99485c214dd0" have entirely different histories.

3 changed files with 14 additions and 11 deletions

View File

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

View File

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