nixcfg/homeManagerModules/desktop/sway/default.nix

22 lines
475 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 =
if config.wayland.windowManager.sway.package == pkgs.sway
then true
else false;
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
};
};
}