Fix natural scrolling

This commit is contained in:
2025-02-03 09:42:58 +01:00
parent b7ae711216
commit 67f7d10a44
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -90,6 +90,9 @@ in {
"'*Mouse'" = {
natural-scroll = "disabled";
};
"'*Vertical'" = {
natural-scroll = "disabled";
};
};
# border-color-focused = "0x94e2d5";
+1 -1
View File
@@ -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