diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc index fa2527d9..68060a97 100644 --- a/config/sxhkd/sxhkdrc +++ b/config/sxhkd/sxhkdrc @@ -21,7 +21,7 @@ super + {_,shift +}{1-9,0} bspc {desktop -f,node -d} {1-9,10} super + Return - urxvt -e bash -c "tmux new || tmux attach" + xst -e bash -c "tmux new || tmux attach" super + grave scratch diff --git a/config/tmux/config b/config/tmux/config index 88585544..1e018531 100644 --- a/config/tmux/config +++ b/config/tmux/config @@ -100,15 +100,16 @@ bind ^r refresh-client bind Enter copy-mode # enter copy mode bind b list-buffers # list paster buffers +bind B choose-buffer # choose which buffer to paste from bind p paste-buffer # paste from the top paste buffer -bind P choose-buffer # choose which buffer to paste from +bind P run "xclip -selection clipboard -o | tmux load-buffer - ; tmux paste-buffer" -bind -T copy-mode-vi v send -X begin-selection -bind -T copy-mode-vi C-v send -X rectangle-toggle -bind -T copy-mode-vi Escape send -X cancel -bind -T copy-mode-vi C-g send -X cancel -bind -T copy-mode-vi H send -X start-of-line -bind -T copy-mode-vi L send -X end-of-line +bind -T copy-mode-vi v send-keys -X begin-selection +bind -T copy-mode-vi C-v send-keys -X rectangle-toggle +bind -T copy-mode-vi Escape send-keys -X cancel +bind -T copy-mode-vi C-g send-keys -X cancel +bind -T copy-mode-vi H send-keys -X start-of-line +bind -T copy-mode-vi L send-keys -X end-of-line ######################################## diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 469ed424..3f53afac 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -10,8 +10,8 @@ ## Terminal # ./apps/alacritty.nix - # ./apps/st.nix - ./apps/urxvt.nix + ./apps/st.nix + # ./apps/urxvt.nix ]; services.xserver = {