diff --git a/dotfiles/polybar.org b/dotfiles/polybar.org index 3e8d9d5..95abf73 100644 --- a/dotfiles/polybar.org +++ b/dotfiles/polybar.org @@ -80,7 +80,7 @@ modules-left = i3 bspwm xwindow modules-center = - modules-right = pulseaudio xbacklight redshift wireguard nordvpn lockscreen dunst packages unread_mail temperature battery date + modules-right = pulseaudio xbacklight redshift wireguard nordvpn lockscreen dunst packages unread_news unread_mail temperature battery date wm-restack = i3 @@ -387,6 +387,59 @@ $TERMINAL -e "tmux new-session -A -s neomutt neomutt" & #+end_src +* Unread News +#+BEGIN_SRC conf + [module/unread_news] + type = custom/script + + format-underline = ${colors.bg} + click-left = ~/.config/polybar/scripts/news-open.sh + click-right = ~/.config/polybar/scripts/news-refresh.sh + format =