Add more helpful remoting settings
This commit is contained in:
parent
8ed6faa212
commit
ffc35aead7
1
setup
1
setup
|
@ -24,6 +24,7 @@ links=(
|
||||||
"$dfp/de/sxhkd/sxhkdrc" "$XDG_CONFIG_HOME/sxhkd/sxhkdrc"
|
"$dfp/de/sxhkd/sxhkdrc" "$XDG_CONFIG_HOME/sxhkd/sxhkdrc"
|
||||||
"$dfp/de/x/resources" "$HOME/.Xresources"
|
"$dfp/de/x/resources" "$HOME/.Xresources"
|
||||||
"$dfp/de/x/initrc" "$HOME/.xinitrc"
|
"$dfp/de/x/initrc" "$HOME/.xinitrc"
|
||||||
|
"$dfp/de/x/initrc" "$HOME/.vnc/xstartup"
|
||||||
"$dfp/de/x/profile" "$HOME/.xprofile"
|
"$dfp/de/x/profile" "$HOME/.xprofile"
|
||||||
"$dfp/de/x/modmap" "$HOME/.xmodmap"
|
"$dfp/de/x/modmap" "$HOME/.xmodmap"
|
||||||
"$dfp/de/compton/compton.conf" "$XDG_CONFIG_HOME/compton.conf"
|
"$dfp/de/compton/compton.conf" "$XDG_CONFIG_HOME/compton.conf"
|
||||||
|
|
|
@ -33,12 +33,9 @@ bind-key l switch-client -n
|
||||||
bind-key T set-option -g mouse off
|
bind-key T set-option -g mouse off
|
||||||
bind-key G set-option -g mouse on
|
bind-key G set-option -g mouse on
|
||||||
|
|
||||||
# TODO: check if in WSL
|
|
||||||
bind -n C-y run "tmux save-buffer - | /mnt/c/Windows/System32/clip.exe" \; display-message "Clipboard copied"
|
|
||||||
|
|
||||||
# message colors
|
# message colors
|
||||||
set -g message-bg colour0
|
# set -g message-bg colour0
|
||||||
set -g message-fg colour7
|
# set -g message-fg colour7
|
||||||
|
|
||||||
# status bar configuration
|
# status bar configuration
|
||||||
set-option -g status-position bottom
|
set-option -g status-position bottom
|
||||||
|
@ -49,8 +46,8 @@ set-option -g status-position bottom
|
||||||
set -g status-bg colour0
|
set -g status-bg colour0
|
||||||
set -g status-fg colour8
|
set -g status-fg colour8
|
||||||
|
|
||||||
setw -g window-status-current-fg colour7
|
# setw -g window-status-current-fg colour7
|
||||||
setw -g window-status-current-bg colour2
|
# setw -g window-status-current-bg colour2
|
||||||
# setw -g window-status-current-attr bold
|
# setw -g window-status-current-attr bold
|
||||||
setw -g window-status-current-format ''
|
setw -g window-status-current-format ''
|
||||||
|
|
||||||
|
@ -70,9 +67,9 @@ set -g pane-base-index 1
|
||||||
# custom predefined layouts
|
# custom predefined layouts
|
||||||
bind M-l source-file ~/.tmux/layouts/dev.tmux
|
bind M-l source-file ~/.tmux/layouts/dev.tmux
|
||||||
|
|
||||||
set -g pane-border-fg colour18
|
# set -g pane-border-fg colour18
|
||||||
set -g pane-active-border-fg blue
|
# set -g pane-active-border-fg blue
|
||||||
set -g pane-active-border-bg default
|
# set -g pane-active-border-bg default
|
||||||
|
|
||||||
bind-key s run "tmux new-window 'bash -ci tmuxswitcher'"
|
bind-key s run "tmux new-window 'bash -ci tmuxswitcher'"
|
||||||
|
|
||||||
|
@ -124,5 +121,18 @@ set -g @resurrect-restore 'R'
|
||||||
# initialize tmux plugin manager
|
# initialize tmux plugin manager
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
||||||
|
bind -T root F12 \
|
||||||
|
set prefix None \;\
|
||||||
|
set key-table off \;\
|
||||||
|
set status off \
|
||||||
|
if -F '#{pane_in_mode}' 'send-keys -X cancel' \;\
|
||||||
|
refresh-client -S \;\
|
||||||
|
|
||||||
|
bind -T off F12 \
|
||||||
|
set -u prefix \;\
|
||||||
|
set -u key-table \;\
|
||||||
|
set status on \;\
|
||||||
|
refresh-client -S
|
||||||
|
|
||||||
unbind-key C-p
|
unbind-key C-p
|
||||||
|
|
||||||
|
|
Reference in a new issue