* basic idea
* generates docs
* hardcoded the gen script
* trying to hide magic vars
* eww-state is good now
* structure for cpu var is now there
* renamed cpu to diskstat, bc lib supports it after all
* not going to implement disk IO. go back to this commit, to see a rough idea
* removed it
* formatting
* stopped data race
* Update src/config/system_stats/ram.rs
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
* Update src/config/system_stats/disk.rs
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
* Explains macos better
* Update battery.rs
* Function for each OS when getting battery, a bit cleaner
* reworked battery a little
* all in one big file
* facepalm
* cleaner gen script and one huge file for the system stat stuff
* merge conflicts
* github interface for resolving merge conflicts sucks, this fixes it
* Apply suggestions from code review
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
* Update src/config/inbuilt.rs
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
* code suggestions
* component temperature is a json struct
* newlines in magic vars descriptions
* disks is now json, numbers are not wrapped in strings, and more idiomatic code
* Update gen-docs.ts
Co-authored-by: mlvzk <mlvzk@protonmail.com>
* removes a unneeded heading
* more doc updates and EWW_CPU_USAGE is now json
* calculates battery total avg and it's a json struct
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
Co-authored-by: mlvzk <mlvzk@protonmail.com>
* Hot reload
* Add wayland and no-x11-wayland build to CI
* Fix no-x11-wayland build (#160)
* test-commit
* Update workflow
* add cache to rust build
* Fix wayland build
* Fix no-x11-wayland build
* Use new version of pkg and do big think about how make async
* forgot to autofmt
* updates
* Hot reload
* Use new version of pkg and do big think about how make async
* forgot to autofmt
* updates
* requested changes + autoformat again
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
* 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>
* 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>
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.