Add hyprland rule for gamescope, add greetd again

This commit is contained in:
Evie Litherland-Smith 2023-07-11 12:54:19 +01:00
parent 3b75b341e8
commit 5ee9d0867c
4 changed files with 20 additions and 3 deletions

View file

@ -160,7 +160,11 @@
wallpaper = ,${wallpapers.outputs.default} wallpaper = ,${wallpapers.outputs.default}
''; '';
xdg.configFile."hypr/display.conf".text = '' xdg.configFile."hypr/display.conf".text = ''
monitor=,highrr,auto,1 monitor=DP-1,highrr,auto,1
monitor=DP-2,highrr,auto,1
monitor=HDMI-1,highres,auto,2
monitor=HDMI-2,highres,auto,2
monitor=,preferred,auto,auto
''; '';
}; };
}) })

View file

@ -149,6 +149,7 @@ windowrule = workspace 5,(discord)
windowrule = workspace 5,(teams-for-linux) windowrule = workspace 5,(teams-for-linux)
windowrule = workspace 6,(Nxplayer.bin) windowrule = workspace 6,(Nxplayer.bin)
windowrule = workspace 7,^(steam).* windowrule = workspace 7,^(steam).*
windowrule = workspace 7,(.gamescope-wrapped)
windowrule = float,(foot) windowrule = float,(foot)
windowrule = center,(foot) windowrule = center,(foot)
windowrule = float,(pavucontrol) windowrule = float,(pavucontrol)

View file

@ -33,7 +33,13 @@
extraGroups = ["networkmanager" "wheel"]; extraGroups = ["networkmanager" "wheel"];
shell = pkgs.fish; shell = pkgs.fish;
}; };
services.greetd.settings.initial_session.user = "elitherl"; services.greetd = {
enable = true;
settings.initial_session = {
user = "elitherl";
command = "Hyprland";
};
};
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions

View file

@ -29,7 +29,13 @@
openssh.authorizedKeys.keys = import ../../auth/authorized_keys.nix; openssh.authorizedKeys.keys = import ../../auth/authorized_keys.nix;
}; };
services.greetd.settings.initial_session.user = "xenia"; services.greetd = {
enable = true;
settings.initial_session = {
user = "xenia";
command = "steam-gamescope";
};
};
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions