This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / tools / noctalia-shell / flake-module.nix
1.1 kB 31 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 (not indices) in the bar, and don't 22 # truncate them. The widget caps to 2 chars on vertical bars 23 # regardless; this only affects horizontal bars. 24 ''.bar.widgets.center |= map(if .id == "Workspace" then .labelMode = "name" | .characterCount = 20 else . end)'' 25 ]; 26 }; 27 in 28 { 29 packages.noctalia-shell = noctalia.wrapper; 30 }; 31}