From e3d3ab6bf6b07b8623ff9b5184e32f8ecb31ff3c Mon Sep 17 00:00:00 2001 From: caandt Date: Tue, 26 Nov 2024 02:14:51 -0600 Subject: [PATCH] nit --- user/config/sx/sxrc | 2 +- user/config/tmux/tmux.conf | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/user/config/sx/sxrc b/user/config/sx/sxrc index 0d3119a..38fd43b 100755 --- a/user/config/sx/sxrc +++ b/user/config/sx/sxrc @@ -44,4 +44,4 @@ copyq & xrdb -merge ~/.config/Xresources -exec "${1:-awesome}" +exec ${@:-awesome} diff --git a/user/config/tmux/tmux.conf b/user/config/tmux/tmux.conf index 1143c6b..fc4e8df 100644 --- a/user/config/tmux/tmux.conf +++ b/user/config/tmux/tmux.conf @@ -92,16 +92,15 @@ bind -T copy-mode-vi y send -X copy-selection unbind -T copy-mode-vi MouseDragEnd1Pane # use arrow keys when scrolling on certain commands -tmux_commands_with_legacy_scroll="nano less more man git" bind -T root WheelUpPane \ if-shell -Ft= '#{?mouse_any_flag,1,#{pane_in_mode}}' \ 'send -Mt=' \ - 'if-shell -t= "#{?alternate_on,true,false} || echo \"#{tmux_commands_with_legacy_scroll}\" | grep -q \"#{pane_current_command}\"" \ + 'if-shell -t= "#{?alternate_on,true,false} || echo \"nano less more man git journalctl\" | grep -q \"#{pane_current_command}\"" \ "send -t= Up Up Up" "copy-mode -et="' bind -T root WheelDownPane \ if-shell -Ft = '#{?pane_in_mode,1,#{mouse_any_flag}}' \ 'send -Mt=' \ - 'if-shell -t= "#{?alternate_on,true,false} || echo \"#{tmux_commands_with_legacy_scroll}\" | grep -q \"#{pane_current_command}\"" \ + 'if-shell -t= "#{?alternate_on,true,false} || echo \"nano less more man git journalctl\" | grep -q \"#{pane_current_command}\"" \ "send -t= Down Down Down" "send -Mt="' ### plugins