summaryrefslogtreecommitdiff
path: root/i3/.config/i3blocks
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-11-09 19:00:41 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-11-10 13:05:56 +0100
commit5b2db8132927bceb9e0907a07ad6e71406f81bbe (patch)
tree2fbe722bb4360a162984d7aa3bc51a7fbe83755b /i3/.config/i3blocks
parentd81e6c581bd649743efa48e4b33886446d8c00e0 (diff)
[i3blocks] Add ram usage
Diffstat (limited to 'i3/.config/i3blocks')
-rw-r--r--i3/.config/i3blocks/config4
1 files changed, 1 insertions, 3 deletions
diff --git a/i3/.config/i3blocks/config b/i3/.config/i3blocks/config
index c11f93c..1a047de 100644
--- a/i3/.config/i3blocks/config
+++ b/i3/.config/i3blocks/config
@@ -32,13 +32,11 @@ signal=1
[primary]
label=<span color='gray'></span>
command=echo "$(xclip -o | grep -o '^.\{0,9\}' | sed -e 's/[^a-zA-Z0-9\-]/_/g')"
-min_width=15
interval=5
[clipboard]
label=<span color='gray'></span>
command=echo "$(xclip -o -selection "clipboard" | grep -o '^.\{0,9\}' | sed -e 's/[^a-zA-Z0-9\-]/_/g')"
-instance=Master
interval=5
[volume]
@@ -89,7 +87,7 @@ interval=300
[date]
label=<span color='gray'></span>
-command=date '+%Y-%m-%d'
+command=echo $([ $BLOCK_BUTTON = 1 ] && gsimplecal; date '+%Y-%m-%d')
interval=60
[time]