elkowar
eb804ae346
update dependencies
2021-03-23 11:14:06 +01:00
undefinedDarkness
c4cbdedec5
Added tooltips ( #127 )
2021-03-08 22:32:33 +01:00
elkowar
30305cd506
Improve error messages for non-existant config dir
2021-03-08 22:31:53 +01:00
elkowar
f544d0e19a
change formatting config
2021-03-08 22:28:29 +01:00
elkowar
5cf18bfc43
Add support for overriding monitor in CLI
2021-03-02 17:55:48 +01:00
elkowar
0c762de864
Allow literal-tag content to use user-defined widgets
2021-03-02 17:24:14 +01:00
elkowar
c37c5b3cf3
Add elvis operator
2021-03-02 14:52:51 +01:00
elkowar
f2c0e06997
Improve handling of paths and daemon-ids
2021-03-02 13:50:50 +01:00
elkowar
8dba5aca83
Add EwwPaths struct and refactor path handling in general
2021-03-02 13:12:52 +01:00
elkowar
5b3344fc5b
make multiple daemons possible and make commands time out
2021-03-02 12:23:18 +01:00
ElKowar
9a8bbf4114
Expression language ( #124 )
...
* Add AST
* add make-shift testing parser, and make stuff ocmpile
* add proper expression parser
* make string format use '
* Add empty doc page for expressions
* add tests
* Clean up file structure and add unary operators
* Write documentation
2021-03-02 10:27:52 +01:00
ElKowar
a18901f187
State refactor ( #121 )
...
* Add widget_node trait and generic impl
* Use WidgetNode stuff in some places
* Use WidgetNode stuff in rendering code
* Refactor
2021-02-26 21:03:53 +01:00
undefinedDarkness
6251a2bc1d
Checkboxes ( #119 )
...
* Add -c / --config argument to eww daemon
* Fix for requested changes
* removed comment
* Added checkbox
* cargo fmt
2021-02-26 20:58:10 +01:00
elkowar
2120e76a5c
Add box to logs
2021-02-17 17:01:07 +01:00
elkowar
ce2ce250e4
Fix compilation on non-x11
2021-02-17 16:50:48 +01:00
elkowar
e9af869a0a
Not use inotify on non-linux compile targets
2021-02-17 16:45:57 +01:00
elkowar
9238688774
Implement struts
2021-02-17 16:42:54 +01:00
elkowar
ab26c1ea81
Add progressbar widget
2021-02-12 20:30:55 +01:00
undefinedDarkness
4da676e38b
SCSS relative path support, set cwd of server to eww config directory ( #110 )
2021-02-08 10:46:33 +01:00
elkowar
d2fa79f050
Make --debug a global flag
2021-02-07 20:31:39 +01:00
Axarva
827d47b26e
Provide an example configuration (with space for more!) ( #99 )
2021-02-05 21:51:06 +01:00
undefinedDarkness
66bfe25d87
Add -c / --config argument to eww daemon ( #104 )
2021-02-02 19:59:30 +01:00
elkowar
ebb8fc065d
Run poll-vars immediately when starting ( fixes #98 )
2021-01-31 16:20:19 +01:00
legendofmiracles
7648a400c3
Shows warnings when defining variables that are already defined, and other general improvements ( #105 )
...
* refactored everything into a function, and checks the larger/smaller one
* general improvements
* Simplify code
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2021-01-31 16:11:52 +01:00
elkowar
090165eb8c
Cleanup config include code and error handling
2021-01-31 15:09:45 +01:00
elkowar
47863a3e77
Add eww reload command
2021-01-21 21:47:40 +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
ff756da2c5
Exit 1 on daemon connection failure
2021-01-16 16:39:17 +01:00
elkowar
6c2e0dbbc1
Fix script-vars being ran without window using them, and add debug flag. fixes #94 .
2021-01-16 16:14:03 +01:00
elkowar
23db60508e
update dependencies
2021-01-07 21:43:00 +01:00
elkowar
3a7f3a49df
Adjust documentation to fit new daemon CLI API
2021-01-07 21:22:54 +01:00
elkowar
34876efe02
Slight cleanup
2021-01-07 21:21:08 +01:00
elkowar
018bfee24c
Make daemon startup explicit
2021-01-07 21:21:08 +01:00
elkowar
1c6853cc5d
add eww open-many
2021-01-03 17:16:31 +01:00
elkowar
5fac2271b5
Remove dependencies and simplify CLI, also adding eww ping command
2021-01-03 17:16:31 +01:00
elkowar
6df15379bb
Fix IPC streams not working correctly
2021-01-03 17:16:31 +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
elkowar
19681a0db8
start playing around
2021-01-03 17:16:31 +01:00
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