feat[client]: add autotiling

This commit is contained in:
Leon Schwarzäugl 2025-10-11 21:53:46 +02:00
parent 0287e9d582
commit 4e985811fc
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
7 changed files with 1265 additions and 822 deletions

View file

@ -0,0 +1,14 @@
{ lib, config, ... }:
let
moduleName = "autotiling";
in
{
options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings";
config = lib.mkIf config.swarselmodules.${moduleName} {
swarselservices.${moduleName} = {
enable = true;
systemdTarget = config.wayland.systemd.target;
};
};
}

View file

@ -391,7 +391,7 @@ in
swayfxSettings = config.swarselsystems.swayfxConfig;
in
"
exec_always autotiling
# exec_always autotiling
set $exit \"exit: [s]leep, [l]ock, [p]oweroff, [r]eboot, [u]ser logout\"
mode $exit {