From dd6f7fada5db774b854c09f09d455aa42265ab70 Mon Sep 17 00:00:00 2001 From: buffet Date: Tue, 20 Dec 2022 14:58:08 +0100 Subject: [PATCH] chore: autoformat code --- programs/sway.nix | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/programs/sway.nix b/programs/sway.nix index c9fb071..c4047b9 100644 --- a/programs/sway.nix +++ b/programs/sway.nix @@ -87,27 +87,26 @@ focusedInactive = unfocused; }; - keybindings = - let - swaylockConf = pkgs.writeText "swaylock.conf" '' - ignore-empty-password - color=${theme.primary.background} - bs-hl-color=${theme.normal.red} - caps-lock-bs-hl-color=${theme.normal.red} - caps-lock-key-hl-color=${theme.bright.green} - inside-color=${theme.primary.background} - inside-clear-color=${theme.normal.yellow} - inside-caps-lock-color=${theme.primary.background} - inside-ver-color=${theme.normal.blue} - inside-wrong-color=${theme.normal.red} - key-hl-color=${theme.bright.green} - ring-color=${theme.normal.green} - ring-clear-color=${theme.normal.yellow} - ring-caps-lock-color=${theme.bright.yellow} - ring-ver-color=${theme.bright.blue} - ring-wrong-color=${theme.bright.red} - ''; - in + keybindings = let + swaylockConf = pkgs.writeText "swaylock.conf" '' + ignore-empty-password + color=${theme.primary.background} + bs-hl-color=${theme.normal.red} + caps-lock-bs-hl-color=${theme.normal.red} + caps-lock-key-hl-color=${theme.bright.green} + inside-color=${theme.primary.background} + inside-clear-color=${theme.normal.yellow} + inside-caps-lock-color=${theme.primary.background} + inside-ver-color=${theme.normal.blue} + inside-wrong-color=${theme.normal.red} + key-hl-color=${theme.bright.green} + ring-color=${theme.normal.green} + ring-clear-color=${theme.normal.yellow} + ring-caps-lock-color=${theme.bright.yellow} + ring-ver-color=${theme.bright.blue} + ring-wrong-color=${theme.bright.red} + ''; + in { "${mod}+Shift+c" = "kill"; "${mod}+Control+r" = "reload";