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
viandox
fb0e57a014
fix: limit ipc socket filename length ( #396 )
2022-02-15 10:17:52 +01:00
legendofmiracles
bf7f49848d
Remove unindent crate ( #357 )
2022-02-02 21:33:26 +01:00
ElKowar
6fec568176
State rework ( #335 )
2021-11-15 20:06:44 +01:00
Pedro Burgos
89d4dfda27
Circular progress widget ( #328 )
...
* Basic implementation of circle: works
* Attempts to draw child widget
* Drawing a ring with a child widget inside
* Rotation
* thickness for circular progressbar
* upgraded glib-gtk to 0.14
* Clockwise and counterclockwise cicular progress widget
* Allow specifying a background color
* queue draw on value update
* ring background and foreground
* Update circular_progressbar.rs
* implament default values for CircProgPriv
* Remove useless comment
* Renamed circle-progress to circular-progress
* Actually handle multiple children widgets
* Clipping the childrens, allowing for background colors
* Clean comments of despair
* renamed c to center
* Removed commented code
* fix overflowing children allocating space outside the circle
* Removed unused import
* Fix resizing issues and implement margin via cairo
* Cleanup
* make margins work with empty widgets
* Set css name for the custom widget
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2021-11-10 00:20:01 +01:00
legendofmiracles
c1a9d3e593
Update dependencies, fixes RUSTSEC-2021-0119 ( #337 )
2021-11-06 16:15:55 +01:00
Florian Proksch
e1558965ff
chore: dependency update ( #274 )
...
Update dependencies of gtk and gdkx11 to 0.14
2021-09-11 18:02:35 +02:00
legendofmiracles
e4e0178de9
fixes compilation on latest nightly ( #265 )
2021-09-11 12:16:19 +02:00
elkowar
4942925859
Cleanup and update dependencies
2021-08-18 15:24:00 +02:00
elkowar
f0b27d2ec1
Allow for aligned text using unindent
2021-08-14 16:08:43 +02:00
elkowar
eb3c2646a0
Add did you mean question to wrong variables
2021-08-02 15:54:38 +02:00
elkowar
24c9fee204
Fully implement string interpolation with ${} syntax
2021-07-31 13:44:23 +02:00
elkowar
41093cf0af
Replace lazy_static with once_cell
2021-07-29 15:30:00 +02:00
elkowar
680498df82
Fix lexer string escaping
2021-07-23 18:24:42 +02:00
elkowar
618e652389
Implement YuckFiles for include handling
2021-07-22 21:06:22 +02:00
elkowar
4bf3c6fd63
It compiles :o
2021-07-22 18:40:43 +02:00
elkowar
3efcafed84
Merge branch 'window_config_cleanup' into config_rework
2021-07-21 20:36:26 +02:00
elkowar
38f5307417
Start migration
2021-07-21 20:30:02 +02:00
elkowar
db9e673b81
Clean up X Window configuration and add more options
...
factor out some x specific logic cleanly
factor out more code into backend specific sections
Minor refactor to enum parsing
fix build on wayland
make default of wm-ignore depend on type and reserve, and add documentation
2021-07-21 20:28:51 +02:00