diff options
Diffstat (limited to 'blocks.def.h')
| -rw-r--r-- | blocks.def.h | 12 | 
1 files changed, 8 insertions, 4 deletions
| diff --git a/blocks.def.h b/blocks.def.h index 9c22d68..678f8f9 100644 --- a/blocks.def.h +++ b/blocks.def.h @@ -1,11 +1,15 @@  //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}, +	{" ", "playerctl metadata --format='{{ artist }} - {{ title }}' --player=spotify 2> /dev/null", 3, 1}, +	{"", "xkb-switch", 0, 4}, +	{"", "~/.local/share/i3blocks-modules/volume -np", 0, 2}, +	{"", "~/.local/share/i3blocks-modules/backlight -np", 0, 3}, +	{" ", "~/.local/share/i3blocks-modules/wifi -np -f '{ssid}'", 15, 0}, +	{"  ", "echo $(cat /sys/class/power_supply/BAT0/capacity)%", 30, 0}, +	{" ", "date '+%a, %d.%m.%Y  %H:%M:%S'", 1, 0},  };  //sets delimeter between status commands. NULL character ('\0') means no delimeter. -static char delim[] = " | "; +static char delim[] = "   ";  static unsigned int delimLen = 5; | 
