mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 17:03:55 -05:00
Aly Raffauf
6b1be071f6
* home/sway: use wayland helpers * home/sway: reorg * home/sway: simplify string interpolation * home/sway: fix faulty helpers * home/sway: consolidate secondary modules * home/sway: cleanup * home/wayland: simplify screenshooter * home/sway: better random wallpaper handling * home/sway: move display configuration to hosts * home/sway: move touch config to hosts * hosts/petalburg: add sway bindings * home/wayland/helpers: save screenshots to config.xdg.userDirs.pictures * home/wayland/helpers: enable mako dnd while slurping * nix fmt
22 lines
475 B
Nix
22 lines
475 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
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;
|
|
|
|
wayland.windowManager.sway = import ./settings.nix {inherit config lib pkgs;};
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
configPackages = [pkgs.xdg-desktop-portal-wlr];
|
|
extraPortals = [pkgs.xdg-desktop-portal-wlr];
|
|
};
|
|
};
|
|
}
|