Also remove newline at end of file
diff --git a/src/apps/personal/sway.nix b/src/apps/personal/sway.nix
index 4c776a8..60cd2bb 100644
--- a/src/apps/personal/sway.nix
+++ b/src/apps/personal/sway.nix
@@ -38,7 +38,7 @@
}
];
wlogoutJson = (builtins.toJSON wlogoutConfig);
- wlogoutConfigFile = pkgs.writeText "wlogout-layout.layout" (builtins.substring 1 ((builtins.stringLength wlogoutJson) - 1) wlogoutJson);
+ wlogoutConfigFile = pkgs.writeText "wlogout-layout.layout" (builtins.substring 1 ((builtins.stringLength wlogoutJson) - 2) wlogoutJson);
in {
wayland.windowManager.sway = {
enable = true;