61 lines
1.2 KiB
Nix
61 lines
1.2 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
fonts,
|
|
scheme,
|
|
accentColour ? "base07",
|
|
...
|
|
}: {
|
|
imports = [../desktop.nix];
|
|
wayland.windowManager.sway = {
|
|
enable = true;
|
|
package = null;
|
|
swaynag.enable = true;
|
|
systemd.enable = true;
|
|
wrapperFeatures.gtk = true;
|
|
xwayland = true;
|
|
config = {
|
|
input = {
|
|
"*" = {
|
|
xkb_layout = "gb";
|
|
xkb_options = "ctrl:nocaps";
|
|
};
|
|
};
|
|
modifier = "Mod4";
|
|
terminal = "${config.programs.alacritty.package}/bin/alacritty";
|
|
output = {
|
|
# DSI-1 = {
|
|
# scale = "2.0";
|
|
# transform = "270";
|
|
# bg = "~/nixos/wallpaper.jpg fill";
|
|
# };
|
|
};
|
|
gaps = {
|
|
inner = 5;
|
|
top = 10;
|
|
bottom = 10;
|
|
left = 10;
|
|
right = 10;
|
|
};
|
|
startup = [
|
|
{command = "dunst";}
|
|
{command = "waybar";}
|
|
];
|
|
assigns = {
|
|
"3: Files" = [
|
|
{class = "^(libreoffice|soffice)(.*)$";}
|
|
];
|
|
"4: Chat" = [
|
|
{class = "^WebCord$";}
|
|
{class = "^Signal$";}
|
|
];
|
|
"5: Games" = [
|
|
{class = "^steam$";}
|
|
{class = "^org.prismlauncher.PrismLauncher$";}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|