satisfactory positioning for wayland switchover
This commit is contained in:
@@ -8,6 +8,7 @@ set -sg repeat-time 0
|
||||
set-option -g default-shell /bin/zsh
|
||||
|
||||
set-option -ga update-environment HYPRLAND_INSTANCE_SIGNATURE
|
||||
set-option -ga update-environment WAYLAND_DISPLAY # wl-clipboard through waypipe on reattach
|
||||
|
||||
# quick reload
|
||||
bind-key r source-file ~/.config/tmux/tmux.conf\; display "TMUX CONFIG RELOADED"
|
||||
@@ -100,6 +101,6 @@ bind-key -n C-M-r send-keys M-r
|
||||
|
||||
#####################################################################
|
||||
|
||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip'
|
||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'if [ -n "$WAYLAND_DISPLAY" ]; then wl-copy; else xclip -selection clipboard; fi'
|
||||
|
||||
#####################################################################
|
||||
|
||||
Reference in New Issue
Block a user