2025-01-04 19:02:30 -05:00
|
|
|
self: {
|
|
|
|
lib,
|
|
|
|
osConfig,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (lib) mkIf;
|
|
|
|
|
|
|
|
cfg = osConfig.roles.desktop;
|
|
|
|
in {
|
2024-08-05 16:23:53 -04:00
|
|
|
imports = [
|
|
|
|
./gtk
|
2025-01-04 19:02:30 -05:00
|
|
|
./xresources
|
2024-08-05 16:23:53 -04:00
|
|
|
|
2025-01-04 19:02:30 -05:00
|
|
|
(import ./cursors self)
|
|
|
|
(import ./hyprpaper self)
|
|
|
|
(import ./qt self)
|
2024-08-05 16:23:53 -04:00
|
|
|
];
|
|
|
|
|
2025-01-04 19:02:30 -05:00
|
|
|
config = mkIf cfg.enable {
|
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
settings = {
|
|
|
|
windowrule = [
|
|
|
|
"size 1231 950,title:^(Open Folder)$"
|
|
|
|
"float,title:^(Open Folder)$"
|
2024-08-05 16:23:53 -04:00
|
|
|
|
2025-01-04 19:02:30 -05:00
|
|
|
"size 1231 950,title:^(Open File)$"
|
|
|
|
"float,title:^(Open File)$"
|
|
|
|
];
|
2024-08-05 16:23:53 -04:00
|
|
|
|
2025-01-04 19:02:30 -05:00
|
|
|
layerrule = [
|
|
|
|
"noanim, selection"
|
|
|
|
];
|
|
|
|
};
|
2024-11-18 11:32:02 -05:00
|
|
|
};
|
2024-08-05 16:23:53 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
# For accurate stack trace
|
|
|
|
_file = ./default.nix;
|
|
|
|
}
|