2022-01-15 02:08:34 -05:00
|
|
|
# Keys
|
|
|
|
set $mod Alt
|
|
|
|
set $left h
|
|
|
|
set $down j
|
|
|
|
set $up k
|
|
|
|
set $right l
|
|
|
|
|
|
|
|
# Programs
|
|
|
|
set $term foot
|
|
|
|
|
|
|
|
# Output settings
|
2022-01-15 17:52:41 -05:00
|
|
|
output * bg ~/.local/share/backgrounds/pocketchip.png fill
|
2022-01-15 02:08:34 -05:00
|
|
|
|
|
|
|
# Input settings
|
|
|
|
input "1:1:1c25000.rtp" {
|
|
|
|
map_to_region 0 0 480 272
|
|
|
|
calibration_matrix -1.063517 0 1.032310 0 -1.214286 1.075894
|
|
|
|
}
|
|
|
|
|
|
|
|
# Terminal and launcher controls
|
|
|
|
bindsym $mod+Return exec $term
|
|
|
|
|
|
|
|
# Window controls
|
|
|
|
bindsym $mod+Shift+q kill
|
|
|
|
floating_modifier $mod normal
|
|
|
|
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
|
|
|
|
|
|
|
|
# Sway controls
|
|
|
|
bindsym $mod+Shift+c reload
|
2022-01-15 20:49:48 -05:00
|
|
|
bindsym $mod+Shift+e exec kill $(pidof dummy-pointer) && swaymsg exit
|
2022-01-15 02:08:34 -05:00
|
|
|
|
|
|
|
# Workspace controls
|
|
|
|
bindsym $mod+1 workspace 1
|
|
|
|
bindsym $mod+2 workspace 2
|
|
|
|
bindsym $mod+3 workspace 3
|
|
|
|
bindsym $mod+4 workspace 4
|
|
|
|
bindsym $mod+5 workspace 5
|
|
|
|
bindsym $mod+6 workspace 6
|
|
|
|
bindsym $mod+7 workspace 7
|
|
|
|
bindsym $mod+8 workspace 8
|
|
|
|
bindsym $mod+9 workspace 9
|
|
|
|
bindsym $mod+0 workspace 10
|
|
|
|
bindsym $mod+Shift+1 move container to workspace 1
|
|
|
|
bindsym $mod+Shift+2 move container to workspace 2
|
|
|
|
bindsym $mod+Shift+3 move container to workspace 3
|
|
|
|
bindsym $mod+Shift+4 move container to workspace 4
|
|
|
|
bindsym $mod+Shift+5 move container to workspace 5
|
|
|
|
bindsym $mod+Shift+6 move container to workspace 6
|
|
|
|
bindsym $mod+Shift+7 move container to workspace 7
|
|
|
|
bindsym $mod+Shift+8 move container to workspace 8
|
|
|
|
bindsym $mod+Shift+9 move container to workspace 9
|
|
|
|
bindsym $mod+Shift+0 move container to workspace 10
|
|
|
|
|
|
|
|
# Layout controls
|
|
|
|
bindsym $mod+b splith
|
|
|
|
bindsym $mod+v splitv
|
|
|
|
bindsym $mod+s layout stacking
|
|
|
|
bindsym $mod+w layout tabbed
|
|
|
|
bindsym $mod+e layout toggle split
|
|
|
|
bindsym $mod+f fullscreen
|
|
|
|
bindsym $mod+Shift+space floating toggle
|
|
|
|
bindsym $mod+space focus mode_toggle
|
|
|
|
bindsym $mod+a focus parent
|
|
|
|
|
|
|
|
# Scratchpad
|
|
|
|
bindsym $mod+Shift+minus move scratchpad
|
|
|
|
bindsym $mod+minus scratchpad show
|
|
|
|
|
|
|
|
# Resize controls
|
|
|
|
mode "resize" {
|
|
|
|
bindsym $left resize shrink width 10px
|
|
|
|
bindsym $down resize shrink height 10px
|
|
|
|
bindsym $up resize grow height 10px
|
|
|
|
bindsym $right resize grow width 10px
|
|
|
|
bindsym Return mode "default"
|
|
|
|
bindsym Escape mode "default"
|
|
|
|
}
|
|
|
|
bindsym $mod+r mode "resize"
|
|
|
|
|
|
|
|
# Style
|
|
|
|
font pango:monospace Medium 8
|
|
|
|
client.focused #ff79c6 #000000 #ff79c6 #292d2e #000000
|
|
|
|
client.unfocused #333333 #222222dd #888888 #292d2e #222222
|
|
|
|
|
|
|
|
# Status bar
|
|
|
|
bar {
|
|
|
|
position top
|
|
|
|
status_command i3status
|
|
|
|
colors {
|
|
|
|
statusline #ffffff
|
|
|
|
background #323232e0
|
|
|
|
focused_workspace #ff79c6 #000000 #ff79c6
|
|
|
|
inactive_workspace #323232aa #323232aa #acacac
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
include /etc/sway/config.d/*
|
2022-01-15 20:49:48 -05:00
|
|
|
exec swaymsg exec -- dummy-pointer
|