simplification for emojis
This commit is contained in:
parent
4f6b1e11f2
commit
a6c82c2148
1 changed files with 11 additions and 6 deletions
17
blocks.h
17
blocks.h
|
@ -1,12 +1,17 @@
|
||||||
//Modify this file to change what commands output to your statusbar, and recompile using the make command.
|
//Modify this file to change what commands output to your statusbar, and recompile using the make command.
|
||||||
static const Block blocks[] = {
|
static const Block blocks[] = {
|
||||||
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
|
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
|
||||||
{"", "cat /tmp/recordingicon", 0, 9},
|
/* {"", "cat /tmp/recordingicon", 0, 9}, */
|
||||||
{"📬 ", "find ~/.local/share/mail/*/INBOX/new -type f | wc -l", 0, 13},
|
/* {"", "mpc status | grep -v ^volume | head -n 1", 0, 11}, */
|
||||||
{"🔊 ", "amixer get Master | grep -o \"\\(\\[off\\]\\|[0-9]*%\\)\"", 0, 10},
|
{"mail:", "find ~/.local/share/mail/*/INBOX/new -type f | wc -l", 0, 12},
|
||||||
{"🔋 ", "sed \"s/$/%/\" /sys/class/power_supply/BAT?/capacity", 5, 12},
|
{"vol:", "amixer get Master | tail -n1 | sed -r 's/.*\\[(.*)%\\].*/\\1/'", 0, 10},
|
||||||
{"🕗 ", "date '+%Y %b %d (%a) %I:%M%p'", 60, 0},
|
{"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.
|
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
|
||||||
static char delim = ' ';
|
static char delim = '|';
|
||||||
|
|
Loading…
Reference in a new issue