massive rewrite using flake-parts

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-12-08 01:00:12 +05:30
parent dfd8c57b60
commit aaf19ee844
45 changed files with 245 additions and 531 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
if [ $# != 2 ]; then
echo "Two args required"
exit 1
fi
if [ $1 == "on" ]; then
xinput --set-prop $2 'libinput Accel Profile Enabled' 0, 1
else
xinput --set-prop $2 'libinput Accel Profile Enabled' 1, 0
fi