mirror of
https://github.com/RustyRaptor/deckrotate.git
synced 2026-12-03 15:55:20 -07:00
Go daemon reads the controller's accelerometer from hidraw (re-enabling the IMU that Steam switches off), debounces it into an orientation and rotates eDP-1 through kscreen-doctor in auto mode, or offers a layer-shell tap-to-rotate button in manual mode, with a persistent lock. Includes a D-Bus service, a CLI for global shortcuts (kglobalaccel service file), a Plasma system tray applet, a systemd user unit and hardware notes from probing the Deck OLED. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
316 B
Desktop File
14 lines
316 B
Desktop File
[Unit]
|
|
Description=deckrotate: Steam Deck screen rotation for Plasma
|
|
Documentation=https://github.com/RustyRaptor/deckrotate
|
|
PartOf=graphical-session.target
|
|
After=plasma-workspace.target
|
|
|
|
[Service]
|
|
ExecStart=%h/.local/bin/deckrotate daemon
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=plasma-workspace.target
|