From 9dd5082688f18e0f887de9ff31d1fb28ba5aa14c Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Sat, 1 Jun 2024 21:49:19 +0200 Subject: . --- kanshi/single.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kanshi/single.sh') 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 -- cgit v1.2.3-70-g09d2