summaryrefslogtreecommitdiff
path: root/.config/i3blocks
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3blocks')
-rw-r--r--.config/i3blocks/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/i3blocks/config b/.config/i3blocks/config
index 904c3db..692aa04 100644
--- a/.config/i3blocks/config
+++ b/.config/i3blocks/config
@@ -75,4 +75,4 @@ command=status=$(apm -b) ; level=$(apm -l) ; [ $status -eq 3 ] && printf "󰂄 %
[date]
interval=59
-command=printf "󰃰 %s\n" "$(date '+%a %b %e %l:%M %p')"
+command=[ "$BLOCK_BUTTON" = 3 ] && date '+%Y-%m-%d' | xclip -i -selection clipboard || printf "󰃰 %s\n" "$(date '+%a %b %e %l:%M %p')"