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
|
||||
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.5
|
||||
Name=OpenRGB
|
||||
Comment=Control RGB lighting
|
||||
Icon=org.openrgb.OpenRGB
|
||||
StartupWMClass=openrgb
|
||||
TryExec=openrgb
|
||||
Exec=/home/valknar/.local/bin/openrgb-launcher.sh
|
||||
Terminal=false
|
||||
Categories=Utility;
|
||||
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Categories=Development;
|
||||
Exec=env GDK_BACKEND=x11 WEBKIT_DISABLE_COMPOSITING_MODE=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 rquickshare
|
||||
Icon=rquickshare
|
||||
Name=RQuickShare
|
||||
Terminal=false
|
||||
Type=Application
|
||||
X-Desktop-File-Install-Version=0.28
|
||||
StartupWMClass=rquickshare
|
||||
Reference in New Issue
Block a user