mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-25 10:08:33 +02:00
feat(wm): make active border with configurable
This commit introduces a new command which lets the user set a custom width value for the active window border when it is enabled. Unfortunately a little more width is required when working with rounded windows on Windows 11 to fill the gap left by the rounding. The default width remains set at 20. re #232
This commit is contained in:
@@ -336,6 +336,10 @@ 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
|
||||
}
|
||||
|
||||
FocusFollowsMouse(boolean_state, implementation) {
|
||||
RunWait, komorebic.exe focus-follows-mouse %boolean_state% --implementation %implementation%, , Hide
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user