This commit is contained in:
2020-07-25 02:56:35 +02:00
parent 4b09eb1f78
commit 282e697ad8
5 changed files with 32 additions and 165 deletions

View File

@ -103,7 +103,7 @@ font-3 - RobotoMono Nerd Font:antialias=true:size=18;0
; modules-center = s4 filesystem s5
; modules-right = s4 powermenu s1 pulseaudio s3
modules-left = battery wlan weather arch
modules-left = battery wlan weather
modules-center = mpd
modules-right =
@ -559,11 +559,11 @@ exec = ~/.config/polybar/polybar-weather/openweathermap-detailed.sh
format-background = ${colors.primary}
format-prefix-foreground = ${colors.background}
[module/arch]
type = custom/script
exec = ~/.config/polybar/polybar-network-update/updates-arch-combined.sh
format-background = ${colors.primary}
format-prefix-foreground = ${colors.background}
#[module/arch]
#type = custom/script
#exec = ~/.config/polybar/polybar-network-update/updates-arch-combined.sh
#format-background = ${colors.primary}
#format-prefix-foreground = ${colors.background}
[module/syngeos]
type = custom/script

View File

@ -0,0 +1,7 @@
#!/bin/bash
most_urgent_desc=`task rc.verbose: rc.report.next.columns:description rc.report.next.labels:1 limit:1 next`
most_urgent_id=`task rc.verbose: rc.report.next.columns:id rc.report.next.labels:1 limit:1 next`
most_urgent_due=`task rc.verbose: rc.report.next.columns:due.relative rc.report.next.labels:1 limit:1 next`
echo "$most_urgent_id" > /tmp/tw_polybar_id
echo "$most_urgent_desc ·  $most_urgent_due"