diff options
| author | swindlesmccoop <swindlesmccoop@waifu.club> | 2022-10-28 14:53:40 -0400 |
|---|---|---|
| committer | swindlesmccoop <swindlesmccoop@waifu.club> | 2022-10-28 14:53:40 -0400 |
| commit | 7676c9bbc2793b1f42abb1803fd12603e9829430 (patch) | |
| tree | 30a0af3c6a5640c77163a6f4cf03f937808f6407 | |
| parent | d34c2a0413d5b86f9d9acca2cfab182552d61ab1 (diff) | |
Add ifdef to define kill sig between OSes
| -rw-r--r-- | blocks.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,8 +1,16 @@ //Modify this file to change what commands output to your statusbar, and recompile using the make command. +#ifdef __linux__ + #define SIG 10 +#elif __OpenBSD__ + #define SIG 1 +#elif __FreeBSD__ + #define SIG 1 +#endif + static const Block blocks[] = { // Label Command Int SIG {"CPU: ", "sb-cpuusage", 1, 0}, - {"Vol: ", "sb-volume", 1, 0}, + {"Vol: ", "sb-volume", 1, SIG}, {"Mem: ", "sb-memory", 1, 0}, {"Temp: ", "sb-cputemp -f", 1, 0}, //{"IP: ", "sb-network", 1, 0}, |