2024-06-25 04:04:39 +03:00
|
|
|
{ pkgs, util, config, ... } @args: let
|
2024-05-04 23:15:57 +03:00
|
|
|
# Order is required for Sway configuration.
|
2024-05-08 18:26:33 +03:00
|
|
|
swayRc = util.catText [
|
|
|
|
./module/Style.nix
|
|
|
|
./module/Display.nix
|
|
|
|
./module/Input.nix
|
|
|
|
./module/Mod.nix
|
|
|
|
./module/Font.nix
|
|
|
|
./module/Launcher.nix
|
|
|
|
./module/Terminal.nix
|
|
|
|
./module/TitleBar.nix
|
|
|
|
./module/Brightness.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
|
2024-05-23 22:00:06 +03:00
|
|
|
./module/System.nix
|
2024-07-28 03:51:41 +03:00
|
|
|
./module/Mouse.nix
|
2024-05-08 18:26:33 +03:00
|
|
|
] args;
|
2024-04-06 03:03:58 +03:00
|
|
|
in {
|
2024-06-30 03:56:48 +03:00
|
|
|
text = (util.trimTabs ''
|
2024-04-06 03:03:58 +03:00
|
|
|
# Read `man 5 sway` for a complete reference.
|
|
|
|
include /etc/sway/config.d/*
|
2024-04-30 20:36:50 +03:00
|
|
|
'') + swayRc;
|
2024-04-06 03:03:58 +03:00
|
|
|
}
|
|
|
|
|