From 67f7d10a44f682ea8c59b58724c0cea60963843a Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Mon, 3 Feb 2025 09:42:58 +0100 Subject: [PATCH] Fix natural scrolling --- environments/river/home.nix | 3 +++ modules/cli/zsh/default.nix | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/environments/river/home.nix b/environments/river/home.nix index ba52516..33d9f56 100644 --- a/environments/river/home.nix +++ b/environments/river/home.nix @@ -90,6 +90,9 @@ in { "'*Mouse'" = { natural-scroll = "disabled"; }; + "'*Vertical'" = { + natural-scroll = "disabled"; + }; }; # border-color-focused = "0x94e2d5"; diff --git a/modules/cli/zsh/default.nix b/modules/cli/zsh/default.nix index 6904b8c..0f3c98e 100644 --- a/modules/cli/zsh/default.nix +++ b/modules/cli/zsh/default.nix @@ -102,7 +102,7 @@ exec tmux -u new-session -s "#$(hexdump -n 4 -v -e '/1 "%02X"' /dev/urandom)" elif [[ $SHLVL -eq 1 ]]; then session=$(tmux display-message -p "#S") - # kill current sesion if we are quiting the only pane + # kill current session if we are quitting the only pane function __onExit { if [[ $(tmux list-panes -s -t $session | wc -l) == 1 ]]; then tmux kill-session -t $session