Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add feature to use ksni crate for tray icons on Linux #12319

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

dfaust
Copy link

@dfaust dfaust commented Jan 8, 2025

Using ksni and the xdg standard for tray icons on Linux unlocks missing functionality and new features (tauri-apps/tray-icon#104 and more), as well as unblocks a GTK4 migration (tauri-apps/webkit2gtk-rs#94).

This PR adds a new feature called linux-ksni, which passes the feature down to the tray-icon crate. I also updated the docs.

For now there is a patch section in the Cargo.toml.

Closes #11293

Companion PR for tray-icon:
Replace libappindicator with ksni: tauri-apps/tray-icon#201

Companion PR for muda:
Export more internals so muda can be used in combination with ksni: tauri-apps/muda#239

Copy link
Contributor

github-actions bot commented Jan 8, 2025

Package Changes Through 92fb26a

There are 6 changes which include tauri-cli with patch, @tauri-apps/cli with patch, tauri-build with patch, tauri with patch, tauri-bundler with patch, tauri-driver with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-bundler 2.2.0 2.2.1
tauri-build 2.0.4 2.0.5
tauri 2.2.0 2.2.1
@tauri-apps/cli 2.2.2 2.2.3
tauri-cli 2.2.2 2.2.3
tauri-driver 2.0.1 2.0.2

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

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.

[feat] Use ksni crate for tray icons on Linux
1 participant