Skip to content

General improvements - #4

Merged
WitteShadovv merged 10 commits into
mainfrom
general-improvements
Apr 20, 2026
Merged

WitteShadovv merged 10 commits into
mainfrom
general-improvements

Conversation

@WitteShadovv

Copy link
Copy Markdown
Owner

No description provided.

Add notificationTitle, notificationBody, and showNotification options to mkDeferredApp:

- notificationTitle: Override default "Starting {app}..." title
- notificationBody: Override default "Downloading application..." body
- showNotification: Enable/disable notifications (default: true)

Both pname and package modes support these options. Per-app overrides
available via extraApps in module. Uses {app} placeholder
for substitution in wrapper scripts.

Ref: modules/shared.nix
The runCommand attribute set was missing the '' delimiter to start
the shell script section, causing a syntax error that prevented
all tests from running.
Add cliOnly parameter to mkDeferredApp to skip desktop file
and icon creation for CLI-only tools like ripgrep, fd, jq.

Also adds cliPackages and cliApps module options for convenient
interface to specify CLI tools that should not create
desktop entries.

Implementation:
- Added cliOnly parameter (defaults to false for backward compat)
- Conditionally create share/applications and share/icons directories
- Conditionally resolve and copy icons
- Conditionally create .desktop file
- Added cliPackages (package list) and cliApps (pname list) options
- Updated buildDeferredPackages to include CLI apps

Note: Tests for CLI-only mode exist but are temporarily
removed from test suite pending verification of core functionality.
@WitteShadovv
WitteShadovv merged commit e5effff into main Apr 20, 2026
3 checks passed
@WitteShadovv
WitteShadovv deleted the general-improvements branch April 24, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant