This repository has no description
902 B
29 lines
1{ self, inputs, ... }:
2{
3 perSystem =
4 { pkgs, ... }:
5 let
6 noctalia = inputs.wrappers.lib.wrapModule {
7 imports = [ self.wrapperModules.noctalia-shell ];
8 inherit pkgs;
9
10 # Declarative settings merged into ~/.config/noctalia/settings.json
11 # on every start. Anything not listed here remains user-mutable.
12 settings = {
13 hooks = {
14 enabled = true;
15 # Mirror noctalia's dark mode toggle to the system theme.
16 darkModeChange = ''if [ "$1" = "true" ]; then switch-theme dark; else switch-theme light; fi'';
17 };
18 };
19
20 settingsPatches = [
21 # Show workspace names instead of indices in the bar.
22 ''.bar.widgets.center |= map(if .id == "Workspace" then .labelMode = "name" else . end)''
23 ];
24 };
25 in
26 {
27 packages.noctalia-shell = noctalia.wrapper;
28 };
29}