flashfocus icon indicating copy to clipboard operation
flashfocus copied to clipboard

Support needed: hyprland

Open Zeioth opened this issue 2 years ago • 3 comments
trafficstars

This is the error when running

flashfocus

On hyprland

Traceback (most recent call last):
  File "/usr/bin/flashfocus", line 8, in <module>
    from flashfocus.cli import cli
  File "/usr/lib/python3.10/site-packages/flashfocus/cli.py", line 11, in <module>
    from flashfocus.config import init_user_configfile, load_merged_config
  File "/usr/lib/python3.10/site-packages/flashfocus/config.py", line 21, in <module>
    from flashfocus.compat import DisplayProtocol, get_display_protocol
  File "/usr/lib/python3.10/site-packages/flashfocus/compat.py", line 40, in <module>
    raise UnsupportedWM("This window manager is not supported yet.")
flashfocus.errors.UnsupportedWM: This window manager is not supported yet.

Zeioth avatar Apr 25 '23 04:04 Zeioth

there's https://github.com/hyprland-community/hyprland-py but it doesn't support windowrules yet so support may be dependant on that (and someone who uses hyprland and wants to add support for it here)

Artturin avatar Apr 25 '23 09:04 Artturin

It seems someone did an hyprland plugin of this too: https://github.com/VortexCoyote/hyprfocus

Zeioth avatar Apr 26 '23 01:04 Zeioth

Yeah hyprland is not supported atm. Unfortunately support for each wayland wm needs to be implemented separately. Wasn't aware of hyprfocus, will add a linkout to it in the README when I get a moment :)

fennerm avatar May 11 '23 01:05 fennerm