remove useless code
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2022-08-30 09:28:01 +02:00
parent 196f1cf14e
commit 528620bb9a
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -8,7 +8,6 @@ import (
"os/exec"
"strconv"
"strings"
"time"
)
type WindowProperty struct {
@ -131,15 +130,8 @@ func main() {
background := "#222222"
if app.Urgent {
s := time.Now().Format("%S")
second, _ := strconv.Atoi(s)
foreground = "#ffffff"
if second%2 == 1 {
background = "#87af15"
} else {
background = "#07c0d4"
}
background = "#07c0d4"
} else if app.Focused {
foreground = "#07c0d4"
background = "#333333"