{"record":{"id":"49339ae5b8effe6c","repo":"LGUG2Z/komorebi","slug":"this-command-requires-applications-to-be-identifie","errorCode":null,"errorMessage":"this command requires applications to be identified by their exe","messagePattern":"this command requires applications to be identified by their exe","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"komorebic/src/main.rs","lineNumber":3135,"sourceCode":"            ))?;\n        }\n        SubCommand::IdentifyTrayApplication(target) => {\n            send_message(&SocketMessage::IdentifyTrayApplication(\n                target.identifier,\n                target.id,\n            ))?;\n        }\n        SubCommand::IdentifyLayeredApplication(target) => {\n            send_message(&SocketMessage::IdentifyLayeredApplication(\n                target.identifier,\n                target.id,\n            ))?;\n        }\n        SubCommand::RemoveTitleBar(target) => {\n            match target.identifier {\n                ApplicationIdentifier::Exe => {}\n                _ => {\n                    bail!(\"this command requires applications to be identified by their exe\");\n                }\n            }\n\n            send_message(&SocketMessage::RemoveTitleBar(target.identifier, target.id))?;\n        }\n        SubCommand::ToggleTitleBars => {\n            send_message(&SocketMessage::ToggleTitleBars)?;\n        }\n        SubCommand::Manage => {\n            send_message(&SocketMessage::ManageFocusedWindow)?;\n        }\n        SubCommand::Unmanage => {\n            send_message(&SocketMessage::UnmanageFocusedWindow)?;\n        }\n        SubCommand::QuickSaveResize => {\n            send_message(&SocketMessage::QuickSave)?;\n        }\n        SubCommand::QuickLoadResize => {","sourceCodeStart":3117,"sourceCodeEnd":3153,"githubUrl":"https://github.com/LGUG2Z/komorebi/blob/e0709f02bfae4e503bf4640f58ee75ecbbfdbb97/komorebic/src/main.rs#L3117-L3153","documentation":"A guard in komorebic's command dispatch: subcommands such as RemoveTitleBar (and other rules targeting specific windows) only accept ApplicationIdentifier::Exe; when the caller supplies a different identifier (e.g. title or class), this error fires because those operations rely on matching process executables.","triggerScenarios":"Thrown at komorebic/src/main.rs:3135 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Re-run the command with the EXE identifier, e.g. `komorebic remove-title-bar exe <path-to-exe>` instead of a title or class identifier","Use `komorebic query windows` or task manager to determine the target process's exe name"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e0709f02bfae4e503bf4640f58ee75ecbbfdbb97","analyzedAt":"2026-09-06T07:08:05.107Z","contentChangedAt":"2026-09-06T07:08:05.107Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}