diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 8f6d068..ceea3fd 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -1112,7 +1112,7 @@ symbol_map U+23FB-U+23FE,U+2B58,U+E200-U+E2A9,U+E0A0-U+E0A3,U+E0B0-U+E0BF,U+E0C0 #: For more details, see launch. -# map kitty_mod+n new_os_window + map kitty_mod+n new_os_window_with_cwd #: Works like new_window above, except that it opens a top level OS #: kitty window. In particular you can use new_os_window_with_cwd to diff --git a/.config/sway/config##hostname.T14s b/.config/sway/config##hostname.T14s index 00b8322..1f14999 100644 --- a/.config/sway/config##hostname.T14s +++ b/.config/sway/config##hostname.T14s @@ -70,6 +70,11 @@ input 1:1:AT_Translated_Set_2_keyboard { xkb_options "ctrl:swapcaps" } +input type:pointer { + accel_profile flat + pointer_accel 0 +} + ###END### # Start a terminal diff --git a/.zshrc b/.zshrc index 0a9f583..cbb5e3e 100644 --- a/.zshrc +++ b/.zshrc @@ -22,11 +22,13 @@ source "$HOME/.zinit/bin/zinit.zsh" zinit ice compile'(pure|async).zsh' pick'async.zsh' src'pure.zsh' zinit light sindresorhus/pure zinit light zsh-users/zsh-autosuggestions +zinit light zsh-users/zsh-history-substring-search + zinit ice lucid wait zinit light zdharma/fast-syntax-highlighting -zinit light zsh-users/zsh-history-substring-search zinit ice lucid wait zinit light agkozak/zsh-z + autoload -Uz _zinit (( ${+_comps} )) && _comps[zinit]=_zinit @@ -134,9 +136,9 @@ alias free='free -h' alias g='git' alias grep='grep --color=auto' alias ip='ip -color=auto' -alias la='ls -a --color=auto' -alias ll='ls -lh --color=auto' -alias ls='ls --color=auto' +alias la='exa -a' +alias ll='exa -l' +alias ls='exa' alias nya='doas' alias pd='pandoc --pdf-engine=xelatex -V "mainfont:Source Han Sans CN"' alias pls='echo "doas "$(fc -ln -1) && doas $(fc -ln -1)' @@ -144,6 +146,7 @@ alias se='doas emerge' alias sp='doas pacman' alias ssh='TERM="xterm-256color" ssh' alias sv='doasedit.sh' +alias p='python' alias v='nvim' alias vw='nvim -c VimwikiIndex' alias yt-dl='yt-dlp --sub-lang en,zh-Hant --audio-format best'