diff options
Diffstat (limited to '.config/waybar/modules/todo.go')
| -rwxr-xr-x[-rw-r--r--] | .config/waybar/modules/todo.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/waybar/modules/todo.go b/.config/waybar/modules/todo.go index 97daaa4..2692ec9 100644..100755 --- a/.config/waybar/modules/todo.go +++ b/.config/waybar/modules/todo.go @@ -1,3 +1,5 @@ +#!/usr/bin/env yaegi + // # Documentation // we try to read a file pointed to by WAYBAR_TODO_FILE. // While no particular format is assumed, we recommend @@ -16,6 +18,7 @@ import ( "os" "os/signal" "regexp" + "runtime" "strings" "time" @@ -127,6 +130,8 @@ func init() { } func main() { + runtime.GOMAXPROCS(1) + var ( updateC = make(chan os.Signal, 1) cancelC = make(chan os.Signal, 1) |