diff options
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | readme.md | 18 | ||||
| -rwxr-xr-x | wlcustom-session | 2 | ||||
| -rw-r--r-- | wlcustom.desktop | 5 |
4 files changed, 29 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a365d15 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ + +install: + install -D -m 644 wlcustom.desktop /usr/share/wayland-sessions/wlcustom.desktop + install -m 755 /usr/bin/wlcustom-session diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..59c9135 --- /dev/null +++ b/readme.md @@ -0,0 +1,18 @@ +# wlcustom wayland session + +Minimal wrapper for a customized wayland session. + +It simply executes `~/.waylandrc` in your home directory. + +This is useful if you run a custom window manager such as +[`dwl`](https://codeberg.org/dwl/dwl) or +[`river`](https://github.com/riverwm/river). + +## Installation + +``` +sudo make install +``` + +From there you should be able to select the session from your regular login +manager. diff --git a/wlcustom-session b/wlcustom-session new file mode 100755 index 0000000..9b519b9 --- /dev/null +++ b/wlcustom-session @@ -0,0 +1,2 @@ +#!/bin/sh +exec $HOME/.waylandrc diff --git a/wlcustom.desktop b/wlcustom.desktop new file mode 100644 index 0000000..a90bfd0 --- /dev/null +++ b/wlcustom.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Name=wlcustom +Comment=executes .waylandrc +Exec=/usr/local/bin/wlcustom-session +Type=Application |
