gui-apps/someblocks: update patches to use somebins
This commit is contained in:
parent
20912a172d
commit
0c3e5795c7
|
@ -1,28 +1,25 @@
|
|||
From 7484a7ce5ba45d7003eb9356a75486c45d13ea1e Mon Sep 17 00:00:00 2001
|
||||
From 888ab059180d13f5c873d949dc338bc7b7033987 Mon Sep 17 00:00:00 2001
|
||||
From: odrling <florianbadie@odrling.xyz>
|
||||
Date: Thu, 19 Oct 2023 01:35:29 +0200
|
||||
Subject: [PATCH] update config
|
||||
|
||||
---
|
||||
blocks.def.h | 17 +++++++++++++----
|
||||
1 file changed, 13 insertions(+), 4 deletions(-)
|
||||
blocks.def.h | 14 ++++++++++----
|
||||
1 file changed, 10 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/blocks.def.h b/blocks.def.h
|
||||
index 9c22d68..014ba63 100644
|
||||
index 9c22d68..0b57232 100644
|
||||
--- a/blocks.def.h
|
||||
+++ b/blocks.def.h
|
||||
@@ -1,11 +1,20 @@
|
||||
@@ -1,11 +1,17 @@
|
||||
//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},
|
||||
+ {" ", "load", 5, 0},
|
||||
+ {" ",
|
||||
+ "free | awk -v CONVFMT=%.3g '/^Mem/ { used = $3 / (1024*1024); "
|
||||
+ "total = $2 / (1024*1024); print used \"G/\" total \"G\" }' | sed s/i//g",
|
||||
+ 5, 0},
|
||||
+ {" ", "someloadavg", 5, 0},
|
||||
+ {" ", "somememory", 5, 0},
|
||||
+ {" ", "volume", 0, 10},
|
||||
+ {"☀ ", "backlight", 0, 11},
|
||||
+ {"", "network", 5, 0},
|
||||
|
|
|
@ -13,6 +13,7 @@ LICENSE="ISC"
|
|||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="sys-process/somebins"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/0001-update-config.patch"
|
||||
)
|
Loading…
Reference in a new issue