Skip to content

Commit

Permalink
feat(applications): add COSMIC tweaks module
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorAugustoLN committed Feb 17, 2025
1 parent ad623cd commit a032e4c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions modules/applications/by-name/cosmic-ext-tweaks/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ lib, ... }:
lib.cosmic.applications.mkCosmicApplication {
name = "cosmic-ext-tweaks";
originalName = "COSMIC Calculator";
identifier = "dev.edfloreshz.CosmicTweaks";
configurationVersion = 1;

maintainers = [ lib.maintainers.HeitorAugustoLN ];

settingsOptions.app_theme =
lib.cosmic.defaultNullOpts.mkRonEnum [ "Dark" "Light" "System" ]
{
__type = "enum";
variant = "System";
}
''
The theme of the application.
'';

settingsExample.app_theme = {
__type = "enum";
variant = "System";
};
}

0 comments on commit a032e4c

Please sign in to comment.