Update bar

This commit is contained in:
Marco Thomas
2021-03-28 01:18:05 +01:00
parent 3b1896963c
commit e72edfedd3

View File

@@ -1,13 +1,14 @@
//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*/
{" 󰓇 ", "~/scripts/dwm_bar/song.sh || echo 'Not running'", 5, 0}, {" 󰓇 ", "~/scripts/dwm_bar/song.sh || echo 'Not running'", 5, 0},
{"󰤨 ", "~/scripts/dwm_bar/network.sh", 10, 0}, {"󰤨 ", "~/scripts/dwm_bar/network.sh", 10, 0},
{" ", "~/scripts/dwm_bar/battery.sh", 10, 0}, {"󰋑 ", "~/scripts/dwm_bar/battery.sh", 10, 0},
{"󰕾 ", "~/scripts/dwm_bar/volume.sh", 1, 0}, {"󰕾 ", "~/scripts/dwm_bar/volume.sh", 1, 0},
{"󰃭 ", "date '+%b %d, %Y - %R' ", 5, 0}, {"󰃭 ", "date '+%b %d, %Y'", 30, 0},
{"󰥔 ", "date '+%R'", 5, 0},
}; };
//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[] = " | ";
static unsigned int delimLen = 5; static unsigned int delimLen = 9;