hyprland-wiki/pages/Configuring/Configuring-Hyprland.md
2022-08-13 21:16:31 +02:00

51 lines
1.3 KiB
Markdown

The config is located in `~/.config/hypr/hyprland.conf`.
I recommend you copy the `examples/hyprland.conf`, but you can also edit the
autogenerated config.
By removing the line `autogenerated=1` you'll remove the yellow warning.
The Hyprland config is very similiar in syntax to the Hypr config. The only
difference is that all the variables that didn't have a section are now in the
section `general`.
There is no "reload" keybind. The config is reloaded the moment you save it.
Refer to the example config in
[example/hyprland.conf](https://github.com/hyprwm/Hyprland/blob/main/example/hyprland.conf).
Start a section with `name {` and end in `}` ***in separate lines!***
# Line style
every config line is a command followed by a value.
```plain
COMMAND=VALUE
```
The command can be a variable, or a special keyword (described further in this
page)
You are **allowed to** input trailing spaces at the beginning and end.
e.g.:
```plain
COMMAND = VALUE
```
is valid.
# Basic configuring
To configure the "options" of Hyprland, animations, styling, etc. see
[Basic Configuring](../Basic-Config).
# Advanced configuring
Some keywords (binds, curves, execs, monitors, etc.) arent variables but define
special behaviour.
See all of them in
[Advanced Configuring](../Advanced-config)