aboutsummaryrefslogtreecommitdiff
path: root/scripts/controller-autostart-steam/99-controller-autostart-steam.rules
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-02-16 19:16:10 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-02-16 19:16:20 +0100
commitfc62ca86ac5ee648391ce6453be850e1e73bf6a9 (patch)
treecad50934ec6bc4b543d5379272ea748a673933c4 /scripts/controller-autostart-steam/99-controller-autostart-steam.rules
parent6ac0638df69bd13767f18dfb59311ab857121efb (diff)
feat(scripts): autostart steam when a controller is inserted
Diffstat (limited to 'scripts/controller-autostart-steam/99-controller-autostart-steam.rules')
-rw-r--r--scripts/controller-autostart-steam/99-controller-autostart-steam.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/controller-autostart-steam/99-controller-autostart-steam.rules b/scripts/controller-autostart-steam/99-controller-autostart-steam.rules
new file mode 100644
index 0000000..862c8a7
--- /dev/null
+++ b/scripts/controller-autostart-steam/99-controller-autostart-steam.rules
@@ -0,0 +1,2 @@
+# my Xbox 360 controller
+ATTR{idVendor}=="0e6f", ATTR{idProduct}=="0413", ACTION=="add", RUN+="/usr/bin/sudo -u anhgelus /home/anhgelus/.local/bin/,controller-add"