summaryrefslogtreecommitdiffstats
path: root/xinitrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xinitrc.c')
-rw-r--r--xinitrc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/xinitrc.c b/xinitrc.c
new file mode 100644
index 0000000..b7baa26
--- /dev/null
+++ b/xinitrc.c
@@ -0,0 +1,11 @@
+// loop for use in .xinitrc
+// compile with gcc -o xinitrc xinitrc.c
+#include <unistd.h>
+
+int main(int argc, char** argv)
+{
+ while (1) {
+ sleep(60);
+ }
+ return 0;
+}