-
-
Save AnatolyRugalev/73542fe7b508c16e88c9f0006546c1d9 to your computer and use it in GitHub Desktop.
Taskwarrior helper for rofi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TMPFILE='/tmp/rofi-dmenu-taskwarrior' | |
task rofi rc.verbose=nothing > $TMPFILE | |
TASK=`rofi -dmenu -p "Task: " -i -input $TMPFILE` | |
TASK_ID=`echo $TASK | cut -f1 -d' '` | |
echo $TASK_ID > /tmp/dotask-id | |
task start $TASK_ID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment