Nokogiri / iio-hyprland

Listen iio-sensor-proxy and auto change Hyprland output orientation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iio-hyprland

A fork of okeri/iio-sway for Hyprland

Listens to iio-sensor-proxy and automatically changes Hyprland output orientation

Installing

⚠️ Make sure iio-sensor-proxy running ⚠️

Arch linux

yay iio-hyprland-git

paru iio-hyprland-git

Build from scratch

git clone https://github.com/JeanSchoeller/iio-hyprland

cd iio-hyprland

sudo make install

Uninstalling

cd iio-hyprland

sudo make uninstall

Running

iio-hyprland [monitor to rotate, default=eDP-1], run hyprctl monitors to list available outputs.

Add exec-once = iio-hyprland to ~/.config/hypr/hyprland.conf

Some users reported that specifying the monitor in hyprland.conf could be necessary. For example, on Surface Pro:

monitor=eDP-1,preferred,auto,2,transform,0

Touch rotation support

Should automatically rotate all Tablets and Touch Devices from hyprctl devices. Thank you to Desktop31 for fetching the hyprctl devices output.

About

Listen iio-sensor-proxy and auto change Hyprland output orientation

License:GNU General Public License v3.0


Languages

Language:C 92.2%Language:Makefile 4.6%Language:Meson 3.2%