#TIL that nostr:npub13hfv0rxyy6er553akhuc4cjxdc478m2p4jls2wmcjwegj52d9gcsq9dhhp has a ton of locations in its $PATH and some that aren't even created for new systems.
Long story short; I've `mkdir`-ed /nix/profile/bin into existence, copied two files to it and now they are in my $PATH. One is autostarted and uses the second to control the orientation of the screen and alters the pointer matrices to align them when I rotate my laptop. Aka `autorotate-sam 2.0`.
I can use just the second script on distros that don't have iio-sensor-proxy functioning. Just add some keybindings and Bob's your uncle.
In the coming days I'll probably update the nostr:npub1cujzmpp2d3ldueuk2wx3mqruvyfehr64rmh245t4qs2eux83arzsdjktrl repo ( https://codeberg.org/RyuKurisu/autorotate-sam )
#NixOS #Linux #TinkeringWithLinux