diff options
| author | SoominIm <111330163+SoominIm@users.noreply.github.com> | 2024-04-06 20:26:03 -0500 |
|---|---|---|
| committer | SoominIm <111330163+SoominIm@users.noreply.github.com> | 2024-04-06 20:26:03 -0500 |
| commit | 6b71c978fd56367f0fb339d4039896ed2af0cb0b (patch) | |
| tree | 86fb89a7c4f5a999752f5a0c95c4c479bdd55f1a /dwmblocks | |
| parent | 3588cbd9e548351ac37ca8946f93c4603d6b7307 (diff) | |
Updates dwm, st, dmenu, slock, and dwmblocks
Diffstat (limited to 'dwmblocks')
| -rw-r--r--[-rwxr-xr-x] | dwmblocks/FUNDING.yml | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | dwmblocks/LICENSE | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | dwmblocks/Makefile | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | dwmblocks/README.md | 0 | ||||
| -rw-r--r-- | dwmblocks/config.def.h | 34 | ||||
| -rw-r--r-- | dwmblocks/config.def.h.bak | 33 | ||||
| -rw-r--r--[-rwxr-xr-x] | dwmblocks/config.h | 11 | ||||
| -rw-r--r-- | dwmblocks/config.h.bak | 34 | ||||
| -rw-r--r--[-rwxr-xr-x] | dwmblocks/dwmblocks.c | 2 |
9 files changed, 108 insertions, 6 deletions
diff --git a/dwmblocks/FUNDING.yml b/dwmblocks/FUNDING.yml index f8e6076..f8e6076 100755..100644 --- a/dwmblocks/FUNDING.yml +++ b/dwmblocks/FUNDING.yml diff --git a/dwmblocks/LICENSE b/dwmblocks/LICENSE index d159169..d159169 100755..100644 --- a/dwmblocks/LICENSE +++ b/dwmblocks/LICENSE diff --git a/dwmblocks/Makefile b/dwmblocks/Makefile index 5cfbb5a..5cfbb5a 100755..100644 --- a/dwmblocks/Makefile +++ b/dwmblocks/Makefile diff --git a/dwmblocks/README.md b/dwmblocks/README.md index 7d21e30..7d21e30 100755..100644 --- a/dwmblocks/README.md +++ b/dwmblocks/README.md diff --git a/dwmblocks/config.def.h b/dwmblocks/config.def.h new file mode 100644 index 0000000..d664850 --- /dev/null +++ b/dwmblocks/config.def.h @@ -0,0 +1,34 @@ +static const Block blocks[] = { + /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ + {"", "sb-music", 0, 11}, + // {"⌨", "sb-kbselect", 0, 30}, + {"", "cat /tmp/recordingicon 2>/dev/null", 0, 9}, + {"", "sb-tasks", 10, 26}, + {"", "sb-torrent", 20, 7}, + {"", "sb-pacpackages", 0, 8}, + {"", "sb-news", 0, 6}, + {"", "sb-mailbox", 180, 12}, + /* {"", "sb-price xmr-btc \"Monero to Bitcoin\" 🔒 25", 9000, 25}, */ + /* {"", "sb-price xmr Monero 🔒 24", 9000, 24}, */ + /* {"", "sb-price eth Ethereum 🍸 23", 9000, 23}, */ + /* {"", "sb-price btc Bitcoin 💰 21", 9000, 21}, */ + {"", "sb-doppler", 0, 13}, + {"", "sb-forecast", 10800, 5}, + {"", "sb-cpu", 10, 18}, + {"", "sb-memory", 10, 14}, + // {"", "sb-nettraf", 1, 16}, + {"", "sb-volume", 0, 10}, + {"", "sb-battery", 5, 3}, + {"", "sb-inputs", 1, 29}, + /* {"", "sb-moonphase", 18000, 17}, */ + {"", "sb-clock", 60, 1}, + {"", "sb-internet", 5, 4}, + /* {"", "sb-iplocate", 0, 27}, */ + {"", "sb-ecrypt", 0, 19}, + {"", "sb-help-icon", 0, 15}, + +}; + +// Sets delimiter between status commands. NULL character ('\0') means no +// delimiter. +static char *delim = " "; diff --git a/dwmblocks/config.def.h.bak b/dwmblocks/config.def.h.bak new file mode 100644 index 0000000..4b00496 --- /dev/null +++ b/dwmblocks/config.def.h.bak @@ -0,0 +1,33 @@ +static const Block blocks[] = { + /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ + {"", "sb-music", 0, 11}, + // {"⌨", "sb-kbselect", 0, 30}, + {"", "cat /tmp/recordingicon 2>/dev/null", 0, 9}, + {"", "sb-tasks", 10, 26}, + {"", "sb-torrent", 20, 7}, + {"", "sb-pacpackages", 0, 8}, + {"", "sb-news", 0, 6}, + {"", "sb-mailbox", 180, 12}, + /* {"", "sb-price xmr-btc \"Monero to Bitcoin\" 🔒 25", 9000, 25}, */ + /* {"", "sb-price xmr Monero 🔒 24", 9000, 24}, */ + /* {"", "sb-price eth Ethereum 🍸 23", 9000, 23}, */ + /* {"", "sb-price btc Bitcoin 💰 21", 9000, 21}, */ + {"", "sb-doppler", 0, 13}, + {"", "sb-forecast", 10800, 5}, + {"", "sb-cpu", 10, 18}, + {"", "sb-memory", 10, 14}, + // {"", "sb-nettraf", 1, 16}, + {"", "sb-volume", 0, 10}, + {"", "sb-battery", 5, 3}, + {"", "sb-inputs", 1, 29}, + /* {"", "sb-moonphase", 18000, 17}, */ + {"", "sb-clock", 60, 1}, + {"", "sb-internet", 5, 4}, + /* {"", "sb-iplocate", 0, 27}, */ + {"", "sb-help-icon", 0, 15}, + +}; + +// Sets delimiter between status commands. NULL character ('\0') means no +// delimiter. +static char *delim = " "; diff --git a/dwmblocks/config.h b/dwmblocks/config.h index 4b00496..648cdfe 100755..100644 --- a/dwmblocks/config.h +++ b/dwmblocks/config.h @@ -1,6 +1,6 @@ static const Block blocks[] = { /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ - {"", "sb-music", 0, 11}, + {"", "sb-music", 1, 11}, // {"⌨", "sb-kbselect", 0, 30}, {"", "cat /tmp/recordingicon 2>/dev/null", 0, 9}, {"", "sb-tasks", 10, 26}, @@ -14,18 +14,19 @@ static const Block blocks[] = { /* {"", "sb-price btc Bitcoin 💰 21", 9000, 21}, */ {"", "sb-doppler", 0, 13}, {"", "sb-forecast", 10800, 5}, - {"", "sb-cpu", 10, 18}, - {"", "sb-memory", 10, 14}, + {"", "sb-cpu", 60, 18}, + {"", "sb-memory", 60, 14}, + {"", "sb-disk", 10800, 20}, // {"", "sb-nettraf", 1, 16}, {"", "sb-volume", 0, 10}, {"", "sb-battery", 5, 3}, - {"", "sb-inputs", 1, 29}, + {"", "sb-inputs", 0, 29}, /* {"", "sb-moonphase", 18000, 17}, */ {"", "sb-clock", 60, 1}, {"", "sb-internet", 5, 4}, /* {"", "sb-iplocate", 0, 27}, */ + {"", "sb-ecrypt", 0, 19}, {"", "sb-help-icon", 0, 15}, - }; // Sets delimiter between status commands. NULL character ('\0') means no diff --git a/dwmblocks/config.h.bak b/dwmblocks/config.h.bak new file mode 100644 index 0000000..d664850 --- /dev/null +++ b/dwmblocks/config.h.bak @@ -0,0 +1,34 @@ +static const Block blocks[] = { + /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ + {"", "sb-music", 0, 11}, + // {"⌨", "sb-kbselect", 0, 30}, + {"", "cat /tmp/recordingicon 2>/dev/null", 0, 9}, + {"", "sb-tasks", 10, 26}, + {"", "sb-torrent", 20, 7}, + {"", "sb-pacpackages", 0, 8}, + {"", "sb-news", 0, 6}, + {"", "sb-mailbox", 180, 12}, + /* {"", "sb-price xmr-btc \"Monero to Bitcoin\" 🔒 25", 9000, 25}, */ + /* {"", "sb-price xmr Monero 🔒 24", 9000, 24}, */ + /* {"", "sb-price eth Ethereum 🍸 23", 9000, 23}, */ + /* {"", "sb-price btc Bitcoin 💰 21", 9000, 21}, */ + {"", "sb-doppler", 0, 13}, + {"", "sb-forecast", 10800, 5}, + {"", "sb-cpu", 10, 18}, + {"", "sb-memory", 10, 14}, + // {"", "sb-nettraf", 1, 16}, + {"", "sb-volume", 0, 10}, + {"", "sb-battery", 5, 3}, + {"", "sb-inputs", 1, 29}, + /* {"", "sb-moonphase", 18000, 17}, */ + {"", "sb-clock", 60, 1}, + {"", "sb-internet", 5, 4}, + /* {"", "sb-iplocate", 0, 27}, */ + {"", "sb-ecrypt", 0, 19}, + {"", "sb-help-icon", 0, 15}, + +}; + +// Sets delimiter between status commands. NULL character ('\0') means no +// delimiter. +static char *delim = " "; diff --git a/dwmblocks/dwmblocks.c b/dwmblocks/dwmblocks.c index 6983418..ae9b5ce 100755..100644 --- a/dwmblocks/dwmblocks.c +++ b/dwmblocks/dwmblocks.c @@ -9,7 +9,7 @@ #include <sys/signalfd.h> #include <poll.h> #define LENGTH(X) (sizeof(X) / sizeof (X[0])) -#define CMDLENGTH 50 +#define CMDLENGTH 256 typedef struct { char* icon; |
