Giter VIP home page Giter VIP logo

iio-hyprland's Introduction

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

Nix/NixOS linux

To install localy

nix profile install github:JeanSchoeller/iio-hyprland

If you are using flakes to setup your system :

{
  inputs.iio-hyprland.url = "github:JeanSchoeller/iio-hyprland";
  outputs = {...}@inputs:{};
}

And add it to where you defined your packages :

{inputs, pkgs, ...}:{
  # ...
  environment.systemPackages = with pkgs; [
    inputs.iio-hyprland.packages.${pkgs.system}.default
  ]
  # ...
}

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.

iio-hyprland's People

Contributors

jeanschoeller avatar okeri avatar desktop31 avatar ronondex avatar topaxi avatar hijackeel avatar yassineibr avatar forgotmypasswd avatar short-circuit avatar estebiu avatar simongrout avatar jiskob avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.