summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--custom.desktop6
-rwxr-xr-xxinitrc-session-helper2
3 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3dc29bf
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+
+install:
+ install -m 644 custom.desktop /usr/share/xsessions/custom.desktop
+ install -m 755 xinitrc-session-helper /usr/bin/
diff --git a/custom.desktop b/custom.desktop
new file mode 100644
index 0000000..2718e66
--- /dev/null
+++ b/custom.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=custom
+Comment=Executes the .xinitrc script in your home directory
+Exec=xinitrc-session-helper
+TryExec=xinitrc-session-helper
+Type=Application
diff --git a/xinitrc-session-helper b/xinitrc-session-helper
new file mode 100755
index 0000000..67ca10b
--- /dev/null
+++ b/xinitrc-session-helper
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec $HOME/.xinitrc