From d6180ac911b1c6bf3e08115a20421802d5e3685d Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 13 Mar 2024 21:58:42 +0100 Subject: WIP add khard configuration --- .config/polybar/config.ini##template | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to '.config/polybar/config.ini##template') diff --git a/.config/polybar/config.ini##template b/.config/polybar/config.ini##template index b5d5d87..a63b924 100644 --- a/.config/polybar/config.ini##template +++ b/.config/polybar/config.ini##template @@ -49,7 +49,7 @@ modules-right = wireless keyboard volume whoami {% else %} modules-left = time date cal modules-center = mpd -modules-right = wacomtouch keyboard volume whoami +modules-right = dppt wacomtouch keyboard volume whoami {% endif %} separator = @@ -119,15 +119,21 @@ exec = echo "%{T2}$(id -u -n)%{T-}@%{T2}$(uname -n)%{T-}" interval = 9999999 label-font = 2 +[module/dppt] +type = custom/script +exec = dppt polybar +tail = true +click-left = dppt toggle +click-middle = dppt reset + [module/keyboard] type = custom/script exec = ~/.local/share/bin/kbindicator tail = true -label-font = 1 [module/cal] type = custom/script -exec = khal list now tomorrow --notstarted --day-format '' --format '({start-time}) {calendar-color}{title}{reset}' +exec = khal --color list now tomorrow --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 -- cgit v1.2.3