aboutsummaryrefslogtreecommitdiff
path: root/kanshi
diff options
context:
space:
mode:
Diffstat (limited to 'kanshi')
-rwxr-xr-xkanshi/single.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/kanshi/single.sh b/kanshi/single.sh
index 015c22d..016b133 100755
--- a/kanshi/single.sh
+++ b/kanshi/single.sh
@@ -2,7 +2,7 @@
. $(dirname "$(realpath "$0")")/env.sh
-killall swaybg
+killall swaybg >/dev/null
swaybg -o $primary -i $bg1 &
if [ "$XDG_CURRENT_DESKTOP" = "sway" ]; then
@@ -11,7 +11,7 @@ if [ "$XDG_CURRENT_DESKTOP" = "sway" ]; then
done
elif [ "$XDG_CURRENT_DESKTOP" = "niri" ]; then
- for workspace in 1 2 3 4 a s d f; do
+ for workspace in 1:1 2:2 3:3 4:4 5:a 6:s 7:d 8:f; do
niri msg action move-workspace-to-monitor --reference $workspace $primary
done
fi