add shell complete for HyprlandModuleStatus

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