GitHub - okeri/iio-sway: Listen iio-sensor-proxy and auto change sway output orientation · GitHub
Skip to content
okeriPublic

About

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

Topics

Resources

Stars

7 stars

Watchers

2 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

iio-sway

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

installing

  1. Make sure iio-sensor-proxy running
  2. add exec iio-sway to your sway config file

running

./iio-sway [sway-output to rotate, default=eDP-1], run swaymsg -t get_outputs to list.

NixOS with Home Manager

In your flake.nix

inputs.iio-sway.url = "github:tbaumann/iio-sway";

Use it in a home manager module

{ config, pkgs, ... }:

{
  imports = [ inputs.iio-sway.homeManagerModules.default ];

  programs.iio-sway = {
    enable = true;
    display = "HDMI-1"; # Optional
  };
}

About

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

Topics

Resources

Stars

7 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages