summaryrefslogtreecommitdiff
path: root/configs/xfce4/overlay/etc/rc.d/xfce4
diff options
context:
space:
mode:
Diffstat (limited to 'configs/xfce4/overlay/etc/rc.d/xfce4')
-rwxr-xr-xconfigs/xfce4/overlay/etc/rc.d/xfce413
1 files changed, 13 insertions, 0 deletions
diff --git a/configs/xfce4/overlay/etc/rc.d/xfce4 b/configs/xfce4/overlay/etc/rc.d/xfce4
new file mode 100755
index 0000000..f479cd4
--- /dev/null
+++ b/configs/xfce4/overlay/etc/rc.d/xfce4
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+case "$1" in
+ start)
+ stat_busy "Starting XFCE4"
+ su -l arch -c "/bin/bash -login startx -- -depth 16"
+ ;;
+ *)
+ echo "use start"
+esac