From fc417198897a68ed61c4a9b05710d70175280ea6 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 8 Jan 2025 02:14:33 +0900 Subject: modified dwmblocks/config.h, deleted dwmblocks/dwmblocks --- dwmblocks/config.h | 7 ++++++- dwmblocks/dwmblocks | Bin 22248 -> 0 bytes 2 files changed, 6 insertions(+), 1 deletion(-) delete mode 100755 dwmblocks/dwmblocks (limited to 'dwmblocks') diff --git a/dwmblocks/config.h b/dwmblocks/config.h index 3b78543..df2ea00 100644 --- a/dwmblocks/config.h +++ b/dwmblocks/config.h @@ -1,7 +1,7 @@ // Modify this file to change what commands output to your statusbar, and recompile using the make command. static const Block blocks[] = { /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ - {"", "sb-music", 1, 11}, + {"", "sb-music", 0, 11}, /* {"⌨", "sb-kbselect", 0, 30}, */ {"", "cat /tmp/recordingicon 2>/dev/null", 0, 9}, {"", "sb-queues", 10, 26}, @@ -42,3 +42,8 @@ static char *delim = " "; // autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & } +// Although, pkill is slightly slower than the command kill, which can +// make a big difference if we are making semi-frequent changes in a script. +// To signal with kill, we must send the value plus 34. Just remember 34. +// So, 10 + 34 = 44, so we use this command: kill -44 $(pidof dwmblocks) + diff --git a/dwmblocks/dwmblocks b/dwmblocks/dwmblocks deleted file mode 100755 index 039790c..0000000 Binary files a/dwmblocks/dwmblocks and /dev/null differ -- cgit v1.2.3