Compare commits

..

2 Commits

Author SHA1 Message Date
110105f902 chore(sway): update output config 2026-10-05 09:54:38 +02:00
95ac7bd9de fix(zsh): completion unloading direnv 2026-10-05 09:54:24 +02:00
3 changed files with 7 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# bottom-aligned and adjacent to eDP-1 at scale 1 # bottom-aligned and adjacent to eDP-1 at scale 1
# NOTE:(@janezicmatej) scripts/output-scale.sh recomputes both positions on scale change # NOTE:(@janezicmatej) scripts/output-scale.sh recomputes both positions on scale change
output DP-7 resolution 2560x1440 position 2560,160 output DP-7 resolution 2560x1440 position 2560 160
output eDP-1 resolution 2560x1600@165Hz position 0,0 scale 1 adaptive_sync on output eDP-1 resolution 2560x1600@165Hz position 0 0 scale 1 adaptive_sync on

View File

@@ -1,2 +1,2 @@
output HDMI-A-1 resolution 2560x1440 position 0,0 output DP-2 resolution 2560x1440@179.952Hz position 0 0
output DP-2 resolution 2560x1440 position 2560,0 output HDMI-A-2 resolution 2560x1440@74.971Hz position 2560 0

View File

@@ -96,6 +96,9 @@ zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
eval "$(ggman shellrc)" eval "$(ggman shellrc)"
eval "$(starship init zsh)" eval "$(starship init zsh)"
eval "$(direnv hook zsh)" eval "$(direnv hook zsh)"
# skip direnv in subshells; completion functions cd inside $(...) and trip chpwd
_direnv_hook_toplevel() { (( ZSH_SUBSHELL )) || _direnv_hook }
chpwd_functions=(${(u)chpwd_functions/#%_direnv_hook/_direnv_hook_toplevel})
# gnupg # gnupg
export GPG_TTY=$(tty) export GPG_TTY=$(tty)