mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-28 13:29:17 -05:00
petalburg: set display to 1.25 scale
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / emudeck-build (push) Waiting to run
nix-build / hhd-ui-build (push) Waiting to run
nix-build / rofi-bluetooth-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / emudeck-build (push) Waiting to run
nix-build / hhd-ui-build (push) Waiting to run
nix-build / rofi-bluetooth-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
This commit is contained in:
parent
dd96ce155a
commit
fb322fefad
|
@ -37,12 +37,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
environment.variables.GDK_SCALE = "1";
|
||||
environment.variables.GDK_SCALE = "1.25";
|
||||
networking.hostName = "petalburg";
|
||||
|
||||
services.udev.extraRules = let
|
||||
hyprlandDynamicRes = pkgs.writeShellScript "hyprland-dynamic-resolution" ''
|
||||
MON="eDP-1"
|
||||
MON="desc:China Star Optoelectronics Technology Co. Ltd MNG007QA1-1"
|
||||
RES="1920x1200"
|
||||
|
||||
for dir in /run/user/*; do
|
||||
|
@ -52,7 +52,7 @@
|
|||
monitor_info=$(echo -e "monitors" | ${lib.getExe pkgs.socat} - UNIX-CONNECT:"$socket")
|
||||
|
||||
if echo "$monitor_info" | grep -q "$MON"; then
|
||||
echo -e "keyword monitor $MON, $RES@$1, 0x0, 1, vrr, $2" | ${lib.getExe pkgs.socat} - UNIX-CONNECT:"$socket"
|
||||
echo -e "keyword monitor $MON, $RES@$1, 0x0, 1.25, vrr, $2" | ${lib.getExe pkgs.socat} - UNIX-CONNECT:"$socket"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
sharedModules = [
|
||||
{
|
||||
wayland.windowManager.sway.config.output = {
|
||||
"eDP-1" = {
|
||||
"eDP-2" = {
|
||||
adaptive_sync = "on";
|
||||
scale = "2.0";
|
||||
scale = "1.25";
|
||||
};
|
||||
};
|
||||
|
||||
ar.home.desktop.hyprland.laptopMonitors = ["eDP-1,1920x1200@165, 0x0, 1, vrr, 0"];
|
||||
ar.home.desktop.hyprland.laptopMonitors = ["desc:China Star Optoelectronics Technology Co. Ltd MNG007QA1-1,1920x1200@165, 0x0, 1.25, vrr, 1"];
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue