Commit graph

252 commits

Author SHA1 Message Date
elkowar
810dbb1368
Merge branch 'master' of ../simplexpr into config_rework 2021-07-21 19:21:15 +02:00
elkowar
f2b476aaf6
Setup cargo workspace 2021-07-21 19:21:11 +02:00
elkowar
0c137c8b20
Move to crates directory 2021-07-21 19:20:47 +02:00
elkowar
6f51f263cd
cleanup dynval 2021-07-21 19:15:23 +02:00
elkowar
5748185fb7
FromDynVal-trait 2021-07-20 18:51:29 +02:00
elkowar
7539dda162
add fileid to span 2021-07-18 20:52:38 +02:00
elkowar
a6fe813ed1
fix clippy lints 2021-07-17 18:07:25 +02:00
elkowar
3a79d8650a
Make more fields public 2021-07-17 17:14:00 +02:00
elkowar
b12b7e9977
add readme 2021-07-17 13:31:23 +02:00
elkowar
1118182156
Small adjustments for integration 2021-07-17 12:57:12 +02:00
elkowar
228d10aeb3
small error handling improvement, allow adding strings 2021-07-16 19:46:23 +02:00
elkowar
752a842cbf
add resolve 2021-07-16 19:19:48 +02:00
elkowar
3b6180ad7d
Better error handling 2021-07-16 18:57:22 +02:00
elkowar
d8ffd3153d
add expression evaluation and dynval 2021-07-16 17:39:35 +02:00
elkowar
3bb2e6516e
add error handling 2021-07-16 14:45:37 +02:00
elkowar
c5643424ca
Finish basic parser 2021-07-16 14:19:54 +02:00
RedstoneWizard22
4f59424e0e
Added angle property for label widget (#209)
* Added angle property for label widget

* Update src/widgets/widget_definitions.rs

Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
2021-07-15 14:07:06 +02:00
ElKowar
d8d67c2a0e
Add small checklist to bug report template
I hope this works to reduce the amount of nightly-requirement and system-level dependency issues eww is getting,...
2021-07-15 13:55:39 +02:00
legendofmiracles
1df54767c2
fix clippy in the nix dev environment (#211) 2021-07-15 13:38:48 +02:00
legendofmiracles
9e00f8f154
removes unneeded borrows (#212) 2021-07-15 13:38:28 +02:00
Midnight Exigent
31730bea32
Set _NET_WM_WINDOW_TYPE and related fields properly (#176)
* add windowtype attribute to window tag. set _NET_WM_WINDOW_TYPE property for x11

* up

* remove strum and strum_macros dependencies

* Update configuration.md

* Update window_definition.rs

* Update window_definition.rs

should work now

Co-authored-by: Midnight Exigent <6959267-midnightexigent@users.noreply.gitlab.com>
2021-07-15 13:37:50 +02:00
legendofmiracles
1ed4925eb1
adds mdbook as a dependency (#210) 2021-07-12 20:56:09 +02:00
elkowar
923d478b33
Start implementing parser 2021-07-12 16:45:16 +02:00
ElKowar
dc0b4c5b3c
Upate request for opinions to link to the name discussion 2021-07-12 11:48:49 +02:00
AusCyberman
765b655168
Added nix flake and nix shell (#205)
* added flake

* updated flake.lock

* fixup! updated flake.lock

* Added app packages

* added default.nix for non flake systems

* added compat for shell with non flake systems

* changed to use fenix src

* fixup! changed to use fenix src

* get rid of the newlines, i guess?

* fixup! get rid of the newlines, i guess?
2021-07-11 16:03:03 +02:00
idontknowwhatimdoing
5936d5baa5
fix typo in docs/src/configuration.md (#200)
Co-authored-by: jkromer <jkromer@student.42.fr>
2021-07-05 22:38:35 +02:00
elkowar
10d3d9375f
slightly clean up widget_definitions.rs 2021-06-23 11:00:40 +02:00
elkowar
9e81c7d221
update docs link in readme 2021-06-22 23:47:38 +02:00
elkowar
ba092622d2
Move to mdbook 2021-06-22 23:45:54 +02:00
legendofmiracles
914d022c0a
config::eww_config::test::test_merge_includes fix test (#189) 2021-06-22 21:49:34 +02:00
snakedye
9865e4ff9b
Adding the GtkRevealer widget (#194)
* widgets: new gtk_releaver builder

* correcting notes

* re: review

* re:re: using utils

* re:re:re:indent 🙏

Co-authored-by: Bryan Ndjeutcha <ndjeutcha@gmail.com>
2021-06-22 20:51:51 +02:00
elkowar
61e42c9c8a
Add star to version in gtk dependencies 2021-06-04 15:35:47 +02:00
elkowar
cd5b001d89
Only apply gtkrange value attribute when not being dragged (fixes #95) 2021-06-03 15:52:40 +02:00
Aditya Shakya
d0df1e7419
Add adi1090x's setup to the readme 2021-06-03 15:14:30 +02:00
elkowar
b951bd9b83
document scroll direction placeholder value for onscroll 2021-06-03 15:11:47 +02:00
elkowar
8da780d4a1
fix documentation 2021-05-29 12:42:32 +02:00
snakedye
8800980011
Fix for #175. (#180)
* widgets on non existing output do not spawn

* fix no-x11-wayland build

Co-authored-by: Bryan Ndjeutcha <ndjeutcha@gmail.com>
2021-05-23 22:30:36 +02:00
elkowar
0180914015
allow for setting RUST_LOG environment variable manually 2021-05-22 12:20:04 +02:00
snakedye
f33add200c
Bumping the gtk version (#164)
* just enabling wayland

* gtk: bumping the version number
This is meant to improve the stability of the Wayland backend.

* default to x11

Co-authored-by: Bryan Ndjeutcha <ndjeutcha@gmail.com>
2021-05-22 12:08:52 +02:00
R o m u l l o
f26d91f455
fix(docs): typos (#177) 2021-05-18 16:39:35 +02:00
legendofmiracles
28c57afcd6
replaces all daemon prints with logs and enables logging by default (#168) 2021-05-14 23:23:16 +02:00
elkowar
e7a09dc571
Slightly clean up docs 2021-05-14 20:11:40 +02:00
ElKowar
4688f04cf3
Add configuration rework notice to readme 2021-05-14 13:16:50 +02:00
elkowar
c0d9b53004
Add regex replace and function call docs 2021-05-14 11:55:08 +02:00
elkowar
54f6713ffe
fix function call parsing 2021-05-14 11:40:41 +02:00
elkowar
457da0aaf5
Add proper floating point digit parser 2021-05-13 21:07:20 +02:00
elkowar
7d525cbaa6
add function call syntax 2021-05-13 20:47:39 +02:00
legendofmiracles
df5793b204
Predefined variables/Magic vars (#117)
* basic idea

* generates docs

* hardcoded the gen script

* trying to hide magic vars

* eww-state is good now

* structure for cpu var is now there

* renamed cpu to diskstat, bc lib supports it after all

* not going to implement disk IO. go back to this commit, to see a rough idea

* removed it

* formatting

* stopped data race

* Update src/config/system_stats/ram.rs

Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>

* Update src/config/system_stats/disk.rs

Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>

* Explains macos better

* Update battery.rs

* Function for each OS when getting battery, a bit cleaner

* reworked battery a little

* all in one big file

* facepalm

* cleaner gen script and one huge file for the system stat stuff

* merge conflicts

* github interface for resolving merge conflicts sucks, this fixes it

* Apply suggestions from code review

Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>

* Update src/config/inbuilt.rs

Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>

* code suggestions

* component temperature is a json struct

* newlines in magic vars descriptions

* disks is now json, numbers are not wrapped in strings, and more idiomatic code

* Update gen-docs.ts

Co-authored-by: mlvzk <mlvzk@protonmail.com>

* removes a unneeded heading

* more doc updates and EWW_CPU_USAGE is now json

* calculates battery total avg and it's a json struct

Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
Co-authored-by: mlvzk <mlvzk@protonmail.com>
2021-05-11 18:45:29 +02:00
elkowar
6eea3e039d
Add cursor property to widgets (fixes #66) 2021-05-09 17:04:29 +02:00
ElKowar
fa70a71a1a
Readjust window position when size changes (fixes #113) (#163) 2021-05-09 15:58:00 +02:00