From e5d98ae3c75ca9f6f4288cda9ace40238ebf600b Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 22 Oct 2021 18:04:29 +0300 Subject: feat(task): add context script --- env/.config/sxhkd/sxhkdrc | 4 ++++ task/.local/bin/task-context.sh | 4 ++++ 2 files changed, 8 insertions(+) create mode 100755 task/.local/bin/task-context.sh diff --git a/env/.config/sxhkd/sxhkdrc b/env/.config/sxhkd/sxhkdrc index a95d3b3..89a210c 100644 --- a/env/.config/sxhkd/sxhkdrc +++ b/env/.config/sxhkd/sxhkdrc @@ -51,3 +51,7 @@ super + n ctrl + space dunstctl close + +super + c + task-context.sh + diff --git a/task/.local/bin/task-context.sh b/task/.local/bin/task-context.sh new file mode 100755 index 0000000..e5b2ec8 --- /dev/null +++ b/task/.local/bin/task-context.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# TODO: list contexts using taskwarrior + +echo "none default dev work reading writing" | sed 's/ /\n/g' | dmenu -l 10 | xargs task context -- cgit v1.2.3