dwm and dwmbar
This commit is contained in:
1 parent
307448edd3
commit
135fe92331
50 files changed
+1846
No files matched your search
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Prints number of todos
|
||||
# Requires t todo manager (https://github.com/sjl/t)
|
||||
|
||||
TASKS_DIR="/home/$USER/.todo"
|
||||
TASKS_NAME="tasks"
|
||||
PREFIX=': '
|
||||
|
||||
get_todo()
|
||||
{
|
||||
echo "$PREFIX$(t --task-dir $TASKS_DIR --list $TASKS_NAME | wc -l)"
|
||||
}
|
||||
|
||||
get_todo
|
||||
Reference in new issue
Block a user