wip: more progress

This commit is contained in:
2025-12-24 21:38:01 +00:00
parent 90bb720391
commit ad66564dea
3 changed files with 6 additions and 5 deletions

View File

@@ -23,7 +23,10 @@
# ../../overlays.nix # ../../overlays.nix
# ]; # ];
modules = { modules = {
Hyprland.enable = true; Hyprland = {
enable = true;
suspend-on-hibernate = true;
};
quickshell.enable = true; quickshell.enable = true;
# chromium.enable = true; # chromium.enable = true;
wivrn.enable = true; wivrn.enable = true;

View File

@@ -28,6 +28,7 @@ in
]; ];
options.modules.Hyprland = { options.modules.Hyprland = {
enable = lib.mkEnableOption "Hyprland"; enable = lib.mkEnableOption "Hyprland";
suspend-on-hibernate = lib.mkEnableOption "soh";
}; };
# TODO, split this into its own module; # TODO, split this into its own module;
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
@@ -59,7 +60,7 @@ in
}; };
}; };
}; };
systemd.user.services."hyprland_suspend" = { systemd.user.services."hyprland_suspend" = lib.mkIf cfg.suspend-on-hibernate {
Unit = { Unit = {
Description = "Suspend hyprland"; Description = "Suspend hyprland";
Before = [ Before = [

View File

@@ -134,9 +134,6 @@
"$mainMod, mouse:272, movewindow" "$mainMod, mouse:272, movewindow"
"$mainMod, mouse:273, resizewindow" "$mainMod, mouse:273, resizewindow"
]; ];
workspace = [
"name:2, monitor:DP-3"
];
windowrule = [ windowrule = [
"match:class .*, suppress_event maximize" "match:class .*, suppress_event maximize"
"match:class ^(gamescope)$, workspace 5" "match:class ^(gamescope)$, workspace 5"