diff --git a/core/cmd/dms/shell.go b/core/cmd/dms/shell.go index 157093ee..212dd9d8 100644 --- a/core/cmd/dms/shell.go +++ b/core/cmd/dms/shell.go @@ -192,6 +192,9 @@ func runShellInteractive(session bool) { } } + // ! TODO - remove when QS 0.3 is up and we can use the pragma + cmd.Env = append(cmd.Env, "QS_APP_ID=com.danklinux.dms") + if isSessionManaged && hasSystemdRun() { cmd.Env = append(cmd.Env, "DMS_DEFAULT_LAUNCH_PREFIX=systemd-run --user --scope") } @@ -432,6 +435,9 @@ func runShellDaemon(session bool) { } } + // ! TODO - remove when QS 0.3 is up and we can use the pragma + cmd.Env = append(cmd.Env, "QS_APP_ID=com.danklinux.dms") + if isSessionManaged && hasSystemdRun() { cmd.Env = append(cmd.Env, "DMS_DEFAULT_LAUNCH_PREFIX=systemd-run --user --scope") } diff --git a/quickshell/shell.qml b/quickshell/shell.qml index 7c84fc2c..ae22e866 100644 --- a/quickshell/shell.qml +++ b/quickshell/shell.qml @@ -5,7 +5,7 @@ //@ pragma Env QT_WAYLAND_DISABLE_WINDOWDECORATION=1 //@ pragma Env QT_QUICK_CONTROLS_STYLE=Material //@ pragma UseQApplication -//@ pragma AppId com.danklinux.dms +// ! TODO - replace pragma AppId when next QS releases, remove from GO launch injection. import QtQuick import Quickshell