hyprland-wiki/pages/Configuring/Configuring-Hyprland.md

52 lines
1.3 KiB
Markdown
Raw Normal View History

2022-08-12 20:46:36 +02:00
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).
2022-08-12 20:46:36 +02:00
2022-08-13 21:16:31 +02:00
Start a section with `name {` and end in `}` ***in separate lines!***
2022-08-12 20:46:36 +02:00
# Line style
every config line is a command followed by a value.
```plain
2022-08-12 20:46:36 +02:00
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
2022-08-12 20:46:36 +02:00
COMMAND = VALUE
```
is valid.
# Basic configuring
To configure the "options" of Hyprland, animations, styling, etc. see
[Basic Configuring](../Basic-Config).
2022-08-12 20:46:36 +02:00
# Advanced configuring
Some keywords (binds, curves, execs, monitors, etc.) arent variables but define
special behaviour.
See all of them in
[Advanced Configuring](../Advanced-config)