# Theme

### General

Walker is built using of \[GTK4]\(<https://docs.gtk.org/gtk4/>).\
\
Refer to the \[GTK4 Documentation]\(<https://docs.gtk.org/gtk4/>) for specific information.

### Themes

Themes are built out of the following building-blocks:

* `style.css`
* `layout.xml`
* `keybind.xml`
* `preview.xml`
* `item_<provider>.xml`

\
You don't have to create every file if you want to create a custom theme, only the ones you want to change.\
\
These files should be placed in `~/.config/walker/themes/<THEME>`\\

To set the general theme for Walker, change `theme = "<THEME>"` in your `config.toml`.\
\
You can tell Walker to use a different theme, by providing the `-t/--theme` flag.

### Important

Changing the `style.css` does NOT require a restart of Walker, while changing any `*.xml` file does.

### Reference

Have a look at the default theme: <https://github.com/abenz1267/walker/tree/master/resources/themes/default>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://benz.gitbook.io/walker/customization/theme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
