efernau / rot8

screen rotation daemon
MIT License
109 stars 27 forks source link

add temporary hyprland backend #77

Closed jacekpoz closed 4 months ago

jacekpoz commented 4 months ago

to be removed when https://github.com/hyprwm/Hyprland/pull/3544 is merged

wiki note: https://wiki.hyprland.org/Configuring/Monitors/#rotating

Smona commented 4 months ago

@jacekpoz nice work on the change, but I have just been able to confirm that https://github.com/hyprwm/Hyprland/pull/3544 is now in working condition! Maybe you can give that commit a try (along with the config to make it work)? If it works for you too it may be best to close this PR.

jacekpoz commented 4 months ago

I haven't tried that yet, I think it's a good idea to have this temporarily before that PR is merged - unless it's gonna get merged soon

jacekpoz commented 4 months ago

tested f52580717e65d86dafd9cf458e15919950e0625a, didn't work with no config changes and upstream rot8

not sure if any config changes are needed, will try again today in the evening / tomorrow and read through all the comments and code

if there's any config needed please let me know, I'll retest

Smona commented 4 months ago

I had to explicitly map touch inputs to my output name, like this:

input {
    touchdevice {
        output = eDP-1
    }
    tablet {
        output = eDP-1
    }
}
jacekpoz commented 4 months ago

sorry for the long response, that config does in fact work

closing, supported natively in hyprland now