What's the common way to indicate focus on a window?
Something I've been noticing, sometimes when I switch workspaces or just forget what I'm doing, there's not a great indication of which window currently has my focus.
For the terminal, the cursor may be full and/or blinking but that's not the greatest and most obvious visual cue.
What I'm curious of, is how are you usinig i3 to indicate which window has focus? I am using compton, so maybe transparency? E.g. focus window has no transparency, all other windows are 50% transparent. Or perhaps a border on the focused window?
Thank you in advance!
Posted Apr 5, 2017, 10:46 AM UTC
It's described in the i3 docs as "client.focused"
BTW: the <indicator> is one side of the client border, where you can set a different color. This color shows on which side on the focused window the next window will be opened (it'll show you horizontal or vertical tiling pretty easy)
Perfect, this looks like a great approach to bordering active and inactive windows appropriately. Thanks!
No problemo mi amigo. And don't forget the <indicator>! Since I found out, it makes setting up those terminal multiplexing workspaces quick and easy.
I should have mentioned this before, but I'm using i3-gaps. It looks like the
client.focused. It's because I have this set:If I remove that, it works. Is there any way to remove the title bar, but keep the border I suppose? I like this with
border pixel 0but it doesn't do much for me if I want to have an inactive border set to indicate focus. :-(Just set another value than
0in your example. 0 is the thickness of the border. :-)e.g. i use this: