feat: Hyprland monitor config and display scale

Change displayScale to 2
Add explicit eDP config
This commit is contained in:
Zhongheng Liu 2024-09-01 09:22:37 +03:00
commit c2e4f54322
No known key found for this signature in database
2 changed files with 9 additions and 3 deletions

View file

@ -21,7 +21,7 @@
config = rec {
myUserName = "stvnliu";
myHostName = "nixos-msi";
displayScale = 1;
displayScale = 2;
myWallPaperPathString = "/home/${myUserName}/wallpaper.jpg";
myDisplayName = "Zhongheng Liu";
myEmail = "z.liu@outlook.com.gr";

View file

@ -9,12 +9,18 @@
enable = true;
# The hyprland package to use
package = pkgs.hyprland;
plugins = with pkgs.hyprlandPlugins; [hyprfocus csgo-vulkan-fix];
plugins = with pkgs.hyprlandPlugins; [
hyprfocus
csgo-vulkan-fix
];
# Whether to enable XWayland
xwayland.enable = true;
settings = {
xwayland = {force_zero_scaling = true;};
monitor = ",preferred,auto,${builtins.toString config.displayScale}";
monitor = [
#"eDP-1, 1920x1080@165,0x0,1"
",preferred, auto, ${builtins.toString config.displayScale}"
];
input = {
# xset rate 250 50 replacement on wayland...
# FAST MODE LET'S GOOO