summaryrefslogtreecommitdiff
path: root/config
blob: 0edca1fc3a84e4a6990be135577f0cc063b4b710 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"Steam Deck" {
	mode wm {
		button {
			dpup key up
			dpdown key down
			dpleft key left
			dpright key right

			a key enter
			b key esc

			y exec rofi -show drun -run-command "swaymsg exec {cmd}"

			paddle1 exec swaymsg move workspace 1
			paddle2 exec swaymsg move workspace 2

			paddle3 exec swaymsg workspace next
			paddle4 exec swaymsg workspace prev

			rightshoulder key shift left
			rightshoulder key shift right

			guide mode wm
		}
	}

	button {
		guide mode wm
	}
}