feat(ahk): update cfgen, reintroduce ahk files

This commit updates the config generator used by the ahk-asc command to
emit AHKv2 syntax.

An AHKv2 syntax-compatible komorebic.lib.ahk has been (re)introduced to
the repo root as a file to be distributed. This file is created by
taking the AHKv1 syntax output of ahk-library and automatically
converting it to AHKv2 using the automatic script converter by @mmikeww
available on GitHub.

Given that ahk-library is still being used to emit AHKv1 syntax in this
pipeline, it will remain in the repo.

The justfile has been updated to automate as much of this as possible
(the converter still needs to be run manually).

re #324
This commit is contained in:
LGUG2Z
2023-04-16 14:05:51 -07:00
committed by جاد
parent 27e0758089
commit 60d3ecd8aa
5 changed files with 1127 additions and 183 deletions

View File

@@ -22,7 +22,14 @@ install-komorebi:
install:
just install-komorebic
just install-komorebi
cat '~/.config/komorebi/komorebi.generated.ps1' > komorebi.generated.ps1
komorebic ahk-asc '~/komorebi-application-specific-configuration/applications.yaml'
komorebic pwsh-asc '~/komorebi-application-specific-configuration/applications.yaml'
cat '~/.config/komorebi/komorebi.generated.ps1' >komorebi.generated.ps1
cat '~/.config/komorebi/komorebi.generated.ahk' >komorebi.generated.ahk
echo '#Requires AutoHotkey v2.0.2' >komorebic.lib.ahk
echo '#SingleInstance Force' >>komorebic.lib.ahk
echo '' >>komorebic.lib.ahk
cat '~/.config/komorebi/komorebic.lib_newV2.ahk' >>komorebic.lib.ahk
run:
just install-komorebic

View File

