mirror of
https://github.com/Threnklyn/zeit.git
synced 2026-06-07 14:13:31 +02:00
Updated zeit-waybar-wofi.sh, updated .gitignore
This commit is contained in:
@@ -16,4 +16,6 @@
|
||||
|
||||
/zeit
|
||||
/db
|
||||
/db.demo
|
||||
/charts.txt
|
||||
.DS_Store
|
||||
|
||||
@@ -23,7 +23,7 @@ then
|
||||
fi
|
||||
|
||||
selection=$($ZEIT_BIN list \
|
||||
--only-projects-and-tasks \
|
||||
--only-tasks \
|
||||
--append-project-id-to-task \
|
||||
| wofi \
|
||||
--dmenu \
|
||||
@@ -31,7 +31,7 @@ then
|
||||
--cache-file /dev/null\
|
||||
)
|
||||
|
||||
task=$(echo $selection | pcregrep -io1 '└── (.+) \[.+')
|
||||
task=$(echo $selection | pcregrep -io1 '(.+) \[.+')
|
||||
project=$(echo $selection | pcregrep -io1 '.+\[(.+)\]')
|
||||
|
||||
if [[ "$task" == "" ]] || [[ "$project" == "" ]]
|
||||
|
||||
Reference in New Issue
Block a user