aboutsummaryrefslogtreecommitdiff
path: root/kanshi/work.sh
blob: b03bca2d2be613e67c15c2f9d42a49e2a18f7779 (plain) (blame)
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
#!/bin/sh

display1=eDP-1
display2=DP-5
display3=DP-6

swaymsg reload

swaymsg -q output $display1 pos 0 1440 \
                            res 1920x1080 \
                            bg ~/.pictures/bg1.jpg stretch
swaymsg -q output $display2 pos 0 0 \
                            res 2560x1440 \
                            bg ~/.pictures/bg1.jpg stretch
swaymsg -q output $display3 pos 2560 0 \
                            res 2560x1440 \
                            bg ~/.pictures/bg2.jpg stretch

swaymsg -q workspace 1:1 output $display1

for workspace in 2:2 3:3 4:4; do
    swaymsg -q workspace $workspace output $display2
done

for workspace in 5:a 6:s 7:d 8:f; do
    swaymsg -q workspace $workspace output $display3
done