Eric Bower
·
2026-04-19
config
1# Read `man 5 sway` for a complete reference.
2set $mod Mod4
3set $left h
4set $down j
5set $up k
6set $right l
7
8set $bg0 #282828
9set $bg1 #3c3836
10set $bg3 #665c54
11set $fg0 #fbf1c7
12set $fg2 #d5c4a1
13set $fg4 #a89984
14set $bred #fb4934
15set $bgreen #b8bb26
16set $bblue #83a598
17
18# Color scheme border bg text indicator child_border
19client.focused $bblue $bg0 $fg0 $bred $bblue
20client.focused_inactive $bg3 $bg1 $fg2 $bg3 $bg3
21client.unfocused $bg3 $bg0 $fg4 $bg3 $bg3
22client.urgent $bred $bred $fg0 $bred $bred
23client.placeholder $bg3 $bg0 $fg4 $bg3 $bg3
24client.background $bg0
25
26default_border pixel 2
27
28floating_modifier $mod normal
29bindsym $mod+Return exec foot
30bindsym $mod+q kill
31bindsym $mod+d exec qs -c noctalia-shell ipc call launcher toggle
32bindsym $mod+Comma exec qs -c noctalia-shell ipc call settings toggle
33bindsym $mod+c exec wl-copy
34bindsym $mod+v exec wl-paste
35bindsym $mod+z splith
36bindsym $mod+x splitv
37bindsym $mod+w layout tabbed
38bindsym $mod+e layout toggle split
39bindsym $mod+f fullscreen
40bindsym $mod+space focus mode_toggle
41bindsym $mod+Shift+s exec grim -g "$(slurp)" -t png ~/screenshot_$(date +%s).png
42bindsym $mod+Shift+c reload
43bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
44bindsym $mod+Shift+space floating toggle
45bindsym $mod+Shift+minus move scratchpad
46bindsym $mod+minus scratchpad show
47bindsym XF86AudioRaiseVolume exec qs -c noctalia-shell ipc call volume increase
48bindsym XF86AudioLowerVolume exec qs -c noctalia-shell ipc call volume decrease
49bindsym XF86AudioMute exec qs -c noctalia-shell ipc call volume muteOutput
50bindsym XF86MonBrightnessUp exec qs -c noctalia-shell ipc call brightness increase
51bindsym XF86MonBrightnessDown exec qs -c noctalia-shell ipc call brightness decrease
52# Move your focus around
53bindsym $mod+$left focus left
54bindsym $mod+$down focus down
55bindsym $mod+$up focus up
56bindsym $mod+$right focus right
57# Move the focused window with the same, but add Shift
58bindsym $mod+Shift+$left move left
59bindsym $mod+Shift+$down move down
60bindsym $mod+Shift+$up move up
61bindsym $mod+Shift+$right move right
62# Switch to workspace
63bindsym $mod+1 workspace number 1
64bindsym $mod+2 workspace number 2
65bindsym $mod+3 workspace number 3
66bindsym $mod+4 workspace number 4
67bindsym $mod+5 workspace number 5
68bindsym $mod+6 workspace number 6
69bindsym $mod+7 workspace number 7
70bindsym $mod+8 workspace number 8
71bindsym $mod+9 workspace number 9
72bindsym $mod+0 workspace number 10
73# Move focused container to workspace
74bindsym $mod+Shift+1 move container to workspace number 1
75bindsym $mod+Shift+2 move container to workspace number 2
76bindsym $mod+Shift+3 move container to workspace number 3
77bindsym $mod+Shift+4 move container to workspace number 4
78bindsym $mod+Shift+5 move container to workspace number 5
79bindsym $mod+Shift+6 move container to workspace number 6
80bindsym $mod+Shift+7 move container to workspace number 7
81bindsym $mod+Shift+8 move container to workspace number 8
82bindsym $mod+Shift+9 move container to workspace number 9
83bindsym $mod+Shift+0 move container to workspace number 10
84
85set $home DP-3
86output $home mode 2560x1440@144Hz
87output $home scale 1
88
89set $laptop eDP-1
90output $laptop mode 2256x1504@59.999Hz
91output $laptop scale 1.5
92
93set $cahoots DP-2
94# Samsung Electric Company U32J59x HCJTB01080
95output $cahoots scale 1.5
96
97bindswitch lid:on output $laptop disable
98bindswitch --reload lid:off output $laptop enable; exec qs -c noctalia-shell
99exec qs -c noctalia-shell
100
101input "type:touchpad" {
102 tap enabled
103 natural_scroll disabled
104 dwt disabled
105 accel_profile "flat" # disable mouse acceleration
106 pointer_accel 0.0 # set mouse sensitivity (between -1 and 1)
107}
108input "type:keyboard" {
109 repeat_delay 300
110 repeat_rate 30
111}
112input "20547:23623:Ploopy_Corporation_Ploopy_Adept_Trackball_Mouse" {
113 accel_profile "flat"
114 pointer_accel -0.5 # between -1 and 1
115}