Compare commits
4 changed files with 14 additions and 15 deletions
|
|
@ -1,14 +1,22 @@
|
||||||
self:
|
self:
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
options,
|
options,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
cfg = config.programs.nova-shell;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
config = lib.optionalAttrs (options ? home-manager) {
|
options.programs.nova-shell.enable = lib.mkEnableOption "nova-shell Quickshell bar";
|
||||||
home-manager.sharedModules = [
|
|
||||||
self.homeModules.default
|
config = lib.mkIf cfg.enable (
|
||||||
]
|
lib.optionalAttrs (options ? home-manager) {
|
||||||
++ lib.optionals (options ? stylix) [ self.homeModules.stylix ];
|
home-manager.sharedModules = [
|
||||||
};
|
self.homeModules.default
|
||||||
|
]
|
||||||
|
++ lib.optionals (options ? stylix) [ self.homeModules.stylix ];
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,8 +26,6 @@ let
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
mkdir -p $out/share/nova-shell
|
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/
|
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
|
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 Env QS_NO_RELOAD_POPUP=1
|
||||||
//@ pragma AppId space.darkest.nova-shell
|
|
||||||
|
|
||||||
import "modules"
|
import "modules"
|
||||||
import "services"
|
import "services"
|
||||||
|
|
|
||||||
Reference in a new issue