topaxi / 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

mkdir build

meson build

cd build

ninja install

Running

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

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

Touch rotation support

Please open an issue and list the touch devices of your specifications using hyprctl devices. The following list should refer to the device working:

  • Surface Pro
  • Lenovo Yoga
  • Zenbook
  • HP x360 EliteBook G9
  • Lenovo X1 Yoga Touch

About

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

License:GNU General Public License v3.0


Languages

Language:C 97.8%Language:Meson 2.2%