1
0
Fork 0

sway, tmux: some hotkeys, defaults

This commit is contained in:
Von Random 2025-01-25 13:54:10 +02:00
parent 0da791dec2
commit 24d8d097c1
2 changed files with 8 additions and 22 deletions
dot_config/sway
dot_tmux.conf

View file

@ -16,6 +16,8 @@ set $wallpaper /home/von/.wallpaper
default_border pixel default_border pixel
default_floating_border pixel default_floating_border pixel
hide_edge_borders --i3 smart
workspace_layout tabbed
seat seat0 xcursor_theme Vanilla-DMZ-AA seat seat0 xcursor_theme Vanilla-DMZ-AA
@ -35,7 +37,7 @@ output Virtual-1 resolution 1920x1080 scale 2
# keys: # keys:
# Start a terminal # Start a terminal
bindsym --to-code $mod+x exec $term bindsym --to-code $mod+t exec $term
# Kill focused window # Kill focused window
bindsym --to-code $mod+Shift+c kill bindsym --to-code $mod+Shift+c kill
@ -187,7 +189,6 @@ bar {
position top position top
status_command "i3status-rs" status_command "i3status-rs"
# status_command "/home/von/git/vdstatus/vdstatus"
colors { colors {
separator #6d0080 separator #6d0080

View file

@ -1,5 +1,5 @@
unbind C-b unbind C-b
bind C-t send-prefix bind C-g send-prefix
bind v split-window -h bind v split-window -h
bind s split-window -v bind s split-window -v
bind h select-pane -L bind h select-pane -L
@ -9,12 +9,15 @@ bind l select-pane -R
bind t command-prompt -p "attach pane to:" "join-pane -t '%%'" bind t command-prompt -p "attach pane to:" "join-pane -t '%%'"
bind y command-prompt break-pane bind y command-prompt break-pane
bind N new-session bind N new-session
set -g prefix C-t bind m setw mouse
set -g terminal-overrides ",*:Tc"
set -g prefix C-g
set -g mode-keys "vi" set -g mode-keys "vi"
set -g escape-time "0" set -g escape-time "0"
set -g history-limit "10000" set -g history-limit "10000"
set -g base-index "1" set -g base-index "1"
setw -g pane-base-index "1" setw -g pane-base-index "1"
setw -g mouse on
# newer options, not universally compatible # newer options, not universally compatible
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY" set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
@ -23,21 +26,3 @@ bind -T resize -r h resize-pane -L 5
bind -T resize -r j resize-pane -D 5 bind -T resize -r j resize-pane -D 5
bind -T resize -r k resize-pane -U 5 bind -T resize -r k resize-pane -U 5
bind -T resize -r l resize-pane -R 5 bind -T resize -r l resize-pane -R 5
# styling, new incompatible format
set -g set-titles on
set -g set-titles-string "[#h:#S] #W"
set -g automatic-rename off
set -g pane-border-status off
set -g pane-border-lines "heavy"
set -g pane-border-style "default"
set -g pane-active-border-style "fg=brightred"
set -g message-style "bg=blue,fg=white"
set -g message-command-style "bg=red,fg=white"
set -g status on
set -g status-style "fg=black,bg=white"
set -g status-interval 2
set -g status-position "bottom"
set -g status-justify "left"
set -g status-left-length "100"
set -g status-right-length "100"