Commit graph

115 commits

Author SHA1 Message Date
Wölfchen
b62094fa5d chore: automatically update a few dependencies 2024-08-24 12:26:24 +02:00
Wölfchen
faa73137b4 chore: update toolchain to 1.80.1 2024-08-24 12:26:24 +02:00
Wölfchen
c69aa92c36 chore: automatically update a few dependencies 2024-08-24 12:26:24 +02:00
Wölfchen
56e2fdae55 chore: automatically update a few dependencies 2024-08-24 12:26:24 +02:00
Wölfchen
ffe43eda85 chore: automatically update a few dependencies 2024-08-24 12:26:24 +02:00
Wölfchen
44e7b63c85 chore: automatically update a few dependencies 2024-08-24 12:26:24 +02:00
Wölfchen
fdac6b5cd9 chore: update derive_more to 1.0 2024-08-24 12:26:24 +02:00
Wölfchen
4288771181 chore: automatically update a few dependencies 2024-08-24 12:26:24 +02:00
Wölfchen
e4ea489386 fix: update grass; re-enable default features for grass 2024-08-24 12:26:24 +02:00
Wölfchen
a96b7ec7eb chore: automatically update a few dependencies 2024-08-24 12:26:24 +02:00
Wölfchen
65fab811e9 chore: automatically update a few dependencies 2024-08-24 12:26:24 +02:00
Wölfchen
71ba502442 chore: update zbus 2024-08-24 12:26:24 +02:00
Wölfchen
dc39564852 chore: update itertools; update zbus 2024-08-24 12:26:24 +02:00
Wölfchen
57a5d9963a chore: update a few dependencies 2024-08-24 12:26:24 +02:00
Wölfchen
8b9d65f800 chore: use cargo to update almost all dependencies 2024-08-24 12:26:24 +02:00
Wölfchen
3b6f868ea6 chore: update gtk and related dependencies to 0.18
co-authored-by: Johan Geluk <johan@geluk.io>
2024-08-24 12:26:24 +02:00
Wölfchen
8397744f40
fix: bump cargo version (#1080) 2024-04-21 22:04:50 +02:00
June
b813adec79
Update ahash to fix yanked version (#1079) 2024-04-21 21:55:03 +02:00
Rayzeq
1e37f53e99
fix #42: use gtk's text truncation system when possible (#1066)
* fix #42: use gtk's text truncation system when possible

* enhance doc + add to changelog
2024-04-14 16:57:58 +02:00
MoetaYuko
e74dd6fa45 systray: replace MenuBar/MenuItem with Box/EventBox
The major benefit of MenuItem is automatic handling of context menus.
However, MenuItem cannot properly process right mouse click, making it
less useful. Hence, this patch replaces it (as long as the container)
with a simple EventBox and process button clicks on our own.
2024-03-31 13:20:36 +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
elkowar
387d344690
Release version 0.5.0 2024-02-17 18:21:49 +01:00
elkowar
3f478b6503
Support generating shell completions 2024-02-17 17:03:55 +01:00
elkowar
efea88598c
Update lalrpop 2024-02-17 14:46:20 +01:00
elkowar
4385782be4
Update jaq 2024-02-17 14:42:39 +01:00
elkowar
e6817f221b
Update a few dependencies 2024-02-17 14:26:44 +01:00
elkowar
8f103e5a3d
Switch to using workspace dependencies 2024-02-17 14:12:48 +01:00
elkowar
4a0901b16c
Update rust nightly toolchain 2024-02-17 12:01:32 +01:00
ElKowar
a9a35c1804
Support --duration close timer for windows (#884) 2023-08-18 15:51:42 +02:00
Tamás Táncos
393f7fa401
Update the gtk libraries to 0.17 (#747) 2023-08-18 15:03:01 +02:00
elkowar
efce800aff
Update dependencies 2023-08-16 13:16:32 +02:00
éclairevoyant
acf255f24a
Comply with rust-lang/rfcs#2140 (#815) 2023-07-29 14:48:13 +02:00
Eren Önen
4d63f6deec
add EWW_TIME magic variable (#792) 2023-06-09 17:17:41 +02:00
ElKowar
642983a066
Default to building with both x11 and wayland (#722)
* Default to building with both x11 and wayland

* Update CI to include tests and building for wayland and x11
2023-03-26 12:09:03 +02:00
ElKowar
7290b9bb8d
Add jq function (#695) 2023-02-25 16:27:32 +01:00
Niclas
678e4dbc6b
Remove levenshtein crate in favor of strsim (#635)
strsim is already used by other dependencies

Signed-off-by: buffet <niclas@countingsort.com>

Signed-off-by: buffet <niclas@countingsort.com>
2022-12-07 16:14:13 +01:00
Niclas
ec4c2d1a4f
Update clap to 4.0 (#633)
Acked-by: ElKowar
Signed-off-by: buffet <niclas@countingsort.com>

Signed-off-by: buffet <niclas@countingsort.com>
2022-11-28 14:45:51 +01:00
Niclas
7a0e1b77f2
Disables default features for grass (#606) 2022-10-29 14:02:06 +02:00
Niclas
991bb8d078
Clean up Cargo.toml's (#607) 2022-10-29 14:01:48 +02:00
ElKowar
964cafce74
Update dependencies (#604) 2022-10-24 21:12:08 +02:00
Philipp Herzog
52e9603dd8
Fix: update crate version in lockfile (#558) 2022-09-13 11:29:17 +02:00
elkowar
7623e7e692
Improve CSS error handling by parsing GTK error output (see #446) 2022-09-04 16:16:37 +02:00
elkowar
89ea0a1fbc
Update dependencies 2022-09-03 18:49:07 +02:00
elkowar
b4d47956b5
Move from structopt to clap-derive 2022-09-03 18:41:23 +02:00
elkowar
956f96fd76
Update dependencies 2022-08-29 16:34:19 +02:00
Carlos Pinto
535f21f5f9
Allow output names to select a monitor (#522)
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2022-08-29 11:20:36 +02:00
Niclas
9977384b06
Cargo update and remove most duplicate dependencies (#531)
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2022-08-27 10:12:23 +02:00
pentamassiv
d8bb8c4142
Updated dependencies (#449)
* Updated gtk dependencies

* Added badge for status of dependencies

* Updated remaining deps for eww and other crates

* Removed obsolete imports

* Fixed problems with PR and bumped deps

* Updated x11rb
2022-07-27 18:25:08 +02:00
elkowar
0b0715fd50
Fix some types missing in widget docs 2022-05-26 15:00:34 +02:00
Lucas Ransan
1830fe8535
Fix build on Freebsd (#459)
* Fix get_battery_capacity type on BSD

* Update sysinfo: 0.16.5 -> 0.23.12
2022-05-23 19:27:20 +02:00