aboutsummaryrefslogtreecommitdiff
path: root/kanshi/single.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kanshi/single.sh')
-rwxr-xr-xkanshi/single.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/kanshi/single.sh b/kanshi/single.sh
index f126662..5a335af 100755
--- a/kanshi/single.sh
+++ b/kanshi/single.sh
@@ -1,13 +1,13 @@
#!/bin/sh
-display=eDP-1
+. $(dirname "$(realpath "$0")")/env.sh
swaymsg -q reload
-swaymsg -q output $display pos 0 0 \
- res 1920x1080 \
- bg ~/.pictures/bg1.jpg stretch
+swaymsg -q output $primary pos 0 0 \
+ res $primary_res \
+ bg $bg1 stretch
for workspace in 1:1 2:2 3:3 4:4 5:a 6:s 7:d 8:f; do
- swaymsg -q workspace $workspace output $display
+ swaymsg -q workspace $workspace output $primary
done