@@ -25,30 +25,27 @@ impl ApplicationOptions {
match self {
ApplicationOptions::ObjectNameChange => {
format!(
"komorebic.exe identify-object-name-change-application {} \"{}\"",
"komorebic.exe identify-object-name-change-application {} '{}'",
kind, id
)
}
ApplicationOptions::Layered => {
format!(
"komorebic.exe identify-layered-application {} \"{}\"",
"komorebic.exe identify-layered-application {} '{}'",
kind, id
)
}
ApplicationOptions::BorderOverflow => {
format!(
"komorebic.exe identify-border-overflow-application {} \"{}\"",
"komorebic.exe identify-border-overflow-application {} '{}'",
kind, id
)
}
ApplicationOptions::TrayAndMultiWindow => {
format!(
"komorebic.exe identify-tray-application {} \"{}\"",
kind, id
)
format!("komorebic.exe identify-tray-application {} '{}'", kind, id)
}
ApplicationOptions::Force => {
format!("komorebic.exe manage-rule {} \"{}\"", kind, id)
format!("komorebic.exe manage-rule {} '{}'", kind, id)
}
}
}
@@ -56,7 +53,7 @@ impl ApplicationOptions {
#[must_use]
pub fn cfgen(&self, kind: &ApplicationIdentifier, id: &str) -> String {
format!(
"Run, {}, , Hide",
"RunWait(\"{}\", , \"Hide\")",
ApplicationOptions::raw_cfgen(self, kind, id)
)
}
@@ -154,7 +151,7 @@ impl ApplicationConfigurationGenerator {
if let Some(float_identifiers) = app.float_identifiers {
for float in float_identifiers {
let float_rule =
format!("komorebic.exe float-rule {} \"{}\"", float.kind, float.id);
format!("komorebic.exe float-rule {} '{}'", float.kind, float.id);
// Don't want to send duped signals especially as configs get larger
if !float_rules.contains(&float_rule) {
@@ -208,7 +205,7 @@ impl ApplicationConfigurationGenerator {
if let Some(float_identifiers) = app.float_identifiers {
for float in float_identifiers {
let float_rule = format!(
"Run, komorebic.exe float-rule {} \"{}\", , Hide",
"RunWait(\"komorebic.exe float-rule {} '{}'\", , \"Hide\")",
float.kind, float.id
);

484
komorebi.generated.ahk Normal file
View File

@@ -0,0 +1,484 @@
; Generated by komorebic.exe
; To use this file, add the line below to the top of your komorebi.ahk configuration file
; #Include %A_ScriptDir%\komorebi.generated.ahk
; 1Password
RunWait("komorebic.exe float-rule exe '1Password.exe'", , "Hide")
; Ableton Live
; Targets VST2 windows
RunWait("komorebic.exe float-rule class 'AbletonVstPlugClass'", , "Hide")
; Targets VST3 windows
RunWait("komorebic.exe float-rule class 'Vst3PlugWindow'", , "Hide")
; Adobe Creative Cloud
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application class 'CreativeCloudDesktopWindowClass'", , "Hide")
; Adobe Photoshop
RunWait("komorebic.exe identify-border-overflow-application class 'Photoshop'", , "Hide")
; ArmCord
RunWait("komorebic.exe identify-border-overflow-application exe 'ArmCord.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'ArmCord.exe'", , "Hide")
; AutoHotkey
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'AutoHotkeyU64.exe'", , "Hide")
RunWait("komorebic.exe float-rule title 'Window Spy'", , "Hide")
; Beeper
RunWait("komorebic.exe identify-border-overflow-application exe 'Beeper.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'Beeper.exe'", , "Hide")
; Bitwarden
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'Bitwarden.exe'", , "Hide")
; Bloxstrap
RunWait("komorebic.exe float-rule exe 'Bloxstrap.exe'", , "Hide")
; Calculator
RunWait("komorebic.exe float-rule title 'Calculator'", , "Hide")
; Credential Manager UI Host
; Targets the Windows popup prompting you for a PIN instead of a password on 1Password etc.
RunWait("komorebic.exe float-rule exe 'CredentialUIBroker.exe'", , "Hide")
; Cron
RunWait("komorebic.exe identify-border-overflow-application exe 'Cron.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'Cron.exe'", , "Hide")
; Delphi applications
; Target hidden window spawned by Delphi applications
RunWait("komorebic.exe float-rule class 'TApplication'", , "Hide")
; Target Inno Setup installers
RunWait("komorebic.exe float-rule class 'TWizardForm'", , "Hide")
; Discord
RunWait("komorebic.exe identify-border-overflow-application exe 'Discord.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'Discord.exe'", , "Hide")
; DiscordCanary
RunWait("komorebic.exe identify-border-overflow-application exe 'DiscordCanary.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'DiscordCanary.exe'", , "Hide")
; DiscordDevelopment
RunWait("komorebic.exe identify-border-overflow-application exe 'DiscordDevelopment.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'DiscordDevelopment.exe'", , "Hide")
; DiscordPTB
RunWait("komorebic.exe identify-border-overflow-application exe 'DiscordPTB.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'DiscordPTB.exe'", , "Hide")
; Dropbox
RunWait("komorebic.exe float-rule exe 'Dropbox.exe'", , "Hide")
; ElectronMail
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'ElectronMail.exe'", , "Hide")
; Element
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'Element.exe'", , "Hide")
; Elephicon
RunWait("komorebic.exe float-rule exe 'Elephicon.exe'", , "Hide")
; ElevenClock
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'ElevenClock.exe'", , "Hide")
; Elgato Camera Hub
RunWait("komorebic.exe float-rule exe 'Camera Hub.exe'", , "Hide")
; Elgato Control Center
RunWait("komorebic.exe float-rule exe 'ControlCenter.exe'", , "Hide")
; Elgato Wave Link
RunWait("komorebic.exe float-rule exe 'WaveLink.exe'", , "Hide")
; Epic Games Launcher
RunWait("komorebic.exe identify-border-overflow-application exe 'EpicGamesLauncher.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'EpicGamesLauncher.exe'", , "Hide")
; Flow Launcher
RunWait("komorebic.exe identify-border-overflow-application exe 'Flow.Launcher.exe'", , "Hide")
; GOG Galaxy
RunWait("komorebic.exe identify-border-overflow-application exe 'GalaxyClient.exe'", , "Hide")
RunWait("komorebic.exe manage-rule exe 'GalaxyClient.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'GalaxyClient.exe'", , "Hide")
; Targets a hidden window spawned by GOG Galaxy
RunWait("komorebic.exe float-rule class 'Chrome_RenderWidgetHostHWND'", , "Hide")
; GoPro Webcam
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application class 'GoPro Webcam'", , "Hide")
; Godot Manager
RunWait("komorebic.exe identify-border-overflow-application exe 'GodotManager.exe'", , "Hide")
RunWait("komorebic.exe manage-rule exe 'GodotManager.exe'", , "Hide")
RunWait("komorebic.exe identify-object-name-change-application exe 'GodotManager.exe'", , "Hide")
; Google Chrome
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'chrome.exe'", , "Hide")
; Google Drive
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'GoogleDriveFS.exe'", , "Hide")
; Houdoku
RunWait("komorebic.exe identify-border-overflow-application exe 'Houdoku.exe'", , "Hide")
; IntelliJ IDEA
RunWait("komorebic.exe identify-object-name-change-application exe 'idea64.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'idea64.exe'", , "Hide")
; Targets JetBrains IDE popups and floating windows
RunWait("komorebic.exe float-rule class 'SunAwtDialog'", , "Hide")
; Itch.io
RunWait("komorebic.exe identify-border-overflow-application exe 'itch.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'itch.exe'", , "Hide")
; Keyviz
RunWait("komorebic.exe float-rule exe 'keyviz.exe'", , "Hide")
; Kleopatra
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'kleopatra.exe'", , "Hide")
; Kotatogram
RunWait("komorebic.exe identify-border-overflow-application exe 'Kotatogram.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'Kotatogram.exe'", , "Hide")
; LocalSend
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'localsend_app.exe'", , "Hide")
; Logi Bolt
RunWait("komorebic.exe float-rule exe 'LogiBolt.exe'", , "Hide")
; LogiTune
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'LogiTune.exe'", , "Hide")
RunWait("komorebic.exe float-rule exe 'LogiTune.exe'", , "Hide")
; Logitech G HUB
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'lghub.exe'", , "Hide")
RunWait("komorebic.exe identify-border-overflow-application exe 'lghub.exe'", , "Hide")
; Logitech Options
RunWait("komorebic.exe float-rule exe 'LogiOptionsUI.exe'", , "Hide")
; Mailspring
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'mailspring.exe'", , "Hide")
; ManyCam
RunWait("komorebic.exe identify-border-overflow-application exe 'ManyCam.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'ManyCam.exe'", , "Hide")
; Mica For Everyone
; Microsoft Excel
RunWait("komorebic.exe identify-border-overflow-application exe 'EXCEL.EXE'", , "Hide")
RunWait("komorebic.exe identify-layered-application exe 'EXCEL.EXE'", , "Hide")
; Targets a hidden window spawned by Microsoft Office applications
RunWait("komorebic.exe float-rule class '_WwB'", , "Hide")
; Microsoft Outlook
RunWait("komorebic.exe identify-border-overflow-application exe 'OUTLOOK.EXE'", , "Hide")
RunWait("komorebic.exe identify-layered-application exe 'OUTLOOK.EXE'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'OUTLOOK.EXE'", , "Hide")
; Microsoft PC Manager
RunWait("komorebic.exe float-rule exe 'MSPCManager.exe'", , "Hide")
; Microsoft PowerPoint
RunWait("komorebic.exe identify-border-overflow-application exe 'POWERPNT.EXE'", , "Hide")
RunWait("komorebic.exe identify-layered-application exe 'POWERPNT.EXE'", , "Hide")
; Microsoft Teams
RunWait("komorebic.exe identify-border-overflow-application exe 'Teams.exe'", , "Hide")
; Target Teams pop-up notification windows
RunWait("komorebic.exe float-rule title 'Microsoft Teams Notification'", , "Hide")
; Target Teams call in progress windows
RunWait("komorebic.exe float-rule title 'Microsoft Teams Call'", , "Hide")
; Microsoft Word
RunWait("komorebic.exe identify-border-overflow-application exe 'WINWORD.EXE'", , "Hide")
RunWait("komorebic.exe identify-layered-application exe 'WINWORD.EXE'", , "Hide")
; Modern Flyouts
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'ModernFlyoutsHost.exe'", , "Hide")
; Mozilla Firefox
RunWait("komorebic.exe identify-object-name-change-application exe 'firefox.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'firefox.exe'", , "Hide")
; Targets invisible windows spawned by Firefox to show tab previews in the taskbar
RunWait("komorebic.exe float-rule class 'MozillaTaskbarPreviewClass'", , "Hide")
; NVIDIA GeForce Experience
RunWait("komorebic.exe identify-border-overflow-application exe 'NVIDIA GeForce Experience.exe'", , "Hide")
; NiceHash Miner
RunWait("komorebic.exe identify-border-overflow-application exe 'nhm_app.exe'", , "Hide")
RunWait("komorebic.exe manage-rule exe 'nhm_app.exe'", , "Hide")
; NohBoard
RunWait("komorebic.exe float-rule exe 'NohBoard.exe'", , "Hide")
; Notion Enhanced
RunWait("komorebic.exe identify-border-overflow-application exe 'Notion Enhanced.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'Notion Enhanced.exe'", , "Hide")
; OBS Studio (32-bit)
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'obs32.exe'", , "Hide")
; OBS Studio (64-bit)
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'obs64.exe'", , "Hide")
; ONLYOFFICE Editors
RunWait("komorebic.exe identify-border-overflow-application class 'DocEditorsWindowClass'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application class 'DocEditorsWindowClass'", , "Hide")
; Obsidian
RunWait("komorebic.exe identify-border-overflow-application exe 'Obsidian.exe'", , "Hide")
RunWait("komorebic.exe manage-rule exe 'Obsidian.exe'", , "Hide")
; OpenRGB
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'OpenRGB.exe'", , "Hide")
; Paradox Launcher
RunWait("komorebic.exe float-rule exe 'Paradox Launcher.exe'", , "Hide")
; Plexamp
RunWait("komorebic.exe identify-border-overflow-application exe 'Plexamp.exe'", , "Hide")
; PowerToys
; Target color picker dialog
RunWait("komorebic.exe float-rule exe 'PowerToys.ColorPickerUI.exe'", , "Hide")
; Target image resizer dialog
RunWait("komorebic.exe float-rule exe 'PowerToys.ImageResizer.exe'", , "Hide")
; Process Hacker
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'ProcessHacker.exe'", , "Hide")
RunWait("komorebic.exe float-rule exe 'ProcessHacker.exe'", , "Hide")
; ProtonVPN
RunWait("komorebic.exe identify-border-overflow-application exe 'ProtonVPN.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'ProtonVPN.exe'", , "Hide")
; PyCharm
RunWait("komorebic.exe identify-object-name-change-application exe 'pycharm64.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'pycharm64.exe'", , "Hide")
; QtScrcpy
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'QtScrcpy.exe'", , "Hide")
; QuickLook
RunWait("komorebic.exe float-rule exe 'QuickLook.exe'", , "Hide")
; RepoZ
RunWait("komorebic.exe float-rule exe 'RepoZ.exe'", , "Hide")
; Rider
RunWait("komorebic.exe identify-object-name-change-application exe 'rider64.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'rider64.exe'", , "Hide")
; Roblox FPS Unlocker
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'rbxfpsunlocker.exe'", , "Hide")
; RoundedTB
RunWait("komorebic.exe float-rule exe 'RoundedTB.exe'", , "Hide")
; RoundedTB
RunWait("komorebic.exe identify-border-overflow-application exe 'RoundedTB.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'RoundedTB.exe'", , "Hide")
; ShareX
RunWait("komorebic.exe identify-border-overflow-application exe 'ShareX.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'ShareX.exe'", , "Hide")
; Sideloadly
RunWait("komorebic.exe float-rule exe 'sideloadly.exe'", , "Hide")
; Signal
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'signal.exe'", , "Hide")
; SiriKali
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'sirikali.exe'", , "Hide")
; Slack
RunWait("komorebic.exe identify-border-overflow-application exe 'Slack.exe'", , "Hide")
RunWait("komorebic.exe manage-rule exe 'Slack.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'Slack.exe'", , "Hide")
; Slack
RunWait("komorebic.exe identify-border-overflow-application exe 'slack.exe'", , "Hide")
RunWait("komorebic.exe manage-rule exe 'slack.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'slack.exe'", , "Hide")
; Smart Install Maker
; Target hidden window spawned by installer
RunWait("komorebic.exe float-rule class 'obj_App'", , "Hide")
; Target installer
RunWait("komorebic.exe float-rule class 'obj_Form'", , "Hide")
; SoulseekQt
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'SoulseekQt.exe'", , "Hide")
; Spotify
RunWait("komorebic.exe identify-border-overflow-application exe 'Spotify.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'Spotify.exe'", , "Hide")
; Steam
RunWait("komorebic.exe identify-border-overflow-application class 'vguiPopupWindow'", , "Hide")
; Stremio
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'stremio.exe'", , "Hide")
; System Informer
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'SystemInformer.exe'", , "Hide")
RunWait("komorebic.exe float-rule exe 'SystemInformer.exe'", , "Hide")
; SystemSettings
RunWait("komorebic.exe float-rule class 'Shell_Dialog'", , "Hide")
; Task Manager
RunWait("komorebic.exe float-rule class 'TaskManagerWindow'", , "Hide")
; Telegram
RunWait("komorebic.exe identify-border-overflow-application exe 'Telegram.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'Telegram.exe'", , "Hide")
; TouchCursor
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'tcconfig.exe'", , "Hide")
RunWait("komorebic.exe float-rule exe 'tcconfig.exe'", , "Hide")
; TranslucentTB
RunWait("komorebic.exe float-rule exe 'TranslucentTB.exe'", , "Hide")
; TranslucentTB
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'TranslucentTB.exe'", , "Hide")
; Unreal Editor
RunWait("komorebic.exe identify-border-overflow-application exe 'UnrealEditor.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'UnrealEditor.exe'", , "Hide")
; VRCX
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'VRCX.exe'", , "Hide")
; Visual Studio
RunWait("komorebic.exe identify-object-name-change-application exe 'devenv.exe'", , "Hide")
; Visual Studio Code
RunWait("komorebic.exe identify-border-overflow-application exe 'Code.exe'", , "Hide")
; Voice.ai
RunWait("komorebic.exe identify-border-overflow-application exe 'VoiceAI.exe'", , "Hide")
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'VoiceAI.exe'", , "Hide")
; WebTorrent Desktop
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'WebTorrent.exe'", , "Hide")
; WinZip (32-bit)
RunWait("komorebic.exe float-rule exe 'winzip32.exe'", , "Hide")
; WinZip (64-bit)
RunWait("komorebic.exe float-rule exe 'winzip64.exe'", , "Hide")
; Windows Console (conhost.exe)
RunWait("komorebic.exe manage-rule class 'ConsoleWindowClass'", , "Hide")
; Windows Explorer
; Targets copy/move operation windows
RunWait("komorebic.exe float-rule class 'OperationStatusWindow'", , "Hide")
RunWait("komorebic.exe float-rule title 'Control Panel'", , "Hide")
; Windows Installer
RunWait("komorebic.exe float-rule exe 'msiexec.exe'", , "Hide")
; WingetUI
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'WingetUI.exe'", , "Hide")
; WingetUI
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'wingetui.exe'", , "Hide")
; Wox
; Targets a hidden window spawned by Wox
RunWait("komorebic.exe float-rule title 'Hotkey sink'", , "Hide")
; XAMPP Control Panel
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'xampp-control.exe'", , "Hide")
; Zoom
RunWait("komorebic.exe float-rule exe 'Zoom.exe'", , "Hide")
; mpv.net
RunWait("komorebic.exe identify-object-name-change-application exe 'mpvnet.exe'", , "Hide")
; paint.net
RunWait("komorebic.exe float-rule exe 'paintdotnet.exe'", , "Hide")
; pinentry
RunWait("komorebic.exe float-rule exe 'pinentry.exe'", , "Hide")
; qBittorrent
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'qbittorrent.exe'", , "Hide")
; ueli
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
RunWait("komorebic.exe identify-tray-application exe 'ueli.exe'", , "Hide")
RunWait("komorebic.exe float-rule exe 'ueli.exe'", , "Hide")

View File

@@ -1,482 +1,482 @@
# Generated by komorebic.exe
# 1Password
komorebic.exe float-rule exe "1Password.exe"
komorebic.exe float-rule exe '1Password.exe'
# Ableton Live
# Targets VST2 windows
komorebic.exe float-rule class "AbletonVstPlugClass"
komorebic.exe float-rule class 'AbletonVstPlugClass'
# Targets VST3 windows
komorebic.exe float-rule class "Vst3PlugWindow"
komorebic.exe float-rule class 'Vst3PlugWindow'
# Adobe Creative Cloud
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application class "CreativeCloudDesktopWindowClass"
komorebic.exe identify-tray-application class 'CreativeCloudDesktopWindowClass'
# Adobe Photoshop
komorebic.exe identify-border-overflow-application class "Photoshop"
komorebic.exe identify-border-overflow-application class 'Photoshop'
# ArmCord
komorebic.exe identify-border-overflow-application exe "ArmCord.exe"
komorebic.exe identify-border-overflow-application exe 'ArmCord.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "ArmCord.exe"
komorebic.exe identify-tray-application exe 'ArmCord.exe'
# AutoHotkey
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "AutoHotkeyU64.exe"
komorebic.exe float-rule title "Window Spy"
komorebic.exe identify-tray-application exe 'AutoHotkeyU64.exe'
komorebic.exe float-rule title 'Window Spy'
# Beeper
komorebic.exe identify-border-overflow-application exe "Beeper.exe"
komorebic.exe identify-border-overflow-application exe 'Beeper.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "Beeper.exe"
komorebic.exe identify-tray-application exe 'Beeper.exe'
# Bitwarden
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "Bitwarden.exe"
komorebic.exe identify-tray-application exe 'Bitwarden.exe'
# Bloxstrap
komorebic.exe float-rule exe "Bloxstrap.exe"
komorebic.exe float-rule exe 'Bloxstrap.exe'
# Calculator
komorebic.exe float-rule title "Calculator"
komorebic.exe float-rule title 'Calculator'
# Credential Manager UI Host
# Targets the Windows popup prompting you for a PIN instead of a password on 1Password etc.
komorebic.exe float-rule exe "CredentialUIBroker.exe"
komorebic.exe float-rule exe 'CredentialUIBroker.exe'
# Cron
komorebic.exe identify-border-overflow-application exe "Cron.exe"
komorebic.exe identify-border-overflow-application exe 'Cron.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "Cron.exe"
komorebic.exe identify-tray-application exe 'Cron.exe'
# Delphi applications
# Target hidden window spawned by Delphi applications
komorebic.exe float-rule class "TApplication"
komorebic.exe float-rule class 'TApplication'
# Target Inno Setup installers
komorebic.exe float-rule class "TWizardForm"
komorebic.exe float-rule class 'TWizardForm'
# Discord
komorebic.exe identify-border-overflow-application exe "Discord.exe"
komorebic.exe identify-border-overflow-application exe 'Discord.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "Discord.exe"
komorebic.exe identify-tray-application exe 'Discord.exe'
# DiscordCanary
komorebic.exe identify-border-overflow-application exe "DiscordCanary.exe"
komorebic.exe identify-border-overflow-application exe 'DiscordCanary.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "DiscordCanary.exe"
komorebic.exe identify-tray-application exe 'DiscordCanary.exe'
# DiscordDevelopment
komorebic.exe identify-border-overflow-application exe "DiscordDevelopment.exe"
komorebic.exe identify-border-overflow-application exe 'DiscordDevelopment.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "DiscordDevelopment.exe"
komorebic.exe identify-tray-application exe 'DiscordDevelopment.exe'
# DiscordPTB
komorebic.exe identify-border-overflow-application exe "DiscordPTB.exe"
komorebic.exe identify-border-overflow-application exe 'DiscordPTB.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "DiscordPTB.exe"
komorebic.exe identify-tray-application exe 'DiscordPTB.exe'
# Dropbox
komorebic.exe float-rule exe "Dropbox.exe"
komorebic.exe float-rule exe 'Dropbox.exe'
# ElectronMail
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "ElectronMail.exe"
komorebic.exe identify-tray-application exe 'ElectronMail.exe'
# Element
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "Element.exe"
komorebic.exe identify-tray-application exe 'Element.exe'
# Elephicon
komorebic.exe float-rule exe "Elephicon.exe"
komorebic.exe float-rule exe 'Elephicon.exe'
# ElevenClock
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "ElevenClock.exe"
komorebic.exe identify-tray-application exe 'ElevenClock.exe'
# Elgato Camera Hub
komorebic.exe float-rule exe "Camera Hub.exe"
komorebic.exe float-rule exe 'Camera Hub.exe'
# Elgato Control Center
komorebic.exe float-rule exe "ControlCenter.exe"
komorebic.exe float-rule exe 'ControlCenter.exe'
# Elgato Wave Link
komorebic.exe float-rule exe "WaveLink.exe"
komorebic.exe float-rule exe 'WaveLink.exe'
# Epic Games Launcher
komorebic.exe identify-border-overflow-application exe "EpicGamesLauncher.exe"
komorebic.exe identify-border-overflow-application exe 'EpicGamesLauncher.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "EpicGamesLauncher.exe"
komorebic.exe identify-tray-application exe 'EpicGamesLauncher.exe'
# Flow Launcher
komorebic.exe identify-border-overflow-application exe "Flow.Launcher.exe"
komorebic.exe identify-border-overflow-application exe 'Flow.Launcher.exe'
# GOG Galaxy
komorebic.exe identify-border-overflow-application exe "GalaxyClient.exe"
komorebic.exe manage-rule exe "GalaxyClient.exe"
komorebic.exe identify-border-overflow-application exe 'GalaxyClient.exe'
komorebic.exe manage-rule exe 'GalaxyClient.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "GalaxyClient.exe"
komorebic.exe identify-tray-application exe 'GalaxyClient.exe'
# Targets a hidden window spawned by GOG Galaxy
komorebic.exe float-rule class "Chrome_RenderWidgetHostHWND"
komorebic.exe float-rule class 'Chrome_RenderWidgetHostHWND'
# GoPro Webcam
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application class "GoPro Webcam"
komorebic.exe identify-tray-application class 'GoPro Webcam'
# Godot Manager
komorebic.exe identify-border-overflow-application exe "GodotManager.exe"
komorebic.exe manage-rule exe "GodotManager.exe"
komorebic.exe identify-object-name-change-application exe "GodotManager.exe"
komorebic.exe identify-border-overflow-application exe 'GodotManager.exe'
komorebic.exe manage-rule exe 'GodotManager.exe'
komorebic.exe identify-object-name-change-application exe 'GodotManager.exe'
# Google Chrome
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "chrome.exe"
komorebic.exe identify-tray-application exe 'chrome.exe'
# Google Drive
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "GoogleDriveFS.exe"
komorebic.exe identify-tray-application exe 'GoogleDriveFS.exe'
# Houdoku
komorebic.exe identify-border-overflow-application exe "Houdoku.exe"
komorebic.exe identify-border-overflow-application exe 'Houdoku.exe'
# IntelliJ IDEA
komorebic.exe identify-object-name-change-application exe "idea64.exe"
komorebic.exe identify-object-name-change-application exe 'idea64.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "idea64.exe"
komorebic.exe identify-tray-application exe 'idea64.exe'
# Targets JetBrains IDE popups and floating windows
komorebic.exe float-rule class "SunAwtDialog"
komorebic.exe float-rule class 'SunAwtDialog'
# Itch.io
komorebic.exe identify-border-overflow-application exe "itch.exe"
komorebic.exe identify-border-overflow-application exe 'itch.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "itch.exe"
komorebic.exe identify-tray-application exe 'itch.exe'
# Keyviz
komorebic.exe float-rule exe "keyviz.exe"
komorebic.exe float-rule exe 'keyviz.exe'
# Kleopatra
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "kleopatra.exe"
komorebic.exe identify-tray-application exe 'kleopatra.exe'
# Kotatogram
komorebic.exe identify-border-overflow-application exe "Kotatogram.exe"
komorebic.exe identify-border-overflow-application exe 'Kotatogram.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "Kotatogram.exe"
komorebic.exe identify-tray-application exe 'Kotatogram.exe'
# LocalSend
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "localsend_app.exe"
komorebic.exe identify-tray-application exe 'localsend_app.exe'
# Logi Bolt
komorebic.exe float-rule exe "LogiBolt.exe"
komorebic.exe float-rule exe 'LogiBolt.exe'
# LogiTune
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "LogiTune.exe"
komorebic.exe float-rule exe "LogiTune.exe"
komorebic.exe identify-tray-application exe 'LogiTune.exe'
komorebic.exe float-rule exe 'LogiTune.exe'
# Logitech G HUB
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "lghub.exe"
komorebic.exe identify-border-overflow-application exe "lghub.exe"
komorebic.exe identify-tray-application exe 'lghub.exe'
komorebic.exe identify-border-overflow-application exe 'lghub.exe'
# Logitech Options
komorebic.exe float-rule exe "LogiOptionsUI.exe"
komorebic.exe float-rule exe 'LogiOptionsUI.exe'
# Mailspring
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "mailspring.exe"
komorebic.exe identify-tray-application exe 'mailspring.exe'
# ManyCam
komorebic.exe identify-border-overflow-application exe "ManyCam.exe"
komorebic.exe identify-border-overflow-application exe 'ManyCam.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "ManyCam.exe"
komorebic.exe identify-tray-application exe 'ManyCam.exe'
# Mica For Everyone
# Microsoft Excel
komorebic.exe identify-border-overflow-application exe "EXCEL.EXE"
komorebic.exe identify-layered-application exe "EXCEL.EXE"
komorebic.exe identify-border-overflow-application exe 'EXCEL.EXE'
komorebic.exe identify-layered-application exe 'EXCEL.EXE'
# Targets a hidden window spawned by Microsoft Office applications
komorebic.exe float-rule class "_WwB"
komorebic.exe float-rule class '_WwB'
# Microsoft Outlook
komorebic.exe identify-border-overflow-application exe "OUTLOOK.EXE"
komorebic.exe identify-layered-application exe "OUTLOOK.EXE"
komorebic.exe identify-border-overflow-application exe 'OUTLOOK.EXE'
komorebic.exe identify-layered-application exe 'OUTLOOK.EXE'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "OUTLOOK.EXE"
komorebic.exe identify-tray-application exe 'OUTLOOK.EXE'
# Microsoft PC Manager
komorebic.exe float-rule exe "MSPCManager.exe"
komorebic.exe float-rule exe 'MSPCManager.exe'
# Microsoft PowerPoint
komorebic.exe identify-border-overflow-application exe "POWERPNT.EXE"
komorebic.exe identify-layered-application exe "POWERPNT.EXE"
komorebic.exe identify-border-overflow-application exe 'POWERPNT.EXE'
komorebic.exe identify-layered-application exe 'POWERPNT.EXE'
# Microsoft Teams
komorebic.exe identify-border-overflow-application exe "Teams.exe"
komorebic.exe identify-border-overflow-application exe 'Teams.exe'
# Target Teams pop-up notification windows
komorebic.exe float-rule title "Microsoft Teams Notification"
komorebic.exe float-rule title 'Microsoft Teams Notification'
# Target Teams call in progress windows
komorebic.exe float-rule title "Microsoft Teams Call"
komorebic.exe float-rule title 'Microsoft Teams Call'
# Microsoft Word
komorebic.exe identify-border-overflow-application exe "WINWORD.EXE"
komorebic.exe identify-layered-application exe "WINWORD.EXE"
komorebic.exe identify-border-overflow-application exe 'WINWORD.EXE'
komorebic.exe identify-layered-application exe 'WINWORD.EXE'
# Modern Flyouts
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "ModernFlyoutsHost.exe"
komorebic.exe identify-tray-application exe 'ModernFlyoutsHost.exe'
# Mozilla Firefox
komorebic.exe identify-object-name-change-application exe "firefox.exe"
komorebic.exe identify-object-name-change-application exe 'firefox.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "firefox.exe"
komorebic.exe identify-tray-application exe 'firefox.exe'
# Targets invisible windows spawned by Firefox to show tab previews in the taskbar
komorebic.exe float-rule class "MozillaTaskbarPreviewClass"
komorebic.exe float-rule class 'MozillaTaskbarPreviewClass'
# NVIDIA GeForce Experience
komorebic.exe identify-border-overflow-application exe "NVIDIA GeForce Experience.exe"
komorebic.exe identify-border-overflow-application exe 'NVIDIA GeForce Experience.exe'
# NiceHash Miner
komorebic.exe identify-border-overflow-application exe "nhm_app.exe"
komorebic.exe manage-rule exe "nhm_app.exe"
komorebic.exe identify-border-overflow-application exe 'nhm_app.exe'
komorebic.exe manage-rule exe 'nhm_app.exe'
# NohBoard
komorebic.exe float-rule exe "NohBoard.exe"
komorebic.exe float-rule exe 'NohBoard.exe'
# Notion Enhanced
komorebic.exe identify-border-overflow-application exe "Notion Enhanced.exe"
komorebic.exe identify-border-overflow-application exe 'Notion Enhanced.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "Notion Enhanced.exe"
komorebic.exe identify-tray-application exe 'Notion Enhanced.exe'
# OBS Studio (32-bit)
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "obs32.exe"
komorebic.exe identify-tray-application exe 'obs32.exe'
# OBS Studio (64-bit)
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "obs64.exe"
komorebic.exe identify-tray-application exe 'obs64.exe'
# ONLYOFFICE Editors
komorebic.exe identify-border-overflow-application class "DocEditorsWindowClass"
komorebic.exe identify-border-overflow-application class 'DocEditorsWindowClass'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application class "DocEditorsWindowClass"
komorebic.exe identify-tray-application class 'DocEditorsWindowClass'
# Obsidian
komorebic.exe identify-border-overflow-application exe "Obsidian.exe"
komorebic.exe manage-rule exe "Obsidian.exe"
komorebic.exe identify-border-overflow-application exe 'Obsidian.exe'
komorebic.exe manage-rule exe 'Obsidian.exe'
# OpenRGB
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "OpenRGB.exe"
komorebic.exe identify-tray-application exe 'OpenRGB.exe'
# Paradox Launcher
komorebic.exe float-rule exe "Paradox Launcher.exe"
komorebic.exe float-rule exe 'Paradox Launcher.exe'
# Plexamp
komorebic.exe identify-border-overflow-application exe "Plexamp.exe"
komorebic.exe identify-border-overflow-application exe 'Plexamp.exe'
# PowerToys
# Target color picker dialog
komorebic.exe float-rule exe "PowerToys.ColorPickerUI.exe"
komorebic.exe float-rule exe 'PowerToys.ColorPickerUI.exe'
# Target image resizer dialog
komorebic.exe float-rule exe "PowerToys.ImageResizer.exe"
komorebic.exe float-rule exe 'PowerToys.ImageResizer.exe'
# Process Hacker
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "ProcessHacker.exe"
komorebic.exe float-rule exe "ProcessHacker.exe"
komorebic.exe identify-tray-application exe 'ProcessHacker.exe'
komorebic.exe float-rule exe 'ProcessHacker.exe'
# ProtonVPN
komorebic.exe identify-border-overflow-application exe "ProtonVPN.exe"
komorebic.exe identify-border-overflow-application exe 'ProtonVPN.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "ProtonVPN.exe"
komorebic.exe identify-tray-application exe 'ProtonVPN.exe'
# PyCharm
komorebic.exe identify-object-name-change-application exe "pycharm64.exe"
komorebic.exe identify-object-name-change-application exe 'pycharm64.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "pycharm64.exe"
komorebic.exe identify-tray-application exe 'pycharm64.exe'
# QtScrcpy
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "QtScrcpy.exe"
komorebic.exe identify-tray-application exe 'QtScrcpy.exe'
# QuickLook
komorebic.exe float-rule exe "QuickLook.exe"
komorebic.exe float-rule exe 'QuickLook.exe'
# RepoZ
komorebic.exe float-rule exe "RepoZ.exe"
komorebic.exe float-rule exe 'RepoZ.exe'
# Rider
komorebic.exe identify-object-name-change-application exe "rider64.exe"
komorebic.exe identify-object-name-change-application exe 'rider64.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "rider64.exe"
komorebic.exe identify-tray-application exe 'rider64.exe'
# Roblox FPS Unlocker
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "rbxfpsunlocker.exe"
komorebic.exe identify-tray-application exe 'rbxfpsunlocker.exe'
# RoundedTB
komorebic.exe float-rule exe "RoundedTB.exe"
komorebic.exe float-rule exe 'RoundedTB.exe'
# RoundedTB
komorebic.exe identify-border-overflow-application exe "RoundedTB.exe"
komorebic.exe identify-border-overflow-application exe 'RoundedTB.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "RoundedTB.exe"
komorebic.exe identify-tray-application exe 'RoundedTB.exe'
# ShareX
komorebic.exe identify-border-overflow-application exe "ShareX.exe"
komorebic.exe identify-border-overflow-application exe 'ShareX.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "ShareX.exe"
komorebic.exe identify-tray-application exe 'ShareX.exe'
# Sideloadly
komorebic.exe float-rule exe "sideloadly.exe"
komorebic.exe float-rule exe 'sideloadly.exe'
# Signal
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "signal.exe"
komorebic.exe identify-tray-application exe 'signal.exe'
# SiriKali
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "sirikali.exe"
komorebic.exe identify-tray-application exe 'sirikali.exe'
# Slack
komorebic.exe identify-border-overflow-application exe "Slack.exe"
komorebic.exe manage-rule exe "Slack.exe"
komorebic.exe identify-border-overflow-application exe 'Slack.exe'
komorebic.exe manage-rule exe 'Slack.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "Slack.exe"
komorebic.exe identify-tray-application exe 'Slack.exe'
# Slack
komorebic.exe identify-border-overflow-application exe "slack.exe"
komorebic.exe manage-rule exe "slack.exe"
komorebic.exe identify-border-overflow-application exe 'slack.exe'
komorebic.exe manage-rule exe 'slack.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "slack.exe"
komorebic.exe identify-tray-application exe 'slack.exe'
# Smart Install Maker
# Target hidden window spawned by installer
komorebic.exe float-rule class "obj_App"
komorebic.exe float-rule class 'obj_App'
# Target installer
komorebic.exe float-rule class "obj_Form"
komorebic.exe float-rule class 'obj_Form'
# SoulseekQt
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "SoulseekQt.exe"
komorebic.exe identify-tray-application exe 'SoulseekQt.exe'
# Spotify
komorebic.exe identify-border-overflow-application exe "Spotify.exe"
komorebic.exe identify-border-overflow-application exe 'Spotify.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "Spotify.exe"
komorebic.exe identify-tray-application exe 'Spotify.exe'
# Steam
komorebic.exe identify-border-overflow-application class "vguiPopupWindow"
komorebic.exe identify-border-overflow-application class 'vguiPopupWindow'
# Stremio
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "stremio.exe"
komorebic.exe identify-tray-application exe 'stremio.exe'
# System Informer
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "SystemInformer.exe"
komorebic.exe float-rule exe "SystemInformer.exe"
komorebic.exe identify-tray-application exe 'SystemInformer.exe'
komorebic.exe float-rule exe 'SystemInformer.exe'
# SystemSettings
komorebic.exe float-rule class "Shell_Dialog"
komorebic.exe float-rule class 'Shell_Dialog'
# Task Manager
komorebic.exe float-rule class "TaskManagerWindow"
komorebic.exe float-rule class 'TaskManagerWindow'
# Telegram
komorebic.exe identify-border-overflow-application exe "Telegram.exe"
komorebic.exe identify-border-overflow-application exe 'Telegram.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "Telegram.exe"
komorebic.exe identify-tray-application exe 'Telegram.exe'
# TouchCursor
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "tcconfig.exe"
komorebic.exe float-rule exe "tcconfig.exe"
komorebic.exe identify-tray-application exe 'tcconfig.exe'
komorebic.exe float-rule exe 'tcconfig.exe'
# TranslucentTB
komorebic.exe float-rule exe "TranslucentTB.exe"
komorebic.exe float-rule exe 'TranslucentTB.exe'
# TranslucentTB
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "TranslucentTB.exe"
komorebic.exe identify-tray-application exe 'TranslucentTB.exe'
# Unreal Editor
komorebic.exe identify-border-overflow-application exe "UnrealEditor.exe"
komorebic.exe identify-border-overflow-application exe 'UnrealEditor.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "UnrealEditor.exe"
komorebic.exe identify-tray-application exe 'UnrealEditor.exe'
# VRCX
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "VRCX.exe"
komorebic.exe identify-tray-application exe 'VRCX.exe'
# Visual Studio
komorebic.exe identify-object-name-change-application exe "devenv.exe"
komorebic.exe identify-object-name-change-application exe 'devenv.exe'
# Visual Studio Code
komorebic.exe identify-border-overflow-application exe "Code.exe"
komorebic.exe identify-border-overflow-application exe 'Code.exe'
# Voice.ai
komorebic.exe identify-border-overflow-application exe "VoiceAI.exe"
komorebic.exe identify-border-overflow-application exe 'VoiceAI.exe'
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "VoiceAI.exe"
komorebic.exe identify-tray-application exe 'VoiceAI.exe'
# WebTorrent Desktop
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "WebTorrent.exe"
komorebic.exe identify-tray-application exe 'WebTorrent.exe'
# WinZip (32-bit)
komorebic.exe float-rule exe "winzip32.exe"
komorebic.exe float-rule exe 'winzip32.exe'
# WinZip (64-bit)
komorebic.exe float-rule exe "winzip64.exe"
komorebic.exe float-rule exe 'winzip64.exe'
# Windows Console (conhost.exe)
komorebic.exe manage-rule class "ConsoleWindowClass"
komorebic.exe manage-rule class 'ConsoleWindowClass'
# Windows Explorer
# Targets copy/move operation windows
komorebic.exe float-rule class "OperationStatusWindow"
komorebic.exe float-rule title "Control Panel"
komorebic.exe float-rule class 'OperationStatusWindow'
komorebic.exe float-rule title 'Control Panel'
# Windows Installer
komorebic.exe float-rule exe "msiexec.exe"
komorebic.exe float-rule exe 'msiexec.exe'
# WingetUI
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "WingetUI.exe"
komorebic.exe identify-tray-application exe 'WingetUI.exe'
# WingetUI
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "wingetui.exe"
komorebic.exe identify-tray-application exe 'wingetui.exe'
# Wox
# Targets a hidden window spawned by Wox
komorebic.exe float-rule title "Hotkey sink"
komorebic.exe float-rule title 'Hotkey sink'
# XAMPP Control Panel
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "xampp-control.exe"
komorebic.exe identify-tray-application exe 'xampp-control.exe'
# Zoom
komorebic.exe float-rule exe "Zoom.exe"
komorebic.exe float-rule exe 'Zoom.exe'
# mpv.net
komorebic.exe identify-object-name-change-application exe "mpvnet.exe"
komorebic.exe identify-object-name-change-application exe 'mpvnet.exe'
# paint.net
komorebic.exe float-rule exe "paintdotnet.exe"
komorebic.exe float-rule exe 'paintdotnet.exe'
# pinentry
komorebic.exe float-rule exe "pinentry.exe"
komorebic.exe float-rule exe 'pinentry.exe'
# qBittorrent
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "qbittorrent.exe"
komorebic.exe identify-tray-application exe 'qbittorrent.exe'
# ueli
# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
komorebic.exe identify-tray-application exe "ueli.exe"
komorebic.exe float-rule exe "ueli.exe"
komorebic.exe identify-tray-application exe 'ueli.exe'
komorebic.exe float-rule exe 'ueli.exe'

456
komorebic.lib.ahk Normal file
View File

@@ -0,0 +1,456 @@
#Requires AutoHotkey v2.0.2
#SingleInstance Force
; Generated by komorebic.exe
Start(ffm, await_configuration, tcp_port) {
RunWait("komorebic.exe start " ffm " --await-configuration " await_configuration " --tcp-port " tcp_port, , "Hide")
}
Stop() {
RunWait("komorebic.exe stop", , "Hide")
}
State() {
RunWait("komorebic.exe state", , "Hide")
}
Query(state_query) {
RunWait("komorebic.exe query " state_query, , "Hide")
}
Subscribe(named_pipe) {
RunWait("komorebic.exe subscribe " named_pipe, , "Hide")
}
Unsubscribe(named_pipe) {
RunWait("komorebic.exe unsubscribe " named_pipe, , "Hide")
}
Log() {
RunWait("komorebic.exe log", , "Hide")
}
QuickSaveResize() {
RunWait("komorebic.exe quick-save-resize", , "Hide")
}
QuickLoadResize() {
RunWait("komorebic.exe quick-load-resize", , "Hide")
}
SaveResize(path) {
RunWait("komorebic.exe save-resize " path, , "Hide")
}
LoadResize(path) {
RunWait("komorebic.exe load-resize " path, , "Hide")
}
Focus(operation_direction) {
RunWait("komorebic.exe focus " operation_direction, , "Hide")
}
Move(operation_direction) {
RunWait("komorebic.exe move " operation_direction, , "Hide")
}
Minimize() {
RunWait("komorebic.exe minimize", , "Hide")
}
Close() {
RunWait("komorebic.exe close", , "Hide")
}
ForceFocus() {
RunWait("komorebic.exe force-focus", , "Hide")
}
CycleFocus(cycle_direction) {
RunWait("komorebic.exe cycle-focus " cycle_direction, , "Hide")
}
CycleMove(cycle_direction) {
RunWait("komorebic.exe cycle-move " cycle_direction, , "Hide")
}
Stack(operation_direction) {
RunWait("komorebic.exe stack " operation_direction, , "Hide")
}
Resize(edge, sizing) {
RunWait("komorebic.exe resize " edge " " sizing, , "Hide")
}
ResizeAxis(axis, sizing) {
RunWait("komorebic.exe resize-axis " axis " " sizing, , "Hide")
}
Unstack() {
RunWait("komorebic.exe unstack", , "Hide")
}
CycleStack(cycle_direction) {
RunWait("komorebic.exe cycle-stack " cycle_direction, , "Hide")
}
MoveToMonitor(target) {
RunWait("komorebic.exe move-to-monitor " target, , "Hide")
}
CycleMoveToMonitor(cycle_direction) {
RunWait("komorebic.exe cycle-move-to-monitor " cycle_direction, , "Hide")
}
MoveToWorkspace(target) {
RunWait("komorebic.exe move-to-workspace " target, , "Hide")
}
MoveToNamedWorkspace(workspace) {
RunWait("komorebic.exe move-to-named-workspace " workspace, , "Hide")
}
CycleMoveToWorkspace(cycle_direction) {
RunWait("komorebic.exe cycle-move-to-workspace " cycle_direction, , "Hide")
}
SendToMonitor(target) {
RunWait("komorebic.exe send-to-monitor " target, , "Hide")
}
CycleSendToMonitor(cycle_direction) {
RunWait("komorebic.exe cycle-send-to-monitor " cycle_direction, , "Hide")
}
SendToWorkspace(target) {
RunWait("komorebic.exe send-to-workspace " target, , "Hide")
}
SendToNamedWorkspace(workspace) {
RunWait("komorebic.exe send-to-named-workspace " workspace, , "Hide")
}
CycleSendToWorkspace(cycle_direction) {
RunWait("komorebic.exe cycle-send-to-workspace " cycle_direction, , "Hide")
}
SendToMonitorWorkspace(target_monitor, target_workspace) {
RunWait("komorebic.exe send-to-monitor-workspace " target_monitor " " target_workspace, , "Hide")
}
FocusMonitor(target) {
RunWait("komorebic.exe focus-monitor " target, , "Hide")
}
FocusWorkspace(target) {
RunWait("komorebic.exe focus-workspace " target, , "Hide")
}
FocusMonitorWorkspace(target_monitor, target_workspace) {
RunWait("komorebic.exe focus-monitor-workspace " target_monitor " " target_workspace, , "Hide")
}
FocusNamedWorkspace(workspace) {
RunWait("komorebic.exe focus-named-workspace " workspace, , "Hide")
}
CycleMonitor(cycle_direction) {
RunWait("komorebic.exe cycle-monitor " cycle_direction, , "Hide")
}
CycleWorkspace(cycle_direction) {
RunWait("komorebic.exe cycle-workspace " cycle_direction, , "Hide")
}
MoveWorkspaceToMonitor(target) {
RunWait("komorebic.exe move-workspace-to-monitor " target, , "Hide")
}
NewWorkspace() {
RunWait("komorebic.exe new-workspace", , "Hide")
}
ResizeDelta(pixels) {
RunWait("komorebic.exe resize-delta " pixels, , "Hide")
}
InvisibleBorders(left, top, right, bottom) {
RunWait("komorebic.exe invisible-borders " left " " top " " right " " bottom, , "Hide")
}
GlobalWorkAreaOffset(left, top, right, bottom) {
RunWait("komorebic.exe global-work-area-offset " left " " top " " right " " bottom, , "Hide")
}
MonitorWorkAreaOffset(monitor, left, top, right, bottom) {
RunWait("komorebic.exe monitor-work-area-offset " monitor " " left " " top " " right " " bottom, , "Hide")
}
AdjustContainerPadding(sizing, adjustment) {
RunWait("komorebic.exe adjust-container-padding " sizing " " adjustment, , "Hide")
}
AdjustWorkspacePadding(sizing, adjustment) {
RunWait("komorebic.exe adjust-workspace-padding " sizing " " adjustment, , "Hide")
}
ChangeLayout(default_layout) {
RunWait("komorebic.exe change-layout " default_layout, , "Hide")
}
LoadCustomLayout(path) {
RunWait("komorebic.exe load-custom-layout " path, , "Hide")
}
FlipLayout(axis) {
RunWait("komorebic.exe flip-layout " axis, , "Hide")
}
Promote() {
RunWait("komorebic.exe promote", , "Hide")
}
PromoteFocus() {
RunWait("komorebic.exe promote-focus", , "Hide")
}
Retile() {
RunWait("komorebic.exe retile", , "Hide")
}
MonitorIndexPreference(index_preference, left, top, right, bottom) {
RunWait("komorebic.exe monitor-index-preference " index_preference " " left " " top " " right " " bottom, , "Hide")
}
EnsureWorkspaces(monitor, workspace_count) {
RunWait("komorebic.exe ensure-workspaces " monitor " " workspace_count, , "Hide")
}
EnsureNamedWorkspaces(monitor, names) {
RunWait("komorebic.exe ensure-named-workspaces " monitor " " names, , "Hide")
}
ContainerPadding(monitor, workspace, size) {
RunWait("komorebic.exe container-padding " monitor " " workspace " " size, , "Hide")
}
NamedWorkspaceContainerPadding(workspace, size) {
RunWait("komorebic.exe named-workspace-container-padding " workspace " " size, , "Hide")
}
WorkspacePadding(monitor, workspace, size) {
RunWait("komorebic.exe workspace-padding " monitor " " workspace " " size, , "Hide")
}
NamedWorkspacePadding(workspace, size) {
RunWait("komorebic.exe named-workspace-padding " workspace " " size, , "Hide")
}
WorkspaceLayout(monitor, workspace, value) {
RunWait("komorebic.exe workspace-layout " monitor " " workspace " " value, , "Hide")
}
NamedWorkspaceLayout(workspace, value) {
RunWait("komorebic.exe named-workspace-layout " workspace " " value, , "Hide")
}
WorkspaceCustomLayout(monitor, workspace, path) {
RunWait("komorebic.exe workspace-custom-layout " monitor " " workspace " " path, , "Hide")
}
NamedWorkspaceCustomLayout(workspace, path) {
RunWait("komorebic.exe named-workspace-custom-layout " workspace " " path, , "Hide")
}
WorkspaceLayoutRule(monitor, workspace, at_container_count, layout) {
RunWait("komorebic.exe workspace-layout-rule " monitor " " workspace " " at_container_count " " layout, , "Hide")
}
NamedWorkspaceLayoutRule(workspace, at_container_count, layout) {
RunWait("komorebic.exe named-workspace-layout-rule " workspace " " at_container_count " " layout, , "Hide")
}
WorkspaceCustomLayoutRule(monitor, workspace, at_container_count, path) {
RunWait("komorebic.exe workspace-custom-layout-rule " monitor " " workspace " " at_container_count " " path, , "Hide")
}
NamedWorkspaceCustomLayoutRule(workspace, at_container_count, path) {
RunWait("komorebic.exe named-workspace-custom-layout-rule " workspace " " at_container_count " " path, , "Hide")
}
ClearWorkspaceLayoutRules(monitor, workspace) {
RunWait("komorebic.exe clear-workspace-layout-rules " monitor " " workspace, , "Hide")
}
ClearNamedWorkspaceLayoutRules(workspace) {
RunWait("komorebic.exe clear-named-workspace-layout-rules " workspace, , "Hide")
}
WorkspaceTiling(monitor, workspace, value) {
RunWait("komorebic.exe workspace-tiling " monitor " " workspace " " value, , "Hide")
}
NamedWorkspaceTiling(workspace, value) {
RunWait("komorebic.exe named-workspace-tiling " workspace " " value, , "Hide")
}
WorkspaceName(monitor, workspace, value) {
RunWait("komorebic.exe workspace-name " monitor " " workspace " " value, , "Hide")
}
ToggleWindowContainerBehaviour() {
RunWait("komorebic.exe toggle-window-container-behaviour", , "Hide")
}
TogglePause() {
RunWait("komorebic.exe toggle-pause", , "Hide")
}
ToggleTiling() {
RunWait("komorebic.exe toggle-tiling", , "Hide")
}
ToggleFloat() {
RunWait("komorebic.exe toggle-float", , "Hide")
}
ToggleMonocle() {
RunWait("komorebic.exe toggle-monocle", , "Hide")
}
ToggleMaximize() {
RunWait("komorebic.exe toggle-maximize", , "Hide")
}
RestoreWindows() {
RunWait("komorebic.exe restore-windows", , "Hide")
}
Manage() {
RunWait("komorebic.exe manage", , "Hide")
}
Unmanage() {
RunWait("komorebic.exe unmanage", , "Hide")
}
ReloadConfiguration() {
RunWait("komorebic.exe reload-configuration", , "Hide")
}
WatchConfiguration(boolean_state) {
RunWait("komorebic.exe watch-configuration " boolean_state, , "Hide")
}
CompleteConfiguration() {
RunWait("komorebic.exe complete-configuration", , "Hide")
}
AltFocusHack(boolean_state) {
RunWait("komorebic.exe alt-focus-hack " boolean_state, , "Hide")
}
WindowHidingBehaviour(hiding_behaviour) {
RunWait("komorebic.exe window-hiding-behaviour " hiding_behaviour, , "Hide")
}
CrossMonitorMoveBehaviour(move_behaviour) {
RunWait("komorebic.exe cross-monitor-move-behaviour " move_behaviour, , "Hide")
}
ToggleCrossMonitorMoveBehaviour() {
RunWait("komorebic.exe toggle-cross-monitor-move-behaviour", , "Hide")
}
UnmanagedWindowOperationBehaviour(operation_behaviour) {
RunWait("komorebic.exe unmanaged-window-operation-behaviour " operation_behaviour, , "Hide")
}
FloatRule(identifier, id) {
RunWait("komorebic.exe float-rule " identifier " `"" id "`"", , "Hide")
}
ManageRule(identifier, id) {
RunWait("komorebic.exe manage-rule " identifier " `"" id "`"", , "Hide")
}
WorkspaceRule(identifier, id, monitor, workspace) {
RunWait("komorebic.exe workspace-rule " identifier " `"" id "`" " monitor " " workspace, , "Hide")
}
NamedWorkspaceRule(identifier, id, workspace) {
RunWait("komorebic.exe named-workspace-rule " identifier " `"" id "`" " workspace, , "Hide")
}
IdentifyObjectNameChangeApplication(identifier, id) {
RunWait("komorebic.exe identify-object-name-change-application " identifier " `"" id "`"", , "Hide")
}
IdentifyTrayApplication(identifier, id) {
RunWait("komorebic.exe identify-tray-application " identifier " `"" id "`"", , "Hide")
}
IdentifyLayeredApplication(identifier, id) {
RunWait("komorebic.exe identify-layered-application " identifier " `"" id "`"", , "Hide")
}
IdentifyBorderOverflowApplication(identifier, id) {
RunWait("komorebic.exe identify-border-overflow-application " identifier " `"" id "`"", , "Hide")
}
ActiveWindowBorder(boolean_state) {
RunWait("komorebic.exe active-window-border " boolean_state, , "Hide")
}
ActiveWindowBorderColour(r, g, b, window_kind) {
RunWait("komorebic.exe active-window-border-colour " r " " g " " b " --window-kind " window_kind, , "Hide")
}
ActiveWindowBorderWidth(width) {
RunWait("komorebic.exe active-window-border-width " width, , "Hide")
}
ActiveWindowBorderOffset(offset) {
RunWait("komorebic.exe active-window-border-offset " offset, , "Hide")
}
FocusFollowsMouse(boolean_state, implementation) {
RunWait("komorebic.exe focus-follows-mouse " boolean_state " --implementation " implementation, , "Hide")
}
ToggleFocusFollowsMouse(implementation) {
RunWait("komorebic.exe toggle-focus-follows-mouse --implementation " implementation, , "Hide")
}
MouseFollowsFocus(boolean_state) {
RunWait("komorebic.exe mouse-follows-focus " boolean_state, , "Hide")
}
ToggleMouseFollowsFocus() {
RunWait("komorebic.exe toggle-mouse-follows-focus", , "Hide")
}
AhkLibrary() {
RunWait("komorebic.exe ahk-library", , "Hide")
}
AhkAppSpecificConfiguration(path, override_path) {
RunWait("komorebic.exe ahk-app-specific-configuration " path " " override_path, , "Hide")
}
PwshAppSpecificConfiguration(path, override_path) {
RunWait("komorebic.exe pwsh-app-specific-configuration " path " " override_path, , "Hide")
}
FormatAppSpecificConfiguration(path) {
RunWait("komorebic.exe format-app-specific-configuration " path, , "Hide")
}
NotificationSchema() {
RunWait("komorebic.exe notification-schema", , "Hide")
}
SocketSchema() {
RunWait("komorebic.exe socket-schema", , "Hide")
}