Adjust documentation to fit new daemon CLI API

This commit is contained in:
elkowar 2021-01-07 21:14:31 +01:00
parent 34876efe02
commit 3a7f3a49df
3 changed files with 5 additions and 3 deletions

View file

@ -52,6 +52,7 @@ chmod +x ./eww
``` ```
and then to run it do and then to run it do
``` ```
./eww daemon
./eww open <window_name> ./eww open <window_name>
``` ```
`<window_name>` is the name of the window, see [The windows block](@/main/configuration.md#windows-block). `<window_name>` is the name of the window, see [The windows block](@/main/configuration.md#windows-block).

View file

@ -20,16 +20,16 @@ SCSS is _very_ close to CSS so if you know CSS you'll have no problem learning S
### GTK-Debugger ### GTK-Debugger
The debugger can be used for **a lot** of things. Especially if something doesn't work or isn't styled right. to enable it do The debugger can be used for **a lot** of things. Especially if something doesn't work or isn't styled right. to enable it launch your eww daemon with
```bash ```bash
GTK_DEBUG=interactive ./eww open main_window GTK_DEBUG=interactive ./eww daemon
``` ```
or in fish or in fish
```bash ```bash
env GTK_DEBUG=interactive ./eww open main_window env GTK_DEBUG=interactive ./eww daemon
``` ```
If a style or something similar doesn't work you can click on the icon in the top left icon to select the thing that isn't being styled or isn't being styled correctly. If a style or something similar doesn't work you can click on the icon in the top left icon to select the thing that isn't being styled or isn't being styled correctly.

View file

@ -78,6 +78,7 @@ fn main() {
} else { } else {
log::info!("Initializing Eww server."); log::info!("Initializing Eww server.");
let _ = std::fs::remove_file(&*crate::IPC_SOCKET_PATH); let _ = std::fs::remove_file(&*crate::IPC_SOCKET_PATH);
println!("Run `eww logs` to see any errors, warnings or informatiion while editing your configuration.");
server::initialize_server()?; server::initialize_server()?;
} }
} }