Remove most uses of fractional scaling

Only keep scaling for work 4K monitor.

Increase font sizes across the board for better usability.
This commit is contained in:
Evie Litherland-Smith 2024-09-17 14:20:24 +01:00
parent 51b81c2d3c
commit 52621fb997
3 changed files with 12 additions and 23 deletions

View file

@ -4,10 +4,7 @@
home-manager.users.${username} = {
imports = [ ./home/work.nix ];
wayland.windowManager.sway.config = {
output = {
"eDP-1".scale = "1.25";
"Dell Inc. DELL P3223QE CCG8YN3".scale = "1.5";
};
output."Dell Inc. DELL P3223QE CCG8YN3".scale = "1.5";
workspaceOutputAssign = [
{
output = "eDP-1";
@ -19,15 +16,8 @@
enable = true;
settings =
let
laptopScreen = {
criteria = "eDP-1";
scale = 1.25;
# position = "2560,576";
};
monitor = {
criteria = "Dell Inc. DELL P3223QE CCG8YN3";
scale = 1.5;
};
laptopScreen.criteria = "eDP-1";
monitor.criteria = "Dell Inc. DELL P3223QE CCG8YN3";
in
[
{
@ -35,7 +25,7 @@
name = "default";
outputs = [
{
inherit (laptopScreen) criteria scale;
inherit (laptopScreen) criteria;
status = "enable";
position = "0,0";
}
@ -47,11 +37,11 @@
name = "docked";
outputs = [
{
inherit (laptopScreen) criteria scale;
inherit (laptopScreen) criteria;
status = "disable";
}
{
inherit (monitor) criteria scale;
inherit (monitor) criteria;
status = "enable";
position = "0,0";
}

View file

@ -23,7 +23,7 @@
cartridges
prismlauncher
(writeShellScriptBin "steamscope" ''
gamescope -w 2560 -h 1440 -r 165 --adaptive-sync --force-grab-cursor --fullscreen -e -- steam -gamepadui
gamescope -w 2560 -h 1440 -r 120 --adaptive-sync --force-grab-cursor --fullscreen -e -- steam -gamepadui
'')
];
programs.obs-studio = {
@ -39,13 +39,12 @@
output = {
"Microstep MSI G27CQ4 E2 Unknown" = {
mode = "2560x1440@120Hz";
scale = "1.25";
position = "1920 0";
adaptive_sync = "on";
};
"Acer Technologies ED270R TJMEE0043W01" = {
mode = "1920x1080@120Hz";
position = "0 140";
position = "0 360";
adaptive_sync = "off";
};
};

View file

@ -152,10 +152,10 @@
{
inherit monospace serif sansSerif;
sizes = {
applications = 12;
desktop = 10;
popups = 14;
terminal = 12;
applications = 16;
desktop = 14;
popups = 18;
terminal = 16;
};
};
};