feat: track OpenRGB single-instance fix and RQuickShare desktop files
Adds a headless OpenRGB autostart entry plus a launcher wrapper that focuses the existing GUI window instead of spawning a duplicate instance, and tracks the customized RQuickShare autostart/launcher desktop entries. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# Focuses the existing OpenRGB GUI window if one is already open,
|
||||
# otherwise starts a new GUI (which connects to the headless
|
||||
# autostart server instead of spawning a duplicate server instance).
|
||||
if hyprctl clients -j | jq -e '.[] | select(.class == "openrgb")' > /dev/null; then
|
||||
exec hyprctl dispatch focuswindow "class:^(openrgb)$" 2>/dev/null
|
||||
else
|
||||
exec /usr/bin/openrgb
|
||||
fi
|
||||
Reference in New Issue
Block a user