add shell complete for HyprlandModuleStatus

parent a6efa23f
......@@ -27,6 +27,7 @@ complete -c ximperconf -n '__fish_seen_subcommand_from hyprland; and __fish_seen
complete -c ximperconf -n '__fish_seen_subcommand_from hyprland; and __fish_seen_subcommand_from module; and __fish_seen_subcommand_from enable' -f -a '(__fish_ximperconf_complete)'
complete -c ximperconf -n '__fish_seen_subcommand_from hyprland; and __fish_seen_subcommand_from module; and __fish_seen_subcommand_from disable' -f -a '(__fish_ximperconf_complete)'
complete -c ximperconf -n '__fish_seen_subcommand_from hyprland; and __fish_seen_subcommand_from module; and __fish_seen_subcommand_from toggle' -f -a '(__fish_ximperconf_complete)'
complete -c ximperconf -n '__fish_seen_subcommand_from hyprland; and __fish_seen_subcommand_from module; and __fish_seen_subcommand_from status' -f -a '(__fish_ximperconf_complete)'
complete -c ximperconf -n '__fish_ximperconf_no_subcommand' -f -l help -s h -d 'show help'
complete -c ximperconf -n '__fish_ximperconf_no_subcommand' -f -l version -s v -d 'print the version'
......
......@@ -45,10 +45,11 @@ func CommandList() *cli.Command {
},
Commands: []*cli.Command{
{
Name: "status",
Usage: "Hyprland module status",
ArgsUsage: "module",
Action: HyprlandModuleStatusCommand,
Name: "status",
Usage: "Hyprland module status",
ArgsUsage: "module",
Action: HyprlandModuleStatusCommand,
ShellComplete: ShellCompleteModule("all"),
},
{
Name: "info",
......
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