-
Notifications
You must be signed in to change notification settings - Fork 0
/
sway-config
45 lines (38 loc) · 882 Bytes
/
sway-config
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
include ~/.config/sway/meta-config
# Logo key
set $mod Mod4
set $mon0 DP-1
set $mon1 DP-2
set $mon2 HDMI-A-1
set $wallpaper1 ~/Pictures/lines.png
set $wallpaper2 ~/Pictures/GhostVertical.png
set $wallpaper3 ~/Pictures/golang.png
# Outputs
output $mon0 {
resolution [email protected]
position 1440,2000
background $wallpaper1 fill
}
workspace 1 output $mon0
# swaymsg -t get_tree | grep "app_id"
assign [app_id="firefox"] 1
workspace 4 output $mon0
# swaymsg -t get_tree | grep "class"
assign [class="Steam"] 4
output $mon1 {
resolution [email protected]
position 0,0
background $wallpaper2 fill
transform 270
}
workspace 2 output $mon1
assign [app_id="Alacritty"] 2
assign [app_id="term"] 2
output $mon2 {
transform 180
resolution [email protected]
position 1440,920
background $wallpaper3 fill
}
workspace 3 output $mon2
assign [class="Spotify"] 3