summaryrefslogtreecommitdiff
path: root/status_reset.c
diff options
context:
space:
mode:
authorAli H. Fardan <raiz@firemail.cc>2016-09-05 01:13:48 +0300
committerAli H. Fardan <raiz@firemail.cc>2016-09-05 01:13:48 +0300
commit9fa858daeafb5398cdf19af9483b2854fe6e9772 (patch)
tree02265b08f8ec7c218e564d59f4cebe7ce181e7cc /status_reset.c
parent1654efe1d67d0bec010792e8c6eb64a0f8e88a58 (diff)
downloadslstatus-9fa858daeafb5398cdf19af9483b2854fe6e9772.tar.gz
added a tool for resetting the status bar && worked around some issues && removed the makefile (we need a better one)
Diffstat (limited to 'status_reset.c')
-rw-r--r--status_reset.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/status_reset.c b/status_reset.c
new file mode 100644
index 0000000..eebaac6
--- /dev/null
+++ b/status_reset.c
@@ -0,0 +1,10 @@
+#include <X11/Xlib.h>
+
+int
+main(void)
+{
+ Display *dpy = XOpenDisplay(NULL);
+ XStoreName(dpy, DefaultRootWindow(dpy), NULL);
+ XCloseDisplay(dpy);
+ return (0);
+}