refactor: kitty replaces st

This commit is contained in:
2026-08-27 23:51:35 +02:00
parent de2e0bbbc2
commit af08ce0334
3 changed files with 39 additions and 7 deletions

View File

@@ -6,8 +6,7 @@ unsetopt beep
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/dqnid/.zshrc'
# The following lines were added by compinstall zstyle :compinstall filename '/home/dqnid/.zshrc'
autoload -Uz compinit
compinit
@@ -21,18 +20,49 @@ export TERMINAL=/usr/local/bin/st
# Aliases
alias r=ranger
alias v=nvim
alias sv="sudo nvim"
alias n="nnn -e"
alias gs="git status --short"
alias gl="git log --graph --oneline --all"
alias nvm_init='[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"'
alias ls=lsd
alias zj=zellij
alias hx=helix
v() {
kitten @ set-spacing margin=4
nvim $@
kitten @ set-spacing margin=20
}
# nnn
export NNN_OPTS="de" # d for details, e for pipe params, H to auto-display hidden files
export LC_COLLATE="C" # hidden files on top
export NNN_FIFO="/tmp/nnn.fifo" # temporary buffer for the previews
export NNN_FCOLORS="AAAAE631BBBBCCCCDDDD9999"
#AAAAE6
#31BBBB
#CCCCDD
#DD9999
export NNN_PLUG='p:preview-tui'
export SPLIT='v'
n () # to cd on quit
{
if [ -n $NNNLVL ] && [ "${NNNLVL:-0}" -ge 1 ]; then
echo "nnn is already running"
return
fi
export NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"
nnn "$@"
if [ -f "$NNN_TMPFILE" ]; then
. "$NNN_TMPFILE"
rm -f "$NNN_TMPFILE" > /dev/null
fi
}
eval "$(starship init zsh)"
eval "$(zoxide init zsh)"
# Yazi with cd on quit
function y() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
command yazi "$@" --cwd-file="$tmp"

View File

@@ -6,7 +6,7 @@ default_floating_border normal
smart_gaps inverse_outer
# for_window [class="^.*"] border pixel 0
gaps inner 0
gaps inner 30
gaps outer 0
popup_during_fullscreen smart
@@ -17,6 +17,8 @@ for_window [title="Calendar02042023"] floating enable
for_window [title="Music "] floating enable
for_window [instance=rofi] sticky enable
for_window [instance=st] floating enable
for_window [instance=kitty] floating enable
for_window [instance=kitty] resize set 800 600
for_window [instance=steam] floating disable
for_window [instance=blueberry] floating enable
for_window [instance=eww] border pixel 0

View File

@@ -4,7 +4,7 @@
# terminal emulator
super + Return
st
kitty
# program launcher
# super + @space
@@ -141,7 +141,7 @@ super + shift + b
# xdotool getactivewindow key ctrl+v
super + e
st -e yazi
st -e nnn
Print
flameshot gui
super + m