hyprman/cmd/mako.go
2024-06-06 13:11:21 -05:00

24 lines
404 B
Go

package cmd
import (
"git.dayl.in/daylin/hyprman/internal"
"github.com/spf13/cobra"
)
var makoCmd = &cobra.Command{
Use: "mako",
Short: "mako integration",
Run: func(cmd *cobra.Command, args []string) {
hyprman.ListNotifications(number)
},
}
var (
number int
)
func init() {
rootCmd.AddCommand(makoCmd)
makoCmd.Flags().IntVarP(&number, "number", "n", 10, "number of notifications")
}