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>
This commit is contained in:
ay9thqi3tbqiwbegqsg a[soiaosshasdg 2020-10-26 08:38:03 +00:00 committed by GitHub
parent 9c5ed210e5
commit 5f5c9897df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 9 deletions

View file

@ -5,7 +5,7 @@ sort_by = "weight"
+++ +++
Eww (ElKowar's Wacky Widgets, pronounced with sufficient amounts of disgust) Is a widgeting system made in [rust](https://www.rust-lang.org/), which let's you create your own widgets simmilarly to how you can in AwesomeWM. The key difference: It is independent of your window manager! Eww (ElKowar's Wacky Widgets, pronounced with sufficient amounts of disgust) Is a widgeting system made in [rust](https://www.rust-lang.org/), which let's you create your own widgets similarly to how you can in AwesomeWM. The key difference: It is independent of your window manager!
Configured in XML and themed using CSS, it is easy to customize and provides all the flexibility you need! Configured in XML and themed using CSS, it is easy to customize and provides all the flexibility you need!

View file

@ -6,11 +6,11 @@ weight = 1
## Configuration ## Configuration
For specific built in widgets `<box>, <text>, <slider>, etc` see [Widget Documetation](@/main/widgets.md) For specific built in widgets `<box>, <text>, <slider>, etc` see [Widget Documentation](@/main/widgets.md)
### Placing the configuration file ### Placing the configuration file
The configuration file and the scss file should lay in your `$HOME/.config/eww` folder. The xml file should be named `eww.xml` and the scss should be named `eww.scss` The configuration file and the scss file should lay in `$XDG_CONFIG_HOME/eww` (or, if unset, `$HOME/.config/eww`). The XML file should be named `eww.xml` and the scss should be named `eww.scss`
So the directory structure should look like this: So the directory structure should look like this:
``` ```
$HOME $HOME

View file

@ -6,16 +6,15 @@ weight = 4
## Troubleshooting ## Troubleshooting
Here you will find help if something doesn't work, if the issue isn't listed here please [open an issue on the github repo.](https://github.com/elkowar/eww/issues) Here you will find help if something doesn't work, if the issue isn't listed here please [open an issue on the GitHub repo.](https://github.com/elkowar/eww/issues)
### My scss isn't being loaded! ### My scss isn't being loaded!
1. You have not created a scss file 1. You have not created a scss file
2. The scss file isn't called correctly. (it should be called `eww.scss` in the `$HOME/.config/eww` folder) 2. The scss file isn't called correctly. (it should be called `eww.scss` in the `$HOME/.config/eww` folder)
3. The scss file isn't placed in the correct location (check above) 3. The scss file isn't placed in the correct location (check above)
4. You have used two (or more) semi-colons (;;) insted of one (;) at the end of a line.
If none of these fixed your problem [open an issue on the github repo.](https://github.com/elkowar/eww/issues) Or check the [GTK-Debugger](#gtk-debugger). If none of these fixed your problem [open an issue on the GitHub repo.](https://github.com/elkowar/eww/issues) Or check the [GTK-Debugger](#gtk-debugger).
### Eww can't find my configuration file! ### Eww can't find my configuration file!
@ -24,7 +23,23 @@ If none of these fixed your problem [open an issue on the github repo.](https://
### Something isn't styled correctly! ### Something isn't styled correctly!
1. You have misstyped the CSS class. 1. You have mistyped the CSS class.
2. Check the [GTK-Debugger](#gtk-debugger) 2. Check the [GTK-Debugger](#gtk-debugger)
Remeber if your issue isn't listed here, [open an issue on the github repo](https://github.com/elkowar/eww/issues). ### General issues
You should try the following things, before opening a issue or doing more specialized troubleshooting:
- Try killing the eww daemon with `eww kill` and run again
- If you're running with `-d`, run without `-d` to see output, or run `eww logs` to see the logs written by eww. These logs are stored in `~/.cache/eww.log`.
- use `eww state`, to see the state of all variables
- use `eww debug`, to see the xml of your widget and other information
- update to the latest eww version
- sometimes hot reloading doesn't work. restart the widget in that case
If you're experiencing issues printing variables, try to print them in quotes, so e.g.
```
onchange="notify-send '{}'"
```
Remember if your issue isn't listed here, [open an issue on the GitHub repo](https://github.com/elkowar/eww/issues).

View file

@ -6,7 +6,7 @@ weight = 2
## GTK ## GTK
### Gtk-Themeing ### Gtk-theming
Eww is styled in GTK CSS. Eww is styled in GTK CSS.
To make theming even easier, it makes use of `scss` and then compiles that into CSS for you. To make theming even easier, it makes use of `scss` and then compiles that into CSS for you.