mirror of
https://github.com/zoriya/flake.git
synced 2026-05-26 08:10:50 +00:00
Fix natural scrolling
This commit is contained in:
@@ -90,6 +90,9 @@ in {
|
||||
"'*Mouse'" = {
|
||||
natural-scroll = "disabled";
|
||||
};
|
||||
"'*Vertical'" = {
|
||||
natural-scroll = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
# border-color-focused = "0x94e2d5";
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user