# set-x11-keymap takes layout model variant option... (i.e. multiple options)
complete-c localectl -n"__fish_seen_subcommand_from set-x11-keymap; and not __fish_seen_subcommand_from (localectl list-x11-keymap-layouts)"-a"(localectl list-x11-keymap-layouts)"
complete-c localectl -n"__fish_seen_subcommand_from set-x11-keymap; and __fish_seen_subcommand_from (localectl list-x11-keymap-layouts); and not __fish_seen_subcommand_from (localectl list-x11-keymap-models)"-a"(localectl list-x11-keymap-models)"
# Only complete variants for the current layout
complete-c localectl -n"__fish_seen_subcommand_from set-x11-keymap; and __fish_seen_subcommand_from (localectl list-x11-keymap-models); and not __fish_seen_subcommand_from (localectl list-x11-keymap-variants)"-a"(localectl list-x11-keymap-variants (__fish_localectl_layout))"
complete-c localectl -n"__fish_seen_subcommand_from set-x11-keymap; and __fish_seen_subcommand_from (localectl list-x11-keymap-variants)"-a"(localectl list-x11-keymap-options)"