summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2019-03-04 14:06:08 +0100
committerFlorian Pritz <bluewind@xinu.at>2019-03-27 14:47:07 +0100
commit21d444c37d352e42684fe849929a6f477ff99240 (patch)
treeb21308649a38f20f8fc663e968765e85be202fb2
parente611fe3e90e68a834306a85835acb36d447a834c (diff)
downloaddotfiles-21d444c37d352e42684fe849929a6f477ff99240.tar.gz
dotfiles-21d444c37d352e42684fe849929a6f477ff99240.tar.xz
Add swap support to bar
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--.i3/conkyrc-perl6
1 files changed, 6 insertions, 0 deletions
diff --git a/.i3/conkyrc-perl b/.i3/conkyrc-perl
index 06bbf28..6d37f77 100644
--- a/.i3/conkyrc-perl
+++ b/.i3/conkyrc-perl
@@ -47,8 +47,14 @@ FULLTEXT: CPU ${cpu cpu}%
COLOR: ${if_match ${memperc}<80}\#55ff55${else}\#ff0000${endif}
FULLTEXT: RAM ${mem} (${memperc}%)
+${if_match "${swapmax}" != "0B"}
+COLOR: \#ff5555
+FULLTEXT: SWAP ${swap}/${swapmax} (${swapperc}%)
+${endif}
+
FULLTEXT: ${loadavg}
# ${running_threads}/${processes}
+
FULLTEXT: Up ${uptime}
SHORTTEXT: ${time %F %H:%M:%S}