Compare commits
4 changed files with 14 additions and 15 deletions
|
|
@ -1,14 +1,22 @@
|
|||
self:
|
||||
{
|
||||
config,
|
||||
options,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.programs.nova-shell;
|
||||
in
|
||||
{
|
||||
config = lib.optionalAttrs (options ? home-manager) {
|
||||
home-manager.sharedModules = [
|
||||
self.homeModules.default
|
||||
]
|
||||
++ lib.optionals (options ? stylix) [ self.homeModules.stylix ];
|
||||
};
|
||||
options.programs.nova-shell.enable = lib.mkEnableOption "nova-shell Quickshell bar";
|
||||
|
||||
config = lib.mkIf cfg.enable (
|
||||
lib.optionalAttrs (options ? home-manager) {
|
||||
home-manager.sharedModules = [
|
||||
self.homeModules.default
|
||||
]
|
||||
++ lib.optionals (options ? stylix) [ self.homeModules.stylix ];
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@ 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
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=nova-shell
|
||||
Comment=Minimal Quickshell bar for niri
|
||||
Exec=nova-shell
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
//@ pragma Env QS_NO_RELOAD_POPUP=1
|
||||
//@ pragma AppId space.darkest.nova-shell
|
||||
|
||||
import "modules"
|
||||
import "services"
|
||||
|
|
|
|||
Reference in a new issue