aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2024-01-21 11:31:36 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2024-01-21 11:32:14 -0500
commit7e7c27b7b098a584ec8987c07d3531d0ae6ae4ca (patch)
tree47b2ff74f0765e06eeae387176e54d7601ad3579
downloadwlcustom-7e7c27b7b098a584ec8987c07d3531d0ae6ae4ca.tar.gz
wlcustom-7e7c27b7b098a584ec8987c07d3531d0ae6ae4ca.tar.xz
Initial
-rw-r--r--Makefile4
-rw-r--r--readme.md18
-rwxr-xr-xwlcustom-session2
-rw-r--r--wlcustom.desktop5
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