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