mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 03:29:45 +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:
parent
5130249ab2
commit
03b49187a2
2 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||
|
|
|
@ -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" {
|
||||
|
|
Loading…
Reference in a new issue