use 2 seconds not 200...
This commit is contained in:
parent
95e7001077
commit
372fd3b36f
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue