Border to highlight floating windows #1686
-
|
Hi, I currently use JankyBorders to highlight the active window. What I'd like to do is use a different colour for when the window is floating compared to when it is tiled. Is that possible to do? I can use I also suspect there isn't a trigger/event when the window switches between layouts to once again update the border colour accordingly. Have I missed anything in the docs or is what I want to do simply not possible? Thanks in advance for any help that anyone can provide. Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
|
Just in case someone comes across this. I worked on #1161 and that went in to v0.20.0-beta. With that I now have... ..in #!/usr/bin/env zsh
if [[ "$(aerospace list-windows --focused --format %{window-parent-container-layout})" == "floating" ]]; then
borders active_color=0xff94e2d5 inactive_color=0xff494d64 width=8.0
else
borders active_color=0xffe1e3e4 inactive_color=0xff494d64 width=5.0
fiHTH |
Beta Was this translation helpful? Give feedback.
#1161