2024-10-11 23:27:07 +03:00
|
|
|
{
|
2024-11-04 04:37:29 +03:00
|
|
|
config,
|
2024-11-18 02:24:48 +03:00
|
|
|
lib,
|
|
|
|
util,
|
2024-11-04 04:37:29 +03:00
|
|
|
...
|
|
|
|
} @args: let
|
|
|
|
swayRc = util.catText [
|
|
|
|
./module/Mod.nix
|
|
|
|
./module/Style.nix
|
|
|
|
./module/Display.nix
|
|
|
|
./module/Input.nix
|
|
|
|
./module/Font.nix
|
|
|
|
./module/Launcher.nix
|
|
|
|
./module/Terminal.nix
|
|
|
|
./module/TitleBar.nix
|
|
|
|
./module/Navigation.nix
|
|
|
|
./module/Notification.nix
|
|
|
|
./module/Resize.nix
|
|
|
|
./module/ScratchPad.nix
|
|
|
|
./module/Screenshot.nix
|
|
|
|
./module/Sound.nix
|
|
|
|
./module/Tiling.nix
|
|
|
|
./module/Workspace.nix
|
|
|
|
./module/Session.nix
|
|
|
|
./module/Keyd.nix
|
|
|
|
./module/Waybar.nix
|
|
|
|
./module/System.nix
|
|
|
|
./module/Mouse.nix
|
|
|
|
] args;
|
|
|
|
in {
|
|
|
|
text = (util.trimTabs ''
|
|
|
|
# Read `man 5 sway` for a complete reference.
|
|
|
|
include /etc/sway/config.d/*
|
|
|
|
'')
|
|
|
|
+ swayRc
|
2024-11-18 02:24:48 +03:00
|
|
|
+ lib.concatStringsSep "\n" config.module.sway.extraConfig
|
2024-11-04 04:37:29 +03:00
|
|
|
;
|
2024-04-06 03:03:58 +03:00
|
|
|
}
|