Push To Talk
Postes, Télégraphes et Téléphones
Petit Travail Tranquille
This commit is contained in:
Geoffrey Frogeye 2018-10-25 22:35:02 +02:00
parent b1b03e827f
commit f9849dfcfa
7 changed files with 111 additions and 9 deletions

View file

@ -542,12 +542,10 @@ class TaskWarriorProvider(StatefulSection, InotifyUpdater):
if urgency > 0:
total += urgency
t = Text()
maxi = round(maxi)
t.append(f"{maxi}")
t.append(f"{maxi:.1f}")
if self.showTotal:
total = round(total)
t.append(f" | {total}")
t.append(f" | {total:.1f}")
return t

View file

@ -0,0 +1,6 @@
[Unit]
Description=Taskwarrior synchronisation
[Service]
Type=oneshot
ExecStart=/usr/bin/task sync

View file

@ -0,0 +1,10 @@
[Unit]
Description=Taskwarrior synchronisation timer
[Timer]
OnBootSec=2m
OnUnitActiveSec=5m
Unit=tasksync.service
[Install]
WantedBy=timers.target

View file

@ -0,0 +1 @@
/home/geoffrey/.config/systemd/user/tasksync.timer