Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //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*/
- {"", "cat ~/.pacupdate | sed /📦0/d", 0, 9},
- {"🧠", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
- /*{"", "~/.local/bin/statusbar/volume", 0, 10},*/
- {"☀", "xbacklight | sed 's/\\..*//'", 0, 11},
- /*{"", "~/.local/bin/statusbar/battery", 5, 0},*/
- {"🌡", "sensors | awk '/^temp1:/{print $2}'", 5, 0},
- /*{"", "~/.local/bin/statusbar/clock", 60, 0},*/
- /*{"", "cat /tmp/recordingicon 2>/dev/null", 0, 9},*/
- /*{"", "~/.local/bin/statusbar/music", 0, 11},*/
- /*{"", "~/.local/bin/statusbar/pacpackages", 0, 8},*/
- /*{"", "~/.local/bin/statusbar/memory", 10, 14},*/
- /*{"", "~/.local/bin/statusbar/cpu", 10, 18},*/
- /*{"", "~/.local/bin/statusbar/weather", 18000, 5},*/
- {"", "~/.local/bin/statusbar/volume", 0, 10},
- {"", "~/.local/bin/statusbar/battery", 5, 3},
- {"", "~/.local/bin/statusbar/clock", 60, 1},
- /*{"", "~/.local/bin/statusbar/internet", 5, 4},*/
- };
- //sets delimeter between status commands. NULL character ('\0') means no delimeter.
- static char delim = '|';
Add Comment
Please, Sign In to add comment