summaryrefslogtreecommitdiff
path: root/i3/.config/i3blocks/config
diff options
context:
space:
mode:
Diffstat (limited to 'i3/.config/i3blocks/config')
-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]