K65 Studio: Linux control app for the Corsair K65 PLUS Wireless

Bragi protocol over hidraw, device service with heartbeat and
notifications, PySide6 UI with animated preview, profiles, tray,
autostart, udev rule and installer.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-10-23 21:02:59 +02:00
commit 7e276912da
23 files changed
+2631

No files matched your search

+56
View File
@@ -0,0 +1,56 @@
ACCENT = "#19d3c5"
STYLESHEET = f"""
QWidget {{
background: #101216;
color: #e6e8eb;
font-size: 13px;
}}
QLabel, QCheckBox {{ background: transparent; }}
QLabel#title {{ font-size: 18px; font-weight: 600; letter-spacing: 1px; }}
QLabel#section {{ font-size: 15px; font-weight: 600; margin-top: 4px; }}
QLabel#muted, QLabel#hint {{ color: #8b919c; }}
QLabel#chip {{
background: #1b1e24; border: 1px solid #2a2e36; border-radius: 11px;
padding: 3px 10px;
}}
QFrame#header {{ background: #0b0d10; border-bottom: 1px solid #22262d; }}
QFrame#card {{ background: #161920; border: 1px solid #23272f; border-radius: 10px; }}
QListWidget {{
background: transparent; border: none; outline: none;
}}
QListWidget::item {{
padding: 9px 12px; border-radius: 6px; margin: 1px 0;
}}
QListWidget::item:hover {{ background: #1b1f26; }}
QListWidget::item:selected {{ background: #1f2a2e; color: {ACCENT}; }}
QListWidget#nav::item {{ padding: 12px 14px; font-size: 14px; }}
QPushButton {{
background: #1d2128; border: 1px solid #2c313a; border-radius: 6px; padding: 7px 14px;
}}
QPushButton:hover {{ border-color: {ACCENT}; }}
QPushButton:checked {{ background: #17393a; border-color: {ACCENT}; color: {ACCENT}; }}
QPushButton:disabled {{ color: #5a606a; border-color: #23272e; }}
QPushButton#swatch {{ border-radius: 14px; padding: 0; min-width: 28px; min-height: 28px; max-width: 28px; max-height: 28px; }}
QPushButton#color {{ min-width: 110px; min-height: 34px; font-weight: 600; }}
QComboBox, QSpinBox {{
background: #1d2128; border: 1px solid #2c313a; border-radius: 6px; padding: 5px 10px; min-height: 22px;
}}
QComboBox:hover, QSpinBox:hover {{ border-color: {ACCENT}; }}
QComboBox QAbstractItemView {{ background: #1d2128; selection-background-color: #1f2a2e; }}
QCheckBox {{ spacing: 10px; padding: 4px 0; }}
QCheckBox::indicator {{ width: 18px; height: 18px; border-radius: 4px; border: 1px solid #3a404a; background: #1d2128; }}
QCheckBox::indicator:checked {{ background: {ACCENT}; border-color: {ACCENT}; }}
QCheckBox:disabled {{ color: #5a606a; }}
QSlider::groove:horizontal {{ height: 6px; background: #262a32; border-radius: 3px; }}
QSlider::sub-page:horizontal {{ background: {ACCENT}; border-radius: 3px; }}
QSlider::handle:horizontal {{ width: 16px; margin: -6px 0; border-radius: 8px; background: #e6e8eb; }}
QProgressBar {{ background: #262a32; border: none; border-radius: 4px; height: 8px; text-align: center; }}
QProgressBar::chunk {{ background: {ACCENT}; border-radius: 4px; }}
QScrollArea {{ border: none; }}
QScrollBar:vertical {{ background: transparent; width: 8px; margin: 2px; }}
QScrollBar::handle:vertical {{ background: #2c313a; border-radius: 3px; min-height: 30px; }}
QScrollBar::handle:vertical:hover {{ background: #3a404a; }}
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {{ height: 0; }}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {{ background: transparent; }}
"""