From 06eccec83a88b2af00b354bedc1a44713938a385 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 3 Aug 2021 22:12:11 +0200 Subject: waybar: update --- .config/waybar/modules/todo.go | 5 +++++ 1 file changed, 5 insertions(+) mode change 100644 => 100755 .config/waybar/modules/todo.go (limited to '.config/waybar/modules/todo.go') diff --git a/.config/waybar/modules/todo.go b/.config/waybar/modules/todo.go old mode 100644 new mode 100755 index 97daaa4..2692ec9 --- 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) -- cgit 1.4.1