Commit Graph

603 Commits

Author SHA1 Message Date
Pedro Burgos
ee07598a03
Fix anyhow's glob imports (#391) 2022-02-03 20:37:00 +01:00
legendofmiracles
bf7f49848d
Remove unindent crate (#357) 2022-02-02 21:33:26 +01:00
Sahil Chouksey
f8676f2bec
fix missing arguments (#361)
Co-authored-by: xix3r <xix3r@pop-os.localdomain>
2022-02-02 21:32:11 +01:00
Rayhan Kafi Pratama
baf1251c06
Add new vertical bar examples. (#389) 2022-02-02 21:31:47 +01:00
elkowar
8336bd04d2
Add maintenance note to readme 2022-01-21 10:15:21 +01:00
Robert7301201
83d4ca0400
Added gtk-layer-shell as a dependency in the docs (#379) 2022-01-13 21:42:46 +01:00
Pedro Burgos
106106ade3
Graph widget (#338) 2021-12-19 16:46:15 +01:00
Pedro Burgos
5e5692742e
[FEATURE] New fancy yml issue templates (#369) 2021-12-09 21:31:56 +01:00
elkowar
fc06db0704
Add CHANGELOG.md 2021-11-15 21:30:34 +01:00
elkowar
b026be426e
Fix documentation not building because of missing container widget doc comment 2021-11-15 21:06:17 +01:00
ElKowar
6fec568176
State rework (#335) 2021-11-15 20:06:44 +01:00
Mae Mosich
0fa5c92e04
Documentation proofreading. (#349) 2021-11-15 14:31:23 +01:00
Pedro Burgos
597625634d
Add doc comment (#345) 2021-11-10 14:42:13 +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
68e6d7b00d
add properties to magic vars (#343) 2021-11-08 17:51:00 +01:00
Vermoot
2bdf8d4915
Remove superfluous period in an inline code block (#342) 2021-11-08 13:55:42 +01:00
Owen Rumney
df29780d2a
Add links for owenrumney i3 bar config (#339) 2021-11-06 16:51:33 +01:00
Owen Rumney
dc76e77fcc
Add link to VSCode extension (#340) 2021-11-06 16:22:42 +01:00
Sparsh Mishra
b26c292646
Update README.md with another example setup (#334) 2021-11-06 16:18:50 +01:00
legendofmiracles
c1a9d3e593
Update dependencies, fixes RUSTSEC-2021-0119 (#337) 2021-11-06 16:15:55 +01:00
Pedro Burgos
45badb7f38
Implement eww get command (#319) 2021-11-05 12:37:37 +01:00
gokul
955271bbd5
Updated URL for Druskus bar example image (#321) 2021-10-25 02:04:37 +02:00
Pedro Burgos
08eef05ae8
Add support for :hover css selectors for eventbox (#323) 2021-10-25 01:03:21 +02: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
b23be153eb Add more examples to readme 2021-10-23 14:31:52 +02:00
ElKowar
48bfb1e0c0
feat(config): Allow custom widgets to make use of children (#317) 2021-10-23 14:10:07 +02:00
Pedro Burgos
0aaaa2c2b8
[FEATURE] Added support for marks on scales (#293) 2021-10-17 13:39:44 +02:00
elkowar
c50bfb7184
feat: add --no-daemonize flag that disables daemonizing eww (fixes #288) 2021-10-16 14:15:44 +02:00
elkowar
d708902c03
fix(docs): mention orientation in scale properties 2021-10-16 14:01:54 +02:00
Adam Washington
7096a5b9d0
Wayland support in flake.nix (#297) 2021-10-16 13:51:46 +02:00
ZetaNumbers
90466ab9bf
fix: eww passes x11 and wayland features down to yuck (#306) 2021-10-16 13:44:59 +02:00
elkowar
5b52cd927a
fix: Remove accidental reference to x11 only feature in use statement in app.rs 2021-10-16 13:39:07 +02:00
elkowar
00bb0b4b0b
fix: allow windows to get moved when windowtype is normal (fixes #303) 2021-10-13 09:29:08 +02:00
Fenella
9c15e4c887
Fix typo (#283)
Co-authored-by: neralie <izzyro@tuta.io>
2021-10-01 13:38:16 +02:00
elkowar
1b2df75453
feat(cli): Add command to open the GTK debugger 2021-10-01 13:34:14 +02:00
elkowar
e49d39e108
fix(docs): Update links to GTK css documentation 2021-10-01 13:23:27 +02:00
Animesh Sahu
07eeac340f
Exclude duplicates of widget property in docs (#276) 2021-09-13 16:20:02 +02:00
Pedro Burgos
a07fb35eda
Fix onscroll direction issue (#280) 2021-09-13 16:19:24 +02:00
elkowar
baad2bf8d2
Fix ram usage in example 2021-09-12 12:03:10 +02:00
Animesh Sahu
4a56b74b9a
Adds :onhoverlost and separates out event based actions on eventbox widget (See #251 for more info). (#256)
* Adds :onhoverlost and fixes all the masks mistyped

* Adds eventbox widget and added deprecation error level warning on top-level widgets

* Run cargo fmt

* Fixes broken old link

* Fix nested element glitch by ignoring inferior events, improve deprecation arg processing into single operation

* Extract large deprecation msg to note
2021-09-12 12:01:56 +02: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
Animesh Sahu
80b89dd391
Implement trigger for defpoll variable (#273)
* Implement trigger for defpoll variable

* Rename functions and configuration properties, edit docs to show sample usage, improve nearby fields in docs.
2021-09-11 18:01:41 +02:00
Florian Proksch
3a486f181e
I3 dock fix (#258)
* fix: problem with docked widgets on i3

Show window only after settings x-props. According to the EWMH spec:
> _NET_WM_WINDOW_TYPE
> This SHOULD be set by the Client before mapping to a list of atoms
> indicating the functional type of the window.

So the _NET_WM_WINDOW_TYPE atom must be set before showing the window.

The callback to the configure event handle now checks the windows
current geometry to not move the window if it's already where it's
supposed to be. This prevents the eww daemon from endlessly chatting
with X11 in some instances.

* chore: cargo fmt
2021-09-11 17:34:53 +02:00
elkowar
5a581a5974
fix: remove no-op timeout on poll-vars 2021-09-11 14:02:28 +02:00
Pedro Burgos
df1168d6d0
Implement optional initial value for pollvars (#272)
* Implement optional initial value for pollvars

* Updated docs to include the atribute initial for pollvars
2021-09-11 13:50:45 +02:00
Ben Fiedler
089f617393
Indicate label truncation (#259)
Closes #257
2021-09-11 12:44:25 +02:00
legendofmiracles
634724bf29
Makes code more rusty/idiomatic (#264)
* makes eww code more idiomatic

* makes simplexpr more idiomatic

* makes yuck more idiomatic
2021-09-11 12:43:44 +02:00
legendofmiracles
87d4bc4c76
Checks if window is open to not flicker the window (#263) 2021-09-11 12:34:58 +02:00
legendofmiracles
6867010203
Fixes typos in the PR template (#262) 2021-09-11 12:16:50 +02:00