2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-07-18 21:05:35 -04:00
|
|
|
lib,
|
|
|
|
pkgs,
|
2024-04-07 22:16:33 -04:00
|
|
|
...
|
|
|
|
}: {
|
2024-06-26 22:13:02 -04:00
|
|
|
config = lib.mkIf config.ar.home.desktop.sway.enable {
|
|
|
|
ar.home.theme.gtk.hideTitleBar =
|
2024-05-17 16:17:00 -04:00
|
|
|
if config.wayland.windowManager.sway.package == pkgs.sway
|
|
|
|
then true
|
|
|
|
else false;
|
2024-07-10 23:43:51 -04:00
|
|
|
|
2024-07-21 21:20:48 -04:00
|
|
|
wayland.windowManager.sway = import ./settings.nix {inherit config lib pkgs;};
|
2024-04-14 10:03:18 -04:00
|
|
|
|
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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|