1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-10 21:29:48 +01: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: '' moduleStr = moduleType: name: attrs: ''
${moduleType} "${name}" { ${moduleType} "${name}" {
${concatStringsSep "\n" ${concatStringsSep "\n"
(mapAttrsToList (name: value: "${name} ${value}") attrs)} (mapAttrsToList (name: value: " ${name} ${value}") attrs)}
} }
''; '';
inputStr = moduleStr "input"; inputStr = moduleStr "input";

View file

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