hyprman/cmd/eww_watch.go

18 lines
266 B
Go
Raw Normal View History

2024-05-21 15:41:20 -05:00
package cmd
import (
"github.com/spf13/cobra"
)
var watchCmd = &cobra.Command{
Use: "watch",
Short: "Watch hyprland events and propagate to eww",
Run: func(cmd *cobra.Command, args []string) {
2024-05-31 14:59:23 -05:00
hm.Watch()
2024-05-21 15:41:20 -05:00
},
}
func init() {
ewwCmd.AddCommand(watchCmd)
}