Commit graph

67 commits

Author SHA1 Message Date
snakedye
9ea20cd753
Proper wayland support (#125)
* Initial commit for wayland support

* Improvements to Wayland backend, structs and enums

* gtk-layer-shell-rs imported

* Eww compiles with wayland backend

* Full layershell support

* Compatibility with x11 backend

* updated docs and better compatibily with X config

* error in example

* "screen" in config works

* Updated documentation

* bar example for wayland

* eww follow focus when screen is undefined

* NumWithUnit

* Removed SurfaceDefinition for StrutDefinition
again...

* cargo fmt

* fix match statement for screen number

* fix focusable / kb interactivity

* revision #2

* fix: compile error and example

* feat: I fixed the deps
X11 doesn't compile because of some x11 fuckery

* fix: x11 fuckery
PR NOW REEEEEEEEEEEEEEEEEEEEEEEEE

* fix conflics and cargo fmt

* i can't read

* conflicts: a never ending loop...

* dammit ptr

* conflicts: Cargo.lock

* 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

* make multiple daemons possible and make commands time out

* Add EwwPaths struct and refactor path handling in general

* Update docs to include <reserve>

* Improve handling of paths and daemon-ids

* Add elvis operator

* Allow literal-tag content to use user-defined widgets

* Add support for overriding monitor in CLI

* change formatting config

* Improve error messages for non-existant config dir

* Added tooltips (#127)

* update dependencies

* Explicetely states where to look for installing eww (#131)

I think this should be added, because we already had a couple of people opening issues because they didn't read the docs on how to install eww.

* (Very) Rudimentry gif support (#143)

* rudimentry gif support

* revert main.rs

* Fix variable reference detection, should fix #144

* cleanup TextPos in eww debug

* Manually resolve escaped symbols in xml.

This shouldn't be necesary.
Fixes #154 and fixes #147

* Add JSON support for exprs (fixes #146)

* Add docs for json values and make value related names shorter

* Add animated icon

* Initial commit for wayland support

* Improvements to Wayland backend, structs and enums

* gtk-layer-shell-rs imported

* Eww compiles with wayland backend

* Full layershell support

* Compatibility with x11 backend

* updated docs and better compatibily with X config

* "screen" in config works

* Updated documentation

* eww follow focus when screen is undefined

* Removed SurfaceDefinition for StrutDefinition
again...

* cargo fmt

* fix match statement for screen number

* fix focusable / kb interactivity

* revision #2

* fix: compile error and example

* feat: I fixed the deps
X11 doesn't compile because of some x11 fuckery

* fix conflics and cargo fmt

* i can't read

* conflicts: a never ending loop...

* dammit ptr

* conflicts: Cargo.lock

* yeeting git syntax

* trying to resolve conflicts

* yeeting Cargo.lock...

* i try

* revision: removing duplicates

* fix geometry, example and improving docs

* clearing up the documentation

* I forgot the scss file.
I also edited the bar to take advantage of eww expressions.

* more yeeting and moved exclusive to window

Co-authored-by: Bryan Ndjeutcha <ndjeutcha@gmail.com>
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
Co-authored-by: undefinedDarkness <38278035+undefinedDarkness@users.noreply.github.com>
Co-authored-by: legendofmiracles <30902201+legendofmiracles@users.noreply.github.com>
2021-05-03 21:14:34 +02:00
elkowar
eb804ae346 update dependencies 2021-03-23 11:14:06 +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
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
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
9238688774 Implement struts 2021-02-17 16:42:54 +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
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
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
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
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
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
b9b8a77cf4 Handle application exit somewhat nicely 2021-01-03 17:16:31 +01:00
elkowar
0b900861cb Add daemon subcommand (fixes #69) 2020-12-07 18:20:40 +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
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
3d31788b2f
Cleanup the file structure of main (#43) 2020-10-25 11:33:37 +01: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
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
elkowar
ecdfd589fa add read-timeout to client 2020-10-21 23:38:44 +02:00
elkowar
423c79d263 Implement relative window size and position. closes #30 2020-10-20 18:44:50 +02:00
elkowar
b06162dcf5 Refactor attr_value to only have one variant 2020-10-18 23:26:00 +02:00
ay9thqi3tbqiwbegqsg a[soiaosshasdg
7ab8588b9d Improve CLI help output
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>

Update src/main.rs

Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
2020-10-18 23:25:54 +02:00
ur name
5f882e5992 Add MIT license 2020-10-18 23:25:48 +02:00
elkowar
52503fcf7a Allow for interpolation in attrs 2020-10-18 23:25:00 +02:00
elkowar
3fbb8eb237 write to log file 2020-10-18 23:25:00 +02:00
elkowar
0ea3d2255b Implement command (fixes #9) 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
0fca322bde Add stacking option to window definition 2020-10-18 23:25:00 +02:00
elkowar
600f104552 Add documentation 2020-10-18 23:25:00 +02:00
elkowar
7187b32ae5 implement default values in resolve macro 2020-10-18 23:25:00 +02:00
elkowar
1f86c72ef6 VarName newtype, nothing works RN just tmp 2020-10-18 23:25:00 +02:00
elkowar
9f69bbb440 add -d flag to detach from terminal 2020-10-18 23:25:00 +02:00
elkowar
40fe82b4a0 Add unknown attribute warning 2020-10-18 23:25:00 +02:00