nixcfg/homeManagerModules/desktop/sway/default.nix

24 lines
528 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
...
}: {
2024-06-04 14:33:27 -04:00
imports = [./randomWallpaper.nix ./redShift.nix];
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
2024-07-21 21:20:48 -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
};
};
}