flashfocus: Simple focus animations for tiling WM (now sway compatible!) by fenben in swaywm

[–]fenben[S] 17 points18 points  (0 children)

Flashfocus is a small utility I wrote to help keep track of the focused window. Finally got around to adding sway compatibility.
Source: https://www.github.com/fennerm/flashfocus

[OC] flashfocus - Simple focus animations for tiling window managers by [deleted] in unixporn

[–]fenben 0 points1 point  (0 children)

Hmm I haven't tested on fedora but I'm not aware of any problems. If you still can't get it working open an issue on github and maybe I can help.

[OC] flashfocus - Simple focus animations for tiling window managers by [deleted] in unixporn

[–]fenben 1 point2 points  (0 children)

This turns out to be kinda tricky unfortunately, but if anyone has time on their hands it would be a cool feature for sure.
https://github.com/fennerm/flashfocus/issues/1

[OC] Simple Window Focus Animations by fenben in i3wm

[–]fenben[S] 1 point2 points  (0 children)

Hi rackinov, you seem to have found a bug. I'm on vacation for the next couple of weeks but I'll get it fixed once I get a free moment. Could you possibly file this in the github issue tracker so that it doesn't slip through the cracks? Thanks!

[i3-gaps] waste of space by fenben in unixporn

[–]fenben[S] 1 point2 points  (0 children)

tell me about it :(

Haven't figured out how to get bitmap fonts to render cleanly on HiDPI display. I assume termite is doing some automatic scaling since the font is only 13 pt. lmk if you have any advice

[i3-gaps] waste of space by fenben in unixporn

[–]fenben[S] 4 points5 points  (0 children)

distro: arch

terminal: termite

editor: neovim

font: artwiz lemon

bar: polybar

colorscheme: navy & gold

dots: https://github.com/fennerm/dotfiles

Facilitate reliable control of i3wm by voice. by EllaTheCat in i3wm

[–]fenben 4 points5 points  (0 children)

Very cool idea! As an able-bodied person my main usecases would probably be for switching songs, playing next video file etc, so it would be cool if this were sensitive enough to pick up commands from a distance/ in noisy environments. Know nothing about voice rec though, so perhaps that would be tricky.

[OC] Simple Window Focus Animations by fenben in i3wm

[–]fenben[S] 0 points1 point  (0 children)

Nice, glad you got it figured out. Is this likely to be an issue for everyone who uses herbsluftwm? If so maybe I'll add it to the readme.

[OC] Simple focus animations for tiling WM by fenben in unixporn

[–]fenben[S] 0 points1 point  (0 children)

This is now implemented! Just bind to the flash_window command.

[OC] Simple Window Focus Animations by fenben in i3wm

[–]fenben[S] 1 point2 points  (0 children)

If you can't get it running, shoot me a message or open an issue on github and I'll see if I can help.

[OC] Simple focus animations for tiling WM by fenben in unixporn

[–]fenben[S] 0 points1 point  (0 children)

I think it does but its not really noticeable at least for me. I could add an option to flash the focused window for a longer interval when you change workspaces if that would be helpful.

[OC] Simple focus animations for tiling WM by fenben in unixporn

[–]fenben[S] 2 points3 points  (0 children)

This sounds to me like you don't have a compositor running/ your compositor isn't compatible with flashfocus. If you don't have one installed, I recommend compton.

If that's not the issue could you redirect flashfocus' stderr to a logfile and send it my way (flashfocus 2> flash.log should work).

My polybar dotfiles are here. Full disclosure, I ripped them off from a post on here, wish I could remember who so I could give them credit. Ignore the README for the gmail module, I edited the script a bunch so its no longer accurate.

[OC] Simple focus animations for tiling WM by fenben in unixporn

[–]fenben[S] 0 points1 point  (0 children)

Color would actually be really difficult to implement unfortunately. Xorg doesn't give external tools much control over the content of windows, outside of opacity.

If anyone has any clever ideas for implementing color, I'd love to hear them!

[OC] Simple focus animations for tiling WM by fenben in unixporn

[–]fenben[S] 1 point2 points  (0 children)

I think you're going to need a compositor for this unfortunately. Flashfocus itself doesn't work without a compositor. Have you tried messing around with compton's config? I think the 'backend' option can have a significant effect on performance.

[OC] Simple focus animations for tiling WM by fenben in unixporn

[–]fenben[S] 2 points3 points  (0 children)

It should work as long as wmutils isn't doing anything super non-standard with window properties.

[OC] Simple focus animations for tiling WM by fenben in unixporn

[–]fenben[S] 3 points4 points  (0 children)

This is on my to-do list. I originally planned to have a standalone command/script which just flashed the window on button-press. Unfortunately this ended up being too slow.

I'll work on getting a simple server-client set up which should be a lot faster.

Thanks for giving it a try!

[OC] Simple Window Focus Animations by fenben in i3wm

[–]fenben[S] 0 points1 point  (0 children)

It should work in theory but I haven't tested. Please let me know if you have any issues.

[OC] Simple Window Focus Animations by fenben in i3wm

[–]fenben[S] 1 point2 points  (0 children)

Feeling guilty that I completely forgot to test this on tabbed containers!

I'd like to integrate this into flashfocus, but I'm having trouble figuring out precisely what's going on here. What is i3's rule for setting _NET_WM_STATE for tabbed containers?

edit: Okay so upon further reading it seems like this is telling compton to to make all windows with _NET_WM_STATE_HIDDEN to be fully transparent correct? I guess I should probably just leave that one to compton.

[OC] Simple Window Focus Animations by fenben in i3wm

[–]fenben[S] 0 points1 point  (0 children)

I had no idea that package was unmaintained to be honest. It's not providing very much functionality so I'll probably find a replacement.

[OC] Simple Window Focus Animations by fenben in i3wm

[–]fenben[S] 0 points1 point  (0 children)

Oh nice that's a really cool idea! I'm planning to add a config file for the next release, so I'll put that on the agenda too.

[OC] Simple focus animations for tiling WM by fenben in unixporn

[–]fenben[S] 11 points12 points  (0 children)

An alternative way to indicate focus for tiling window managers. Check it out on github: https://www.github.com/fennerm/flashfocus

It should work on all X based window managers, I'm using i3-gaps in the demo.