From eda0fb43763109c6bd8d4fc9901a595470f096d0 Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 26 Apr 2026 18:50:36 +0200 Subject: [PATCH] add desktop entry and app id for portal registration --- nix/package.nix | 2 ++ shell/assets/space.darkest.nova-shell.desktop | 6 ++++++ shell/shell.qml | 1 + 3 files changed, 9 insertions(+) create mode 100644 shell/assets/space.darkest.nova-shell.desktop diff --git a/nix/package.nix b/nix/package.nix index 57314cc..93c9e3d 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -26,6 +26,8 @@ let runHook preInstall mkdir -p $out/share/nova-shell cp -r shell/shell.qml shell/modules shell/services shell/applets shell/dock shell/lock shell/assets $out/share/nova-shell/ + mkdir -p $out/share/applications + cp shell/assets/space.darkest.nova-shell.desktop $out/share/applications/ runHook postInstall ''; }; diff --git a/shell/assets/space.darkest.nova-shell.desktop b/shell/assets/space.darkest.nova-shell.desktop new file mode 100644 index 0000000..95da1e7 --- /dev/null +++ b/shell/assets/space.darkest.nova-shell.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=nova-shell +Comment=Minimal Quickshell bar for niri +Exec=nova-shell +Type=Application +NoDisplay=true diff --git a/shell/shell.qml b/shell/shell.qml index 5c6411a..6e0122b 100644 --- a/shell/shell.qml +++ b/shell/shell.qml @@ -1,4 +1,5 @@ //@ pragma Env QS_NO_RELOAD_POPUP=1 +//@ pragma AppId space.darkest.nova-shell import "modules" import "services"