remove useless code
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
196f1cf14e
commit
528620bb9a
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue