From 7b7aa809822baf859662f2c933bbb9bc6b786f04 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Mon, 23 Nov 2020 22:25:50 +0100 Subject: [PATCH] fixup! added icon for mouse mode, fixes #295 --- .tmux.conf | 12 ++++++------ .tmux.conf.local | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index dee2ca7..bddc13a 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -91,7 +91,7 @@ bind -r C-l next-window # select next window bind Tab last-window # move to last active window # toggle mouse -bind m run "cut -c3- ~/.tmux.conf | sh -s _toggle_mouse" +bind m run "cut -c3- ~/.tmux.conf | sh -s _toggle_mouse tmux_conf_theme_mouse" # -- urlview ------------------------------------------------------------------- @@ -980,10 +980,10 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim # tmux_conf_theme_prefix_bg=${tmux_conf_theme_prefix_bg:-none} # tmux_conf_theme_prefix_attr=${tmux_conf_theme_prefix_attr:-none} # -# tmux_conf_theme_mouse=${tmux_conf_theme_mouse:-'🖱️'} # U+1F5B1 -# tmux_conf_theme_mouse_fg=${tmux_conf_theme_mouse_fg:-'none'} -# tmux_conf_theme_mouse_bg=${tmux_conf_theme_mouse_bg:-'none'} -# tmux_conf_theme_mouse_attr=${tmux_conf_theme_mouse_attr:-'none'} +# tmux_conf_theme_mouse=${tmux_conf_theme_mouse-'↗'} # U+2197 +# tmux_conf_theme_mouse_fg=${tmux_conf_theme_mouse_fg:-none} +# tmux_conf_theme_mouse_bg=${tmux_conf_theme_mouse_bg:-none} +# tmux_conf_theme_mouse_attr=${tmux_conf_theme_mouse_attr:-none} # # tmux_conf_theme_root=${tmux_conf_theme_root:-!} # tmux_conf_theme_root_fg=${tmux_conf_theme_root_fg:-none} @@ -1094,7 +1094,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim # status_right=$(echo "$tmux_conf_theme_status_right" | sed \ # -e "s/#{pairing}/#[fg=$tmux_conf_theme_pairing_fg]#[bg=$tmux_conf_theme_pairing_bg]#[$tmux_conf_theme_pairing_attr]#{?session_many_attached,$tmux_conf_theme_pairing ,}/g" \ # -e "s/#{prefix}/#[fg=$tmux_conf_theme_prefix_fg]#[bg=$tmux_conf_theme_prefix_bg]#[$tmux_conf_theme_prefix_attr]#{?client_prefix,$tmux_conf_theme_prefix ,$(printf "$tmux_conf_theme_prefix" | sed -e 's/./ /g') }/g" \ -# -e "s/#{mouse}/#[fg=$tmux_conf_theme_mouse_fg]#[bg=$tmux_conf_theme_mouse_bg]#[$tmux_conf_theme_mouse_attr]#{?client_mouse,$tmux_conf_theme_mouse ,$(printf "$tmux_conf_theme_mouse" | sed -e 's/./ /g') }/g" \ +# -e "s/#{mouse}/#[fg=$tmux_conf_theme_mouse_fg]#[bg=$tmux_conf_theme_mouse_bg]#[$tmux_conf_theme_mouse_attr]#{?mouse,$tmux_conf_theme_mouse ,$(printf "$tmux_conf_theme_mouse" | sed -e 's/./ /g') }/g" \ # -e "s%#{synchronized}%#[fg=$tmux_conf_theme_synchronized_fg]#[bg=$tmux_conf_theme_synchronized_bg]#[$tmux_conf_theme_synchronized_attr]#{?pane_synchronized,$tmux_conf_theme_synchronized ,}%g" \ # -e 's%#{circled_session_name}%#(cut -c3- ~/.tmux.conf | sh -s _circled #S)%g') # diff --git a/.tmux.conf.local b/.tmux.conf.local index 1a0d67d..dab4aa7 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -244,10 +244,10 @@ tmux_conf_theme_prefix_bg="none" tmux_conf_theme_prefix_attr="none" # mouse indicator -tmux_conf_theme_mouse='🖱️' # U+1F5B1 -tmux_conf_theme_mouse_fg='none' -tmux_conf_theme_mouse_bg='none' -tmux_conf_theme_mouse_attr='none' +tmux_conf_theme_mouse="↗" # U+2197 +tmux_conf_theme_mouse_fg="none" +tmux_conf_theme_mouse_bg="none" +tmux_conf_theme_mouse_attr="none" # root indicator tmux_conf_theme_root="!"