Commit graph

154 commits

Author SHA1 Message Date
viandox
c855ec07d5
Add overlay widget (#457) 2022-05-26 13:40:09 +02:00
elkowar
3297c4eb70
Add format explanation to eww open position and size docs 2022-05-26 13:27:58 +02:00
elkowar
77adfbca6b
Set window class to window name 2022-05-26 13:17:11 +02:00
elkowar
00ff1dc492
Fix error message of enum_parse-based attributes 2022-05-26 13:13:35 +02:00
Yury Ankudinov
52e14d8263
Fix/signal disconnect (#445)
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2022-05-26 10:45:47 +02:00
elkowar
a37c2e435f
Fix magic vars not working anymore (fixes #462) 2022-05-23 22:22:37 +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
elkowar
4fb5c37a35
Add hint about width of progress (fixes #458) 2022-05-22 11:21:45 +02:00
elkowar
6b5c35cbf9
Add EWW_CONFIG_DIR, EWW_CMD, EWW_EXECUTABLE variables 2022-05-21 15:06:42 +02:00
elkowar
c0dcc43336
Improve error message for missing default monitor on wayland 2022-05-16 12:04:29 +02:00
elkowar
78ae9cb00a
Add error message when overriding builtin widgets accidentally (fixes #456) 2022-05-14 19:19:17 +02:00
elkowar
e810f2a67a
Add version to workspace dependencies 2022-05-09 18:58:55 +02:00
elkowar
6f574e547a
Add a description and license to all Cargo.toml files 2022-05-09 18:56:32 +02:00
elkowar
7168ceafe3
small optimization to llvm codegen amount 2022-05-07 16:04:50 +02:00
elkowar
d1b222fa7f
Allow for floating point numbers in durations (fixes #447) 2022-04-29 14:20:14 +02:00
Alessio
34d929f097
Added support to label text alignment. (#412)
* Added support to label text alignment.

Since labels in gtk can't be aligned via css (I still don't know why)
and can be only aligned using code, this patch adds support for this
functionality by adding the properties :xalign and :yalign to the label
expression.
The exact behavior is described by the docs.

* Updated changelog with :xalign and :yalign for labels
2022-04-29 14:06:20 +02:00
elkowar
6211267e06
Add onclick to eventbox 2022-04-29 10:52:25 +02:00
elkowar
051d50c8fe
Add onaccept to input (fixes #441) 2022-04-29 10:32:38 +02:00
elkowar
982056f69f
Fix signal inexistant signal handler error 2022-04-27 17:44:38 +02:00
elkowar
1daeb0c77a
Fix unnumbered placeholders not working in commands 2022-04-24 16:01:53 +02:00
ElKowar
6b7fa5d55c
Implement loop widget (#350) 2022-04-23 12:54:48 +02:00
Pedro Burgos
4ffb7d4841
Transform Widget (#348) 2022-04-19 20:15:25 +02:00
Pedro Burgos
d1bbe32625
corrected start-angle to start-at (#433) 2022-04-19 19:11:59 +02:00
Biniam Bekele
fe4097c73e
EWW_BATTERY is empty string when its {total_avg} property would otherwise be NaN (#425)
Fixes #373
2022-04-19 13:50:52 +02:00
elkowar
776dc787e7
Add matches function to simplexpr 2022-04-19 13:49:28 +02:00
MartinJM
0f9847c518
Add several functions for simple expressions (#407)
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
Co-authored-by: MartinJM <>
2022-04-19 13:29:17 +02:00
ElKowar
7648eb8086
Add drag and drop functionality to eventbox (Implements #409) (#432)
* Add drag and drop functionality to eventbox (fixes #409)

* Don't allow dragging empty string values

* Support dragging text

* Provide the type of drag element to the command, separate out day month and year in onclick event of calendar
2022-04-19 13:00:50 +02:00
elkowar
b3ac542e79
Add notification windowtype 2022-04-13 15:32:26 +02:00
elkowar
aa54487c47
Update to latest nightly 2022-04-13 15:19:39 +02:00
viandox
1e0a2a6341
Fixes #247 implement scroll widget (#406) 2022-04-13 15:07:38 +02:00
viandox
b100704bc7
fixes #424 allow tabs in simplexpr (#426) 2022-04-13 14:54:02 +02:00
Álvaro López
ee4d1d908a
Added desktop window type (#417) 2022-04-13 14:22:08 +02:00
viandox
fb0e57a014
fix: limit ipc socket filename length (#396) 2022-02-15 10:17:52 +01:00
viandox
3fc24a9c72
Add more operators (#401) 2022-02-15 10:12:35 +01:00
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
Pedro Burgos
106106ade3
Graph widget (#338) 2021-12-19 16:46:15 +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
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
Pedro Burgos
45badb7f38
Implement eww get command (#319) 2021-11-05 12:37:37 +01:00
Pedro Burgos
08eef05ae8
Add support for :hover css selectors for eventbox (#323) 2021-10-25 01:03:21 +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
ZetaNumbers
90466ab9bf
fix: eww passes x11 and wayland features down to yuck (#306) 2021-10-16 13:44:59 +02:00