Start sway on startup, fix command-list launching apps

This commit is contained in:
Karol Krzosa
2026-06-17 22:33:39 +02:00
parent bd9506a9be
commit a67e7b0aa1
4 changed files with 13 additions and 9 deletions

View File

@@ -4,6 +4,10 @@
set -g extended-keys on
set -g extended-keys-format csi-u
# Index from 1
set -g base-index 1
setw -g pane-base-index 1
# Use 256-colour tmux terminfo and advertise truecolour support to apps.
set -g default-terminal "tmux-256color"
set -as terminal-features ",*:RGB"
@@ -20,12 +24,6 @@ bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Optional no-prefix pane navigation with Alt+hjkl
bind-key -n M-h select-pane -L
bind-key -n M-j select-pane -D
bind-key -n M-k select-pane -U
bind-key -n M-l select-pane -R
# Mouse support: scroll with the wheel, resize/select panes, and make mouse
# selections pane-aware instead of selecting across the whole terminal window.
set-option -g mouse on