fix shell completion for hyprland module

parent d891368d
...@@ -68,14 +68,14 @@ func CommandList() *cli.Command { ...@@ -68,14 +68,14 @@ func CommandList() *cli.Command {
Usage: "enable module", Usage: "enable module",
ArgsUsage: "module", ArgsUsage: "module",
Action: HyprlandModuleEnableCommand, Action: HyprlandModuleEnableCommand,
ShellComplete: ShellCompleteModule("enable"), ShellComplete: ShellCompleteModule("disabled"),
}, },
{ {
Name: "disable", Name: "disable",
Usage: "disable module", Usage: "disable module",
ArgsUsage: "module", ArgsUsage: "module",
Action: HyprlandModuleDisableCommand, Action: HyprlandModuleDisableCommand,
ShellComplete: ShellCompleteModule("disable"), ShellComplete: ShellCompleteModule("enabled"),
}, },
{ {
Name: "toggle", Name: "toggle",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment