The systemctl list-timers command shows a verbose output that isn't needed when using pass timer. pass timer should only show the amount of time left before the password store data will be hidden inside a coffin. Ideally, this should be done without resorting to hacks from sed and awk. If systemctl supports JSON output for its commands, that would help a lot. There's jc but it doesn't support converting output from list-timers into JSON yet.
The
systemctl list-timers
command shows a verbose output that isn't needed when usingpass timer
.pass timer
should only show the amount of time left before the password store data will be hidden inside a coffin. Ideally, this should be done without resorting to hacks fromsed
andawk
. Ifsystemctl
supports JSON output for its commands, that would help a lot. There's jc but it doesn't support converting output fromlist-timers
into JSON yet.