wip: more progress
This commit is contained in:
@@ -28,6 +28,7 @@ in
|
||||
];
|
||||
options.modules.Hyprland = {
|
||||
enable = lib.mkEnableOption "Hyprland";
|
||||
suspend-on-hibernate = lib.mkEnableOption "soh";
|
||||
};
|
||||
# TODO, split this into its own module;
|
||||
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 = {
|
||||
Description = "Suspend hyprland";
|
||||
Before = [
|
||||
|
||||
@@ -134,9 +134,6 @@
|
||||
"$mainMod, mouse:272, movewindow"
|
||||
"$mainMod, mouse:273, resizewindow"
|
||||
];
|
||||
workspace = [
|
||||
"name:2, monitor:DP-3"
|
||||
];
|
||||
windowrule = [
|
||||
"match:class .*, suppress_event maximize"
|
||||
"match:class ^(gamescope)$, workspace 5"
|
||||
|
||||
Reference in New Issue
Block a user