Commit graph

9 commits

Author SHA1 Message Date
Temmie
1b819fb646
System Tray (#743)
* Allow tokio on gtk thread

* Basic notifier host implementation

* Implement systray widget

* Use dbusmenu-gtk3

* Update flake.nix

* US spelling of license

* Fix possible TOCTOU

* Change how hosts are started

* Add watcher

* Bunch of refactor

* Handle errors better

* Refactor service parsing

* Avoid duplicate dbus connections

* Fix watcher producing bad items

* Handle zbus::Error::NameTaken

* Refactor icon loading & don't panic on zoom

* Implement pixbuf icons

Co-authored-by: Bojan Nemčić <bnemcic@gmail.com>

* Don't panic on icon/menu error

* Improve icon error handling to make discord work

* Update comments

* Big refactor into actor model

* Reword error messages

* Remove redundant watcher_on function

* Big icon handling refactor

* Don't unnecessarily wrap StatusNotifierItem

* cargo fmt

* Documentation

* Avoid registering to StatusNotifierWatcher multiple times

* None theme means default theme

* Add dbus logging

* Add libdbusmenu-gtk3 dependency to docs

* Some code tidying

* Make Item more clearer

* Make clippy happy

* Systray widget improvements

* Remove unwraps from dbus state

* Temporarily add libdbusmenu-gtk3 to flake buildInputs

* Fix blurry tray icon for HiDPI display

* feat: dynamic icons

* fix: don't cache IconPixmap property

this fixes dynamic icons for some icons, e.g. syncthingtray

* fixup! feat: dynamic icons

* Fix unused borrow warning

* Add some documentation to notifier_host

* Rename notifier_host::dbus to more descriptive notifier_host::proxy

* fixup! Rename notifier_host::dbus to more descriptive notifier_host::proxy

* fixup! Merge remote-tracking branch 'upstream/master' into tray-3

* fixup! Merge remote-tracking branch 'upstream/master' into tray-3

* Remove commented out fields of DBusSession

* Refactor host

* Remove git conflict marker

* Various improvements

* Icon documentation

* cargo fmt

* Add dependency to CI

---------

Co-authored-by: Bojan Nemčić <bnemcic@gmail.com>
Co-authored-by: MoetaYuko <loli@yuko.moe>
Co-authored-by: hylo <hylo@posteo.de>
2024-03-30 10:55:01 +01:00
elkowar
9ca98448cc Switch to stable rust 2024-02-17 13:21:05 +01:00
ElKowar
992ac0b59a
Add namespace window option (#723) 2023-03-26 12:26:49 +02:00
Robert7301201
83d4ca0400
Added gtk-layer-shell as a dependency in the docs (#379) 2022-01-13 21:42:46 +01:00
Mae Mosich
0fa5c92e04
Documentation proofreading. (#349) 2021-11-15 14:31:23 +01:00
ElKowar
f9153bf37d Add mention of -devel packages to package list in docs 2021-10-23 15:14:50 +02:00
ElKowar
5038b3ddad Add system-level dependency list to documentation (fixes #302) 2021-10-23 15:03:34 +02:00
elkowar
e750abf38c
Fix eww expression and start page, add includes to configuration page 2021-08-17 13:07:52 +02:00
elkowar
ba092622d2
Move to mdbook 2021-06-22 23:45:54 +02:00
Renamed from docs/content/main/_index.md (Browse further)