From dd4aa55b28637b64779a97104c6160f032a79b19 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 17 Apr 2026 10:53:59 +0100 Subject: refactor: update shell config for wayland - Remove X11 env vars (SXHKD_SHELL, GDK_DISPLAY, vblank_mode) - Remove X11 XDG cleanup vars (XAUTHORITY, XINITRC, etc.) - Add XDG_CURRENT_DESKTOP=sway, MOZ_ENABLE_WAYLAND=1 - Export XDG_SESSION_TYPE=wayland before launching sway - Auto-start sway on VT1 (replaces sx) - Remove xclip alias and whichkey function from .zshrc --- home/.config/zsh/.zshrc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'home/.config/zsh/.zshrc') diff --git a/home/.config/zsh/.zshrc b/home/.config/zsh/.zshrc index 9f1e09a..4c4cb29 100644 --- a/home/.config/zsh/.zshrc +++ b/home/.config/zsh/.zshrc @@ -224,7 +224,6 @@ alias c='clear' # Tools alias stow='stow -R --no-folding --adopt' alias curl='curlie' -alias xclip="xclip -selection clipboard -f" alias cpr='rsync --archive -hh --partial --info=stats1,progress2 --modify-window=1' alias mvr='rsync --archive -hh --partial --info=stats1,progress2 --modify-window=1 --remove-source-files' alias sub='subliminal download -l en' @@ -255,11 +254,6 @@ za() { # Just alias j='just' -# X11 keyboard inspection -whichkey() { - xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }' -} - # LLVM / Clang tooling alias ncmake='cmake -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_FLAGS="$DEV_CFLAGS" -DCMAKE_CXX_FLAGS="$DEV_CFLAGS" -DCMAKE_INSTALL_PREFIX=build/install -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -B build' alias ircc='clang -S -emit-llvm -fno-discard-value-names -O0 -Xclang -disable-O0-optnone -o -' -- cgit v1.2.3-70-g09d2