elkowar
c079eb855d
Add support for string escapes like \n in label texts ( fixes #84 )
2021-01-02 18:17:37 +01:00
Jack Michaud
8aa0e8c74d
Change environment variable syntax to ${VAR} - Fix for #81 ( #83 )
...
* Adjust environment variable regex to ${VAR}
* Add replace_env_var_references test
2021-01-02 17:49:32 +01:00
elkowar
0d2ee78f91
add tests for source-code extraction from xml
2020-12-28 16:38:29 +01:00
elkowar
e17699d50f
Improve error message for parsing alignment and orientation
2020-12-28 16:22:41 +01:00
Axarva
58d57c4acd
Add eww close-all
subcommand to close all running windows ( #80 )
...
* Add close-all command
* Add close-all command
* Re-add close-all using close_window method
2020-12-28 16:12:59 +01:00
elkowar
f7d6bd4cb3
Fix empty lines in command output when communicating with daemon\n\nfixes #76
2020-12-26 13:11:15 +01:00
elkowar
4404ab4d5d
Properly await execution of child processes in run_command.
...
This is, for example, used in the onclick of buttons.
Not waiting caused child processes not to be cleaned up correctly.
Thus, this fixes #75 .
2020-12-26 12:59:59 +01:00
elkowar
9d817268d7
Implement multiple classes on a single element, and fix changing class names ( fixes #70 )
2020-12-09 19:19:19 +01:00
elkowar
f83fc4d969
Use Box rather than Frame for <literal> ( fixes #68 )
2020-12-07 18:32:44 +01:00
elkowar
0b900861cb
Add daemon subcommand ( fixes #69 )
2020-12-07 18:20:40 +01:00
elkowar
3458a25104
Cleanup
2020-11-21 22:17:21 +01:00
Pedro Burgos
90944eb0ef
Improve error messages when parsing config files ( #62 )
...
* Better error messages when parsing xml config files
* Store config file path in eww_config struct
* cargo fmt
2020-11-21 19:06:33 +01:00
gk
1c0ac2fd83
fix typo (solves #60 ) ( #61 )
2020-11-21 11:51:00 +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
9146905314
Advanced window positioning with anchors ( #55 )
...
* Implement anchoring
* adjust documentation
2020-11-01 17:33:57 +01:00
ElKowar
0f68a76507
Implement multiple value update, breakign syntax of eww update ( #51 )
2020-10-30 22:12:21 +01:00
ay9thqi3tbqiwbegqsg a[soiaosshasdg
dd3c50f3ac
fixed widget docs issues, with missing descriptions and renamed a widget ( #47 )
...
* fixed widget docs issues, with missing descriptions and combo box is renamed to combo box text, cause thats what it's actually is
* forgot this one thing
* Update src/widgets/widget_definitions.rs
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
* Update src/widgets/widget_definitions.rs
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
* Update src/widgets/widget_definitions.rs
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
* Update src/widgets/widget_definitions.rs
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
* Update src/widgets/widget_definitions.rs
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
2020-10-26 14:41:57 +01:00
elkowar
31ed9d0135
Get rid of a lot of dependencies
2020-10-25 20:40:40 +01:00
elkowar
8c939fb054
Cleanup value by using DebugCustom
2020-10-25 20:20:10 +01:00
elkowar
5116334978
Update documentation theme
2020-10-25 17:34:26 +01:00
elkowar
7013acac63
Fix doc comments in widget_definitions.rs
2020-10-25 16:54:52 +01:00
elkowar
b349c003e8
make file reloading faster
2020-10-25 12:29:01 +01:00
ElKowar
3d31788b2f
Cleanup the file structure of main ( #43 )
2020-10-25 11:33:37 +01:00
ay9thqi3tbqiwbegqsg a[soiaosshasdg
24e3a36c52
Combo box and as_vec() ( #41 )
...
Add `as_vec` for PrimitiveValues and implement the `combo-box` widget
2020-10-25 10:56:45 +01:00
elkowar
0bab2963fe
Temporarily fix the implementation of limit-width
2020-10-25 10:51:17 +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
e427101c19
Add eww logs command. fixes #7
2020-10-23 20:17:21 +02:00
elkowar
a906c18bd7
Implement selectable windows, fixes #27
2020-10-23 19:40:39 +02:00
elkowar
4bbbfe7eab
Add more flexibility to <label>
2020-10-23 18:50:15 +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
4573f056b0
Clean up file structure, and add Struts tag which isn't functional yet
2020-10-23 17:55:59 +02:00
elkowar
11eafe5d5f
Cleanup detach by using nix over libc
2020-10-22 19:06:08 +02:00
ay9thqi3tbqiwbegqsg a[soiaosshasdg
bde3197d02
added troubleshooting to the readme (and fixed a small naming convention issue) ( #39 )
2020-10-22 18:33:47 +02:00
elkowar
ecdfd589fa
add read-timeout to client
2020-10-21 23:38:44 +02:00
elkowar
4a4b0a3343
Add more tests
2020-10-21 19:58:15 +02:00
ay9thqi3tbqiwbegqsg a[soiaosshasdg
4ddbea7194
added color widget (difference to the color button, is thats its not hidden behind a button so you can always see it. ( #38 )
2020-10-21 19:57:37 +02:00
elkowar
5f3e16e70c
Fix parsing of AttrValues ( fixes #37 )
2020-10-21 19:14:17 +02:00
elkowar
7f39205c92
Fix dumb flooring error in window sizing/positioning calculations ( fixes #30 )
2020-10-20 22:09:45 +02:00
ay9thqi3tbqiwbegqsg a[soiaosshasdg
89c006e040
added expanded boolean to the expander ( #36 )
2020-10-20 21:57:14 +02:00
elkowar
715e8e6ecc
Remove text widget and add limit-width attribute to label
2020-10-20 21:39:54 +02:00
elkowar
ca079d149d
Set default space-evenly to true
2020-10-20 21:00:38 +02:00
elkowar
7a6ddcc566
Rename colorButton to color-button
2020-10-20 20:12:38 +02:00
elkowar
084d37124a
Fix issues introduced in #32
2020-10-20 20:11:59 +02:00
ay9thqi3tbqiwbegqsg a[soiaosshasdg
d5fc9df94d
added color button, i am unsure what to do with it know... you figure that out ( #32 )
...
* Add GtkColorButton widget
2020-10-20 20:07:50 +02:00
elkowar
423c79d263
Implement relative window size and position. closes #30
2020-10-20 18:44:50 +02:00
elkowar
0207ccaf3d
Cleanup script-var-handler behaviour
2020-10-19 20:39:34 +02:00
ur name
4a9a712af8
added a always-there variable called window_name, that contains.. who would have guessed.. the window name - LegendOfMiracles
2020-10-19 18:01:53 +02:00