use 2 seconds not 200...

This commit is contained in:
Daylin Morgan 2024-05-31 16:31:14 -05:00
parent 95e7001077
commit 372fd3b36f
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -63,7 +63,6 @@ func (hm *Hyprman) generateEwwClasses() {
ewwClasses = append(ewwClasses, make([]EwwWorkspace, 9))
copy(ewwClasses[i], monitor)
ewwClasses[i][activeId].Class = fmt.Sprintf("%s %s-%d", monitor[activeId].Class, "ws-button-active", activeId+1)
}
bytes, err := json.Marshal(ewwClasses)
@ -74,7 +73,7 @@ func (hm *Hyprman) generateEwwClasses() {
}
func ewwBar1(cmd string) {
time.Sleep(200 * time.Second)
time.Sleep(2 * time.Second)
if err := exec.Command("eww", cmd, "bar1").Run(); err != nil {
log.Fatal(err)
}