From 51afe9045cdebf9e4aa2b51cf99e7f36c9b6718c Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 1 Oct 2022 22:20:47 -0500 Subject: startxw add setup for dwl --- startxw | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/startxw b/startxw index 0df25d7..1782c1d 100755 --- a/startxw +++ b/startxw @@ -1,9 +1,13 @@ #!/sbin/sh - wayland=`crcparse "wayland"` - -if [ "$wayland" == "y" ]; then - `crcparse WC` +if [ `crcparse wayland` = "y" ]; then + case `crcparse WC` in + `which dwl`) + exec `which dwl` > ~/.cache/dwltags + ;; + "*") + exec `crcparse WC` ;; + esac else startx fi -- cgit v1.2.3