Commit Graph

48 Commits

Author SHA1 Message Date
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
elkowar
5b3dabf090
Fix logfiles growing indefinitely (fixes #750, #689, #1000) 2024-02-17 18:03:35 +01:00
elkowar
2656e238ca
Fix wrong values in EWW_NET (fixes #958) 2024-02-17 17:34:58 +01:00
elkowar
3f478b6503
Support generating shell completions 2024-02-17 17:03:55 +01:00
Zacharie Dubrulle
d497726d7b Add tooltip widget 2024-02-17 16:23:44 +01:00
elkowar
091b630072 Use stable rust in CI 2024-02-17 13:21:05 +01:00
nativerv
607f4411d3
add :unindent property (#804) 2024-02-17 12:15:05 +01:00
Elekrisk
8c977892d4
add gravity property to label widget (#949) 2024-02-17 10:42:29 +01:00
Vladyslav Aviedov
e95d3af963
Add gtk stack widget (#838) 2024-02-17 10:38:06 +01:00
WilfSilver
65d622c81f
Add window arguments (#431)
* Allow window definitions to have parameters

* Implement SimplExpr for all other window definition options

* Take gtk scaling into account when setting struts

* Cleanup

* Rename window_argumentss to instance_id_to_args

* Update docs to emphasis window arguments being constant

* Replace eww windows with active-windows and list-windows

* Fix extracting duration from string

* Format + reduce warnings

---------

Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2023-12-20 21:04:38 +01:00
ElKowar
4f1f853b5f
Improve flexibility of monitor configuration (#1003)
* Allow named monitors on wayland

* Allow list of monitor matchers
2023-12-20 16:59:39 +01:00
ElKowar
a9a35c1804
Support --duration close timer for windows (#884) 2023-08-18 15:51:42 +02:00
elkowar
4450ef55fa
Add substring function 2023-08-18 10:46:12 +02:00
end-4
9d0b667dea
Add trigonometric functions (#823) 2023-08-16 13:40:24 +02:00
Eren Önen
4d63f6deec
add EWW_TIME magic variable (#792) 2023-06-09 17:17:41 +02:00
ElKowar
992ac0b59a
Add namespace window option (#723) 2023-03-26 12:26:49 +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
kawaki-san
de232de41b
feat: truncate-left for labels (#721)
feat: `truncate-left` for labels

Adds a flag that allows truncation to the left of text

---------

Co-authored-by: kawaki-san <dev@kanjala.com>
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2023-03-26 10:25:24 +02:00
n3oney
c72b881c3f feat: add justify property 2023-03-20 12:41:35 +01:00
ElKowar
7290b9bb8d
Add jq function (#695) 2023-02-25 16:27:32 +01:00
Ezequiel Ramis
6b576c02ac
Vanilla CSS support (#467)
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
2023-02-25 10:35:35 +01:00
Roland Fredenhagen
6a64a28629
Add support for null safe indexing e.g. for arrays (#631)
* Add support for null safe indexing e.g. for arrays

This follows the JavaScript syntax:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining#syntax

* add docs

* Add test for safe access index to non indexable

Co-authored-by: Josiah Hilden <jhilden13@gmail.com>

Co-authored-by: Josiah Hilden <jhilden13@gmail.com>
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
2023-01-05 20:21:29 +01:00
Gioele De Vitti
29bfe4129f
Fix temperature values not being accessible due to NaN values (#650)
* Fix NaN values making JSON not accessible

* Explain NaN replacement

* Report fix in changelog
2023-01-05 20:16:47 +01:00
Roland Fredenhagen
3ae34602eb
Make some operators lazily evaluated (#627)
* Make some operators lazily evaluated

Fixes #624

* Add to CHANGELOG.md
2023-01-05 20:00:40 +01:00
ElKowar
471f1a117d
Allow for floating-point percentages in window geometry (fixes #601) (#602) 2022-10-24 19:08:50 +02:00
Josiah Hilden
37fc231761
Safe Access Operator (#577)
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2022-10-01 17:03:54 +02:00
elkowar
d58d91de78
Prepare 0.4.0 release 2022-09-04 20:20:13 +02:00
elkowar
bf532e63cc
Fix calendar months being indexed by 0 (fixes #544) 2022-09-03 10:16:01 +02:00
elkowar
3c57ca59bf
Fix scale running onchange on scripted changes (fixes #482) 2022-08-29 12:43:01 +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
gavynriebau
7a3e2f4448
Add support for "round-digits" property for scale widget (#509)
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2022-08-15 10:34:54 +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
fe7bc30fc9
Release version 0.3.0 2022-05-26 14:00:57 +02:00
viandox
c855ec07d5
Add overlay widget (#457) 2022-05-26 13:40:09 +02:00
elkowar
6b5c35cbf9
Add EWW_CONFIG_DIR, EWW_CMD, EWW_EXECUTABLE variables 2022-05-21 15:06:42 +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
Pedro Burgos
4ffb7d4841
Transform Widget (#348) 2022-04-19 20:15:25 +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
a37f78fdeb
Update changelog to include recent changes 2022-04-13 15:10:40 +02:00
Álvaro López
ee4d1d908a
Added desktop window type (#417) 2022-04-13 14:22:08 +02:00
elkowar
fc06db0704
Add CHANGELOG.md 2021-11-15 21:30:34 +01:00