diff options
| author | Peter Son Struschka <me@peter-struschka.com> | 2018-10-10 17:19:29 +0700 |
|---|---|---|
| committer | Peter Son Struschka <me@peter-struschka.com> | 2018-10-10 17:19:29 +0700 |
| commit | 1297a2e0ec774a13c9900b63c2b4afbb6582a5d3 (patch) | |
| tree | 1f633f33a5569f1924183ff801897d6e6fea4d37 /i3wm/.config/polybar/task_polybar.sh | |
| parent | c0cb935f9aaa33638344415aaede751ca3d29bb1 (diff) | |
| download | dotfiles-1297a2e0ec774a13c9900b63c2b4afbb6582a5d3.tar.gz dotfiles-1297a2e0ec774a13c9900b63c2b4afbb6582a5d3.tar.bz2 dotfiles-1297a2e0ec774a13c9900b63c2b4afbb6582a5d3.tar.lz dotfiles-1297a2e0ec774a13c9900b63c2b4afbb6582a5d3.tar.xz dotfiles-1297a2e0ec774a13c9900b63c2b4afbb6582a5d3.tar.zst dotfiles-1297a2e0ec774a13c9900b63c2b4afbb6582a5d3.zip | |
multiple changes mostly to zsh and polybar
Diffstat (limited to 'i3wm/.config/polybar/task_polybar.sh')
| -rwxr-xr-x | i3wm/.config/polybar/task_polybar.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/i3wm/.config/polybar/task_polybar.sh b/i3wm/.config/polybar/task_polybar.sh new file mode 100755 index 0000000..555ff1b --- /dev/null +++ b/i3wm/.config/polybar/task_polybar.sh @@ -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" |
