From f631aec953c14cd2166376fa43de5ceb7faf5fe4 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 4 Apr 2024 19:25:50 +0200 Subject: only show events starting in next hour in polybar --- .config/polybar/config.ini##template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/polybar/config.ini##template b/.config/polybar/config.ini##template index a63b924..c6d1e76 100644 --- a/.config/polybar/config.ini##template +++ b/.config/polybar/config.ini##template @@ -133,9 +133,8 @@ tail = true [module/cal] type = custom/script -exec = khal --color list now tomorrow --notstarted --day-format '' --format '({start-time}) {calendar-color}{title}{reset}' | ansi2polybar +exec = khal --color list now 1h --notstarted --day-format '' --format '({start-time}) {calendar-color}{title}{reset}' | ansi2polybar interval = 60 -# TODO: create script for converting ASCII escape codes to polybar/lemonbar formatting tags {% include "config.{{ yadm.hostname }}.ini" %} -- cgit v1.2.3