Files
dwmblocks/blocks.h
2021-03-28 01:21:27 +01:00

15 lines
698 B
C
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//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*/
{" 󰓇 ", "~/scripts/dwm_bar/song.sh || echo 'Not running'", 5, 0},
{"󰤨 ", "~/scripts/dwm_bar/network.sh", 10, 0},
{"󰋑 ", "~/scripts/dwm_bar/battery.sh", 10, 0},
{"󰕾 ", "~/scripts/dwm_bar/volume.sh", 1, 0},
{"󰃭 ", "date '+%b %d, %Y'", 30, 0},
{"󰥔 ", "date '+%R'", 5, 0},
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
static char delim[] = " | ";
static unsigned int delimLen = 9;