[BUG]: enable window border in ahk script #227

Closed
opened 2026-01-05 14:49:08 +01:00 by adam · 1 comment
Owner

Originally created by @rwijtvliet on GitHub (Jul 4, 2023).

Problem

The sample AHK script contains 3 lines to create a visual border:

; Uncomment the next lines if you want a visual border around the active window
ActiveWindowBorderColour(66, 165, 245, "single")
ActiveWindowBorderColour(256, 165, 66, "stack")
ActiveWindowBorderColour(255, 51, 153, "monocle")

However, this does not work, and no border is showing.

Solution

The following line is missing, and should be added below the other lines:

ActiveWindowBorder("enable")

Only with this line does the active window actually get a coloured border.

Originally created by @rwijtvliet on GitHub (Jul 4, 2023). **Problem** The sample AHK script contains 3 lines to create a visual border: ```ahk ; Uncomment the next lines if you want a visual border around the active window ActiveWindowBorderColour(66, 165, 245, "single") ActiveWindowBorderColour(256, 165, 66, "stack") ActiveWindowBorderColour(255, 51, 153, "monocle") ``` However, this does not work, and no border is showing. **Solution** The following line is missing, and should be added below the other lines: ```ahk ActiveWindowBorder("enable") ``` Only with this line does the active window actually get a coloured border.
adam added the bug label 2026-01-05 14:49:08 +01:00
adam closed this issue 2026-01-05 14:49:08 +01:00
Author
Owner

@LGUG2Z commented on GitHub (May 12, 2024):

This should now be handled in komorebi.json even when using AHK.

@LGUG2Z commented on GitHub (May 12, 2024): This should now be handled in `komorebi.json` even when using AHK.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#227