summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-05-10 15:23:17 +0200
committerFlorian Pritz <f-p@gmx.at>2009-05-10 15:23:17 +0200
commit41cf58d03579a0d687e9e7889899285338082cbd (patch)
tree9bc570e6eec878d39cd837fb55191bbab1368fda
parent8f94b4f608721b2b4306b0f4d6383e2e24facb69 (diff)
downloadbin-41cf58d03579a0d687e9e7889899285338082cbd.tar.gz
bin-41cf58d03579a0d687e9e7889899285338082cbd.tar.xz
xinitrc.c loop for .xinitrc
-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;
+}