dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 9577839a2ec9f238b3faedc04d31564ffdfeeeb8
parent db3af68f53d81b4835e315590f19fdf7033fe6f7
Author: pyratebeard <root@pyratebeard.net>
Date:   Tue,  8 Mar 2022 21:25:13 +0000

muted state plugin. interactive todo command-prompt

Diffstat:
Mtmux/.tmux.conf | 12++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf @@ -95,7 +95,7 @@ set -g message-command-style fg=colour0,bg=colour1 set-option -g display-time 4000 # window mode -setw -g mode-style fg=colour0,bg=colour6 +setw -g mode-style fg=colour7,bg=colour5 # resizing setw -g aggressive-resize on @@ -111,7 +111,7 @@ setw -g window-status-separator " " setw -g window-status-format "#[bg=colour241,fg=colour0] #I #[bg=colour241,fg=colour0]#W #[bg=default,fg=colour241]▓░" setw -g window-status-current-format "#[bg=colour14,fg=colour0] #I #[bg=colour14,fg=colour0]#W #[bg=default,fg=colour14]▓░" set -g status-justify left -set-option -g status-right '#[bg=default,fg=colour237]░▓#[bg=colour237,fg=colour15]#{goldenapple}#{bond_device}#{online_status}#[bg=colour237,fg=colour243] %Y%m#[bg=colour237,fg=colour3]%d#[fg=default]-#[fg=colour10]%u #[fg=colour7]%H%M #[bg=colour243,fg=colour237]▓#[default]' +set-option -g status-right '#[bg=default,fg=colour237]░▓#[bg=colour237,fg=colour15]#{goldenapple}#{muted_state}#{bond_device}#{online_status}#[bg=colour237,fg=colour243] %Y%m#[bg=colour237,fg=colour3]%d#[fg=default]-#[fg=colour10]%u #[fg=colour7]%H%M #[bg=colour243,fg=colour237]▓#[default]' set-option -g status-left '' # online and offline icon for tmux-online-status @@ -122,6 +122,10 @@ set -g @offline_icon "#[bg=colour237,fg=colour1]░▓█#[bg=colour1,fg=white]o set -g @ethernet "#[bg=colour237,fg=colour7] hardwire #[default]" set -g @wifi "#[bg=colour237,fg=colour7] airborne #[default]" +# device names for tmux-muted +set -g @muted "#[bg=colour237,fg=colour2]░▓█#[bg=colour2,fg=black]muted#[bg=colour237,fg=colour2]█▓░#[default]" +set -g @unmuted "#[bg=colour237,fg=colour1]░▓█#[bg=colour1,fg=white]unmuted#[bg=colour237,fg=colour1]█▓░#[default]" + # work minutes for pomodoro set -g @work 30 @@ -151,11 +155,15 @@ bind Z previous-layout unbind t bind t display-popup -w 75 -h 13 ~/bin/todo +unbind T +bind T command-prompt -I "run-shell 'todo " + # plugins # `mkdir -p ~/.tmux/plugins/ ; git clone 'https://github.com/tmux-plugins/tpm' ~/.tmux/plugins/tpm` set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-online-status' set -g @plugin 'https://gitlab.com/pyratebeard/tmux-bond-device.git' +set -g @plugin 'tmux-plugins/tmux-muted' # see: toggle on/off all keybindings · Issue #237 · tmux/tmux - https://github.com/tmux/tmux/issues/237 # Also, change some visual styles when window keys are off