Commit Graph

9 Commits

Author SHA1 Message Date
Wölfchen
acf57a8396
fix: refactor and fix flake (#1038)
* fix: refactor flake

* chore: update flake.lock

* chore: update changelog

* chore: update flake.lock

* chore: update changelog
2024-04-21 22:09:14 +02:00
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
Wölfchen
7bfd47eb81
fix: update and improve flake (#1032)
* fix: update and improve flake

* chore: update changelog
2024-02-24 13:46:40 +01:00
moni
6657ef493e
heavily refactor nix flake (#532)
* heavily refactor nix flake

* move from legacy rust-toolchain to rust-toolchain.toml
2022-08-21 23:09:54 +02:00
moni
39eeeff7cf
clean up nix expressions (#469) 2022-08-15 10:56:05 +02:00
virchau13
b79f7b8fb7
fix: make shell.nix use flake.nix through flake-compat (#327) 2022-04-18 21:44:01 +02:00
Adam Washington
7096a5b9d0
Wayland support in flake.nix (#297) 2021-10-16 13:51:46 +02:00
legendofmiracles
1df54767c2
fix clippy in the nix dev environment (#211) 2021-07-15 13:38:48 +02:00
AusCyberman
765b655168
Added nix flake and nix shell (#205)
* added flake

* updated flake.lock

* fixup! updated flake.lock

* Added app packages

* added default.nix for non flake systems

* added compat for shell with non flake systems

* changed to use fenix src

* fixup! changed to use fenix src

* get rid of the newlines, i guess?

* fixup! get rid of the newlines, i guess?
2021-07-11 16:03:03 +02:00