2025-07-23 10:00:02 -04:00

71 lines
1.9 KiB
Plaintext

set $mod Mod4
set $left h
set $down j
set $up k
set $right l
set $term alacritty
set $menu sirula
# AUTOSTART
exec mako
exec /home/merlin/.cargo/bin/ironbar
exec sleep 10 & syncthing
# MONITORS
output DP-2 pos 0 0 res 2560x1440@144HZ
output HDMI-A-2 pos 2560 360 res 1920x1080@75HZ
# LOOK AND FEEL
default_border pixel 1
client.focused #ffffff #ffffff #ffffff
gaps inner 5
gaps outer 5
input "type:keyboard" {
xkb_layout ca
}
focus_follows_mouse yes
# BINDINGS
bindsym $mod+Return exec $term
bindsym $mod+Shift+q kill
bindsym $mod+d exec $menu
bindsym $mod+f fullscreen
bindsym $mod+Print exec slurp | grim -g - - | wl-copy
bindsym $mod+Shift+Print exec slurp | grim -g - ~/screenshot.png
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+3 move container to workspace number 3
bindsym $mod+Shift+4 move container to workspace number 4
bindsym $mod+Shift+5 move container to workspace number 5
bindsym $mod+Shift+6 move container to workspace number 6
bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10
include /etc/sway/config.d/*