From f7165e041f30d1334fd421dd570b7e0692805d85 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Fri, 1 May 2020 00:32:00 +0200 Subject: [PATCH] Add calendar module to polybar --- dotfiles/polybar.org | 61 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 58 insertions(+), 3 deletions(-) diff --git a/dotfiles/polybar.org b/dotfiles/polybar.org index d48cd02..b97c543 100644 --- a/dotfiles/polybar.org +++ b/dotfiles/polybar.org @@ -80,7 +80,7 @@ modules-left = i3 bspwm xwindow modules-center = - modules-right = pulseaudio wired-network wireless-network wireguard nordvpn loopback redshift lockscreen dunst packages unread_news unread_mail temperature battery date + modules-right = pulseaudio wired-network wireless-network wireguard nordvpn loopback redshift lockscreen dunst packages unread_news unread_mail calendar temperature battery date wm-restack = i3 @@ -461,6 +461,61 @@ $TERMINAL -e "tmux new-session -A -s newsboat newsboat" #+end_src +* Calendar +#+BEGIN_SRC conf + [module/calendar] + type = custom/script + + format-underline = ${colors.bg} + click-left = ~/.config/polybar/scripts/calendar-open.sh >/dev/null 2>%1 & + format =