Skip to content

Borders

Borders draws a border around the active window on macOS. Combined with AeroSpace to visually distinguish focused windows.

SettingValue
StyleRound
Width7.0px
HiDPIOn
Active colorTheme-dependent
Inactive colorTheme-dependent

bordersrc sources colors.sh to get active/inactive colors. Running theme-switch changes the colors.

Terminal window
source "$(dirname "$0")/colors.sh"
options=(
style=round
width=7.0
hidpi=on
active_color="$active_color"
inactive_color="$inactive_color"
)
borders "${options[@]}"

Borders can be controlled via the ws command (Workspace CLI).

CommandAction
brdrBorders restart
brdsBorders start
brdkBorders stop