1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

sway: indent sway configuration options

Fix the indentation for the configuration of `input`, `output` and
`seat` to match that of `mode`.
This commit is contained in:
Lulu 2024-09-06 14:51:44 +02:00 committed by GitHub
parent 5130249ab2
commit 03b49187a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -249,7 +249,7 @@ let
moduleStr = moduleType: name: attrs: ''
${moduleType} "${name}" {
${concatStringsSep "\n"
(mapAttrsToList (name: value: "${name} ${value}") attrs)}
(mapAttrsToList (name: value: " ${name} ${value}") attrs)}
}
'';
inputStr = moduleStr "input";

View file

@ -71,15 +71,15 @@ bindsym Mod1+v splitv
bindsym Mod1+w layout tabbed
input "*" {
xkb_variant dvorak
xkb_variant dvorak
}
output "HDMI-A-2" {
bg ~/path/to/background.png fill
bg ~/path/to/background.png fill
}
seat "*" {
hide_cursor when-typing enable
hide_cursor when-typing enable
}
mode "resize" {