aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-02-01 12:43:28 -0500
committerLuke Smith <luke@lukesmith.xyz>2020-02-01 12:43:28 -0500
commita6c82c2148384296df1be6069f885c63e77ef111 (patch)
tree81ec2b8faaaf6566eaf734640eda631234ba7a8c
parent4f6b1e11f248ed1a5d524b63d7a55c7c7ccb8d32 (diff)
downloaddwmblocks-a6c82c2148384296df1be6069f885c63e77ef111.tar.gz
dwmblocks-a6c82c2148384296df1be6069f885c63e77ef111.tar.bz2
dwmblocks-a6c82c2148384296df1be6069f885c63e77ef111.zip
simplification for emojis
-rw-r--r--blocks.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/blocks.h b/blocks.h
index a0c04f7..49eeee7 100644
--- a/blocks.h
+++ b/blocks.h
@@ -1,12 +1,17 @@
//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*/
- {"", "cat /tmp/recordingicon", 0, 9},
- {"📬 ", "find ~/.local/share/mail/*/INBOX/new -type f | wc -l", 0, 13},
- {"🔊 ", "amixer get Master | grep -o \"\\(\\[off\\]\\|[0-9]*%\\)\"", 0, 10},
- {"🔋 ", "sed \"s/$/%/\" /sys/class/power_supply/BAT?/capacity", 5, 12},
- {"🕗 ", "date '+%Y %b %d (%a) %I:%M%p'", 60, 0},
+ /* {"", "cat /tmp/recordingicon", 0, 9}, */
+ /* {"", "mpc status | grep -v ^volume | head -n 1", 0, 11}, */
+ {"mail:", "find ~/.local/share/mail/*/INBOX/new -type f | wc -l", 0, 12},
+ {"vol:", "amixer get Master | tail -n1 | sed -r 's/.*\\[(.*)%\\].*/\\1/'", 0, 10},
+ {"bat:", "sed \"s/$/%/\" /sys/class/power_supply/BAT?/capacity", 5, 0},
+ {"", "date '+%b %d (%a) %I:%M%p'", 60, 0},
+ /* weather: 5 */
+ /* news: 6 */
+ /* torrent: 7 */
+ /* packages: 8 */
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
-static char delim = ' ';
+static char delim = '|';