mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-28 02:55:05 +00:00
core/command: improve dead instance selection
Prints dead instances if they exist, as well as allowing dead instance selection for a substring if no live instances exist.
This commit is contained in:
8 files changed
+86
-24
No files matched your search
@@ -163,6 +163,9 @@ int parseCommand(int argc, char** argv, CommandState& state) {
|
||||
|
||||
sub->add_flag("-j,--json", state.output.json, "Output the list as a json.");
|
||||
|
||||
sub->add_flag("--show-dead", state.instance.includeDead)
|
||||
->description("Include dead instances in the list.");
|
||||
|
||||
addConfigSelection(sub, true)->excludes(all);
|
||||
addLoggingOptions(sub, false, true);
|
||||
|
||||
|
||||
Reference in new issue
Block a user