diff options
author | zachir <zachir@librem.one> | 2022-10-01 22:20:47 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2022-10-01 22:20:47 -0500 |
commit | 51afe9045cdebf9e4aa2b51cf99e7f36c9b6718c (patch) | |
tree | 34bb2faff226d26493766a07f335c4e12f8d5590 | |
parent | 0be480452f36b362d0fcbf424e2e62787b423b8d (diff) |
startxw add setup for dwl
-rwxr-xr-x | startxw | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 |