From 3a7f3a49dfac08bc327ce4ecc0ea6f5127edf24c Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Thu, 7 Jan 2021 21:14:31 +0100 Subject: [PATCH] Adjust documentation to fit new daemon CLI API --- docs/content/main/_index.md | 1 + docs/content/main/working_with_gtk.md | 6 +++--- src/main.rs | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/content/main/_index.md b/docs/content/main/_index.md index c4e82fb..d8680eb 100644 --- a/docs/content/main/_index.md +++ b/docs/content/main/_index.md @@ -52,6 +52,7 @@ chmod +x ./eww ``` and then to run it do ``` +./eww daemon ./eww open ``` `` is the name of the window, see [The windows block](@/main/configuration.md#windows-block). diff --git a/docs/content/main/working_with_gtk.md b/docs/content/main/working_with_gtk.md index fab0f0e..ec17ad9 100644 --- a/docs/content/main/working_with_gtk.md +++ b/docs/content/main/working_with_gtk.md @@ -20,16 +20,16 @@ SCSS is _very_ close to CSS so if you know CSS you'll have no problem learning S ### 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 -GTK_DEBUG=interactive ./eww open main_window +GTK_DEBUG=interactive ./eww daemon ``` or in fish ```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. diff --git a/src/main.rs b/src/main.rs index 6ac6623..6659cb4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -78,6 +78,7 @@ fn main() { } else { log::info!("Initializing Eww server."); 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()?; } }