Skip to content

Instantly share code, notes, and snippets.

@fmartingr
Created December 25, 2016 21:02
Show Gist options
  • Save fmartingr/4a7825a00195d351d625443ce548a129 to your computer and use it in GitHub Desktop.
Save fmartingr/4a7825a00195d351d625443ce548a129 to your computer and use it in GitHub Desktop.
Taskwarrior helper for rofi
#!/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