summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2020-10-29 20:23:05 -0400
committerMitch Riedstra <mitch@riedstra.us>2020-10-29 20:23:05 -0400
commit39f718f65344f7ab86ab97aa95a32ed7f81bb6f9 (patch)
tree50296d04065536cf4be4b3fdf56dd5a309626113
downloadsession-39f718f65344f7ab86ab97aa95a32ed7f81bb6f9.tar.gz
session-39f718f65344f7ab86ab97aa95a32ed7f81bb6f9.tar.xz
Initial
-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