]> git.sur5r.net Git - i3/i3status/commitdiff
Merge pull request #17 from chrko/format_down
authorMichael Stapelberg <stapelberg@users.noreply.github.com>
Thu, 2 Apr 2015 20:42:47 +0000 (13:42 -0700)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Thu, 2 Apr 2015 20:42:47 +0000 (13:42 -0700)
Adding format_down option to path_exists and run_watch

man/i3status.man
src/print_cpu_usage.c

index 6309c2a9a7413d72128659e3de402f81d527ebee..57541965a650c67225e7f8747549c10e32ac7eb8 100644 (file)
@@ -437,6 +437,7 @@ query +/dev/mixer+ directly if +mixer_dix+ is -1, otherwise
 *Example order*: +volume master+
 
 *Example format*: +♪: %volume+
+
 *Example format_muted*: +♪: 0%%+
 
 *Example configuration*:
index 2c59f69277ffc0452f62f2498cda0c7c093efa22..927e763891eb78408d295d933db69ba07421603e 100644 (file)
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/sysctl.h>
+#if defined(__OpenBSD__)
+#include <sys/sched.h>
+#else
 #include <sys/dkstat.h>
 #endif
+#endif
 
 #if defined(__DragonFly__)
 #include <sys/param.h>