Commit graph

662 commits

Author SHA1 Message Date
ovalkonia
f01396f9d5
Fix: the gtk expander widget bugfix (#1132)
* Fixed the gtk `expander` widget

* Add changelog entry for the `expander` widget bugfix
2024-08-24 12:30:23 +02:00
ovalkonia
367363975e
Fix: the gtk stack widget bugfix (#1119)
* Fixed the gtk stack widget

* Add changelog entry for the stack widget bugfix

* Small code style improvement

Co-authored-by: Wölfchen <w-lfchen@posteo.net>

---------

Co-authored-by: ElKowar <lkowarschick@gmail.com>
Co-authored-by: Wölfchen <w-lfchen@posteo.net>
2024-08-24 12:30:06 +02:00
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
7aa571eef1 docs: update changelog 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
5cec8736a7 docs: update zbus-xmlgen generation commands; add zbus-xmlgen to development shell 2024-08-24 12:26:24 +02:00
Wölfchen
71ba502442 chore: update zbus 2024-08-24 12:26:24 +02:00
Wölfchen
eda9d1e803 fix: fix lints 2024-08-24 12:26:24 +02:00
Wölfchen
088809d7e8 chore(cargo): move gtk, zbus to workspace 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
89d8bfe5c2 nix: switch to nixfmt-rfc-style 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
0808e78db2 chore: update toolchain to 1.80.0 2024-08-24 12:26:24 +02:00
Wölfchen
845773a44b chore: update flake.lock 2024-08-24 12:26:24 +02:00
carschandler
bd824fcbfd Typo in configuration.md 2024-08-24 12:25:16 +02:00
elkowar
696135a6bb
Set GDK_BACKEND env var on wayland 2024-08-21 18:33:31 +02:00
ovalkonia
4d55e9ad63
Add min and max simplexpr functions (#1123)
* Add 'min' and 'max' function calls to simplexpr

* Add changelog entry for 'min' and 'max' simplexpr functions
2024-07-05 12:57:48 +02:00
Vyacheslav Ananev
d1fde927d2
systray: fix remove items (#1098)
* systray: fix remove item

* docs: add entry to CHANGELOG.md
2024-05-06 14:05:57 +02:00
shouya
3dca22deb1
remove sysinfo/linux-netdevs feature (#1096) 2024-05-06 14:05:32 +02:00
Jonathan
a4da192d62
systray: add :hover attribute to tray items (#1091)
* systray: add `:hover` attribute to tray items

* doc: add entry to changelog
2024-05-05 12:14:44 +02:00
Rayzeq
2c88115124
Fix string truncation (#1084)
* remove useless check

* add `truncate` property

* add to CHANGELOG.md
2024-04-26 08:59:23 +02:00
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
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
elkowar
d87c2fdbfd
Release version 0.6.0 2024-04-21 14:20:30 +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
Alessio Molinari
ebe5f349d1
Add a checked property on checkbox. Close #693. (#916)
* feat: add a checked property on checkbox. Close #693.

* chore: update CHANGELOG.md

---------

Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
2024-04-06 13:11:59 +02:00
Adrian Perez de Castro
5fdaa4e03f Add :icon and :icon-size properties to the image widget
Add a new :icon property which allows using icons from the currently
selected theme. For completeness, add :icon-size as well. As a nice
extra, GTK automatically makes such images follow the selected icon
theme.
2024-04-06 13:03:21 +02:00
Mickaël
e7f7046ddd Fix typo in docs 2024-04-06 12:58:05 +02:00
MoetaYuko
149727ce1f systray: add prepend-new property to prepend new icons to the container 2024-03-31 13:20:36 +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
MoetaYuko
361b8d1b66 systray: handle mouse click events 2024-03-31 13:20:36 +02:00
MoetaYuko
f80e093223 systray: watch the proper signal for new title 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
Jacob
f1ec00a1c9
add get_env function to yuck (#779)
* added basic get_env function to yuck

* added get_env to changelog

* added get_env to docs

* changed key to string in doc

* changed suggested code

* credit myself in CHANGELOG.md
2024-03-20 12:45:08 +01:00
Wölfchen
4ce42455a4
fix: fix jq (#1044)
* fix: fix jq

* feat: add basic jq test case
2024-03-16 13:33:12 +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
Rayzeq
d96586c209
Completions (#1029)
* Handle `shell-completions` before anything else

* Update CHANGELOG.md
2024-02-20 22:42:09 +01:00
elkowar
387d344690
Release version 0.5.0 2024-02-17 18:21:49 +01:00