NixOS-Config/modules/home/wms/sway/default.nix

27 lines
519 B
Nix
Raw Normal View History

2024-10-15 02:40:43 -04:00
{ config, pkgs, ... }:
2024-10-09 03:36:08 -04:00
{
2024-08-24 22:16:51 -04:00
imports = [
2024-11-12 18:03:28 -05:00
./autostart
./hotkeys
./inputs
./outputs
2024-10-15 02:40:43 -04:00
./programs
./rules
2024-11-12 18:03:28 -05:00
./theme
2024-08-24 22:16:51 -04:00
];
wayland.windowManager.sway = {
2024-12-05 14:40:12 -05:00
enable = config.home.desktop.enable;
2024-09-03 18:47:16 -04:00
package = null;
2024-08-24 22:16:51 -04:00
wrapperFeatures.gtk = true;
checkConfig = false;
2024-09-23 16:22:01 -04:00
extraConfig = ''
2024-10-15 02:40:43 -04:00
default_floating_border pixel ${config.look.border.string}
2024-08-24 22:16:51 -04:00
hide_edge_borders --i3 smart
titlebar_padding 10 1
primary_selection disabled
mouse_warping container
2024-08-24 22:16:51 -04:00
'';
};
}