Commit graph

21 commits

Author SHA1 Message Date
elkowar
f544d0e19a change formatting config 2021-03-08 22:28:29 +01:00
elkowar
ebb8fc065d Run poll-vars immediately when starting (fixes #98) 2021-01-31 16:20:19 +01:00
elkowar
8530f90a7c Add eww windows command and restructure daemon response.
Daemon response is now a dedicated type that contains information
about failure / success, and used in more commands, such as `open` and
`close`. Thus, this fixes #90 and also fixes #89.

For #90, the decision has been made to not make this independent of the
daemon, as that makes it possible to provide more information, and
because in most cases, users will have the daemon running when checking
windows anyways.
2021-01-16 18:09:35 +01:00
elkowar
05d9320598 Cleanup 2021-01-03 17:16:31 +01:00
elkowar
b9b8a77cf4 Handle application exit somewhat nicely 2021-01-03 17:16:31 +01:00
elkowar
b4880a55b8 More work done 2021-01-03 17:16:31 +01:00
elkowar
542dd62d7b Basics actually work still 2021-01-03 17:16:31 +01:00
Pedro Burgos
bc555900d3
Support Multi-file configuration (#45)
* install pango in CI

* <includes> xml support and EwwConfig merging

* Moved EwwConfig changes after merge

* Implemented relative paths

* Implemented paths in error messages

* Corrected include's error context message

* Written merge_includes test, fixed a simple bug

* Added "includes" label error check

* cargo format

* install pango in CI

* <includes> xml support and EwwConfig merging

* Moved EwwConfig changes after merge

* Implemented relative paths

* Implemented paths in error messages

* Corrected include's error context message

* Written merge_includes test, fixed a simple bug

* Added "includes" label error check

* cargo format

* Removed outdated comments and unused imports

* Fix dependency error

* Updated docs to add the <includes> block

* Removed unnecessary comment

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

* Removed duplicated test block

Should'nt be there in the first place. My bad.

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

* Better error context handling in eww_config.rs

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

* Better error context handling in eww_config.rs (again)

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

* Removed unnecessary error check

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

Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
Co-authored-by: druskus20@gmail.com <druskus20>
2020-11-20 20:09:46 +01:00
ay9thqi3tbqiwbegqsg a[soiaosshasdg
ac8bc7d8b5
Fix a few clippy warnings (#59) 2020-11-14 17:57:50 +01:00
ElKowar
2e8b1af083
Lazy variables (#58)
* Implement lazy variables

* cleanup

* refactor
2020-11-08 15:08:01 +01:00
ElKowar
0f68a76507
Implement multiple value update, breakign syntax of eww update (#51) 2020-10-30 22:12:21 +01:00
elkowar
412b53aca6 Actually fix process cleanup 2020-10-24 22:56:09 +02:00
elkowar
3849835ff9 Stop script-vars and close windows on eww kill 2020-10-24 22:56:09 +02:00
ElKowar
a0929c0a84
Make script-vars use process groups (#40)
* Make script-vars use process groups

Tail script-vars now make use of process groups to fix issues with
non-finished processes staying around.
I don't really understand any of this.
2020-10-23 18:03:29 +02:00
elkowar
4a4b0a3343 Add more tests 2020-10-21 19:58:15 +02:00
elkowar
0207ccaf3d Cleanup script-var-handler behaviour 2020-10-19 20:39:34 +02:00
elkowar
c11cfaa26a Simplify PrimitiveValue, add comments for doc-gen 2020-10-18 23:25:00 +02:00
ElKowar
3d07a84d1b Ipc cleanup (#18)
* Clean up IPC, remove ipc-channel dependency

* Remove dead socket file on server startup

* Cleanup CLI handling
2020-10-18 23:25:00 +02:00
elkowar
6a5839a93e Add support for tail-based script-vars 2020-10-18 23:25:00 +02:00
Safin Singh
c57713ca9a CI/CD & Formatting (#6)
* Improve autoformatting guides, add editorconfig and add CI/CD
2020-10-18 23:25:00 +02:00
elkowar
40fe82b4a0 Add unknown attribute warning 2020-10-18 23:25:00 +02:00