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
4f773a4fa7
add image to readme
2021-01-07 21:25:33 +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
84cce399d0
Simplify Readme
2021-01-07 21:20:55 +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
080696a751
Fix documentation for includes
2020-12-13 01:01:33 +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
0e97847a3a
Add docs for stacking
, focusable
and screen
on window
...
Adds missing documentation for the `<window>` attributes `stacking`, `focusable` and `screen`
2020-11-25 10:32:16 +01:00
Pedro Burgos
380c64784b
Removed unused dependency ( #63 )
2020-11-24 14:33:59 +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
496eb29038
Fix documentation of windows block
2020-11-08 11:16:15 +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
Swexti
c8ff2ce4f4
Include general structure in configuration documentation
2020-10-27 10:17:38 +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
ay9thqi3tbqiwbegqsg a[soiaosshasdg
5f5c9897df
extended troubleshooting in the docs and fixed a few typos ( #46 )
...
* extended troubleshooting and fixed typos
* extended troubleshooting and fixed typos
* Update docs/content/main/troubleshooting.md
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
* Update docs/content/main/troubleshooting.md
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
* Update docs/content/main/configuration.md
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
2020-10-26 09:38:03 +01:00