nixcfg/homeManagerModules/desktop/sway/default.nix

22 lines
477 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
config,
lib,
pkgs,
2024-04-07 22:16:33 -04:00
...
}: {
config = lib.mkIf config.ar.home.desktop.sway.enable {
ar.home.theme.gtk.hideTitleBar =
2024-07-25 20:57:56 -04:00
if config.wayland.windowManager.sway.package == pkgs.swayfx
then false
else true;
2024-07-10 23:43:51 -04:00
wayland.windowManager.sway = import ./settings.nix {inherit config lib pkgs;};
2024-03-31 08:09:03 -04:00
xdg.portal = {
enable = true;
2024-04-07 22:16:33 -04:00
configPackages = [pkgs.xdg-desktop-portal-wlr];
extraPortals = [pkgs.xdg-desktop-portal-wlr];
2024-03-31 08:09:03 -04:00
};
};
}