diff options
author | Neel Chauhan <nc@FreeBSD.org> | 2021-08-08 05:17:06 -0700 |
---|---|---|
committer | Neel Chauhan <nc@FreeBSD.org> | 2021-08-08 05:18:02 -0700 |
commit | 273084ac8bef3aa7b9e6f57a3ed473b17b3a1acf (patch) | |
tree | 0e8f7d725021801facac823584f556f6525eeaba /x11/dwmblocks/files/patch-blocks.def.h | |
parent | devel/libnsutils: respect CC (diff) |
x11/dwmblocks: Modular status bar for dwm
PR: 257680
Submitted by: echo@lethedata.com
Diffstat (limited to 'x11/dwmblocks/files/patch-blocks.def.h')
-rw-r--r-- | x11/dwmblocks/files/patch-blocks.def.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/dwmblocks/files/patch-blocks.def.h b/x11/dwmblocks/files/patch-blocks.def.h new file mode 100644 index 000000000000..9dfc15e5ecdd --- /dev/null +++ b/x11/dwmblocks/files/patch-blocks.def.h @@ -0,0 +1,15 @@ +--- blocks.def.h.orig 2020-12-27 20:43:03 UTC ++++ blocks.def.h +@@ -1,9 +1,8 @@ + //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*/ ++ {"", "uname -n | sed 's/^/ /'", 0, 0}, ++ {"", "date '+%F %R'", 60, 0}, + }; + + //sets delimeter between status commands. NULL character ('\0') means no delimeter. |