Add support for per-host user configuration
This uses KDL properties, i.e. "host=<hostname>" and can be applied to
any config type. An example is includes in examples/config.kdl.
```kdl
wallpaper_image_path "~/Pictures/desktop.png" host="desktop"
wallpaper_image_path "~/Pictures/laptop.png" host="laptop"
```
This commit is contained in:
parent
e29c4d01e1
commit
0b7e15d7ed
4 changed files with 63 additions and 12 deletions
|
|
@ -91,4 +91,8 @@ input "PIXA3854:00 093A:0274 Touchpad" {
|
|||
natural_scroll "enabled"
|
||||
tap "disabled"
|
||||
}
|
||||
// Per-host config using the host= property
|
||||
// Nodes with a host property are only applied when the hostname matches
|
||||
wallpaper_image_path "~/Pictures/desktop.png" host="desktop"
|
||||
wallpaper_image_path "~/Pictures/laptop.png" host="laptop"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue