From 3a4ed65e66a20b9e15e93f4f73cf8496b493c633 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Thu, 8 Aug 2024 21:07:31 -0400 Subject: Massive step towards wayland migration --- .local/bin/makewall | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to '.local/bin/makewall') diff --git a/.local/bin/makewall b/.local/bin/makewall index 9edd3c2..991fa11 100755 --- a/.local/bin/makewall +++ b/.local/bin/makewall @@ -1,12 +1,11 @@ #!/bin/sh -# NOTE: (for wayland migration) -# wlr-randr --json | jq -r '.[] | select(.enabled) | .name' - wallDir="$XDG_CONFIG_HOME/wallpapers" +# Reset any existing wallpapers +killall swaybg + # Acquire the list of connected displays -# displays=$(xrandr | grep " connected" | sed 's/^\([a-Z,0-9,-]*\).*/\1/') displays="$(wlr-randr --json | jq -r '.[] | select(.enabled) | .name')" echo "$displays" -- cgit v1.2.3