my dwmblocks setup
This commit is contained in:
11
blocks.def.h
11
blocks.def.h
@@ -1,9 +1,12 @@
|
||||
//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*/
|
||||
{"Mem:", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
|
||||
|
||||
{"", "date '+%b %d (%a) %I:%M%p'", 5, 0},
|
||||
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
|
||||
{ " 🌐 ", "/opt/dwmblocks_scripts/dwm_ipaddr", 30, 0 },
|
||||
{ " 🐧 ", "/opt/dwmblocks_scripts/dwm_kernel", 360, 2 },
|
||||
{ " 💻 ", "/opt/dwmblocks_scripts/dwm_memory", 30, 0 },
|
||||
{ "", "/opt/dwmblocks_scripts/dwm_volume withicon", 1, 10 },
|
||||
{ "", "/opt/dwmblocks_scripts/dwm_battery withicon", 1, 10 },
|
||||
{ "", "date '+%b %d (%a) %I:%M:%S %p'", 1, 0 },
|
||||
};
|
||||
|
||||
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
|
||||
|
Reference in New Issue
Block a user