nix/module/sway/default.nix

33 lines
744 B
Nix
Raw Normal View History

2024-04-29 02:03:44 +03:00
{ pkgs, wallpaper, style, util, setting, ... } @args: let
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
] args;
2024-04-06 03:03:58 +03:00
in {
config = (util.trimTabs ''
2024-04-06 03:03:58 +03:00
# Read `man 5 sway` for a complete reference.
include /etc/sway/config.d/*
'') + swayRc;
script = util.catText (util.ls ./script) args + "\${@}";
2024-04-06 03:03:58 +03:00
}