diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-02-16 19:16:10 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-02-16 19:16:20 +0100 |
| commit | fc62ca86ac5ee648391ce6453be850e1e73bf6a9 (patch) | |
| tree | cad50934ec6bc4b543d5379272ea748a673933c4 /scripts/controller-autostart-steam/,start-steam | |
| parent | 6ac0638df69bd13767f18dfb59311ab857121efb (diff) | |
feat(scripts): autostart steam when a controller is inserted
Diffstat (limited to 'scripts/controller-autostart-steam/,start-steam')
| -rwxr-xr-x | scripts/controller-autostart-steam/,start-steam | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/controller-autostart-steam/,start-steam b/scripts/controller-autostart-steam/,start-steam new file mode 100755 index 0000000..7f81f00 --- /dev/null +++ b/scripts/controller-autostart-steam/,start-steam @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +env_file="$HOME/.config/controller-autostart-steam.env" + +. $env_file + +powerprofilesctl set "$perf_inside" + +steam + +powerprofilesctl set "$perf_outside" + +rm "$lockfile" || echo "cannot delete $lockfile" |
