Machines/WinMax2: refactor steam scaling
This commit is contained in:
parent
3931366eb9
commit
316a147c4a
1 changed files with 4 additions and 6 deletions
|
|
@ -101,20 +101,18 @@
|
|||
|
||||
# Enable CUPS to print documents.
|
||||
# services.printing.enable = true;
|
||||
environment.sessionVariables = {
|
||||
STEAM_FORCE_DESKTOPUI_SCALING = "2";
|
||||
};
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
# Steam's hidpi support is bugged so it needds to be hardcoded
|
||||
# This bypasses that
|
||||
xdg.desktopEntries = {
|
||||
steam-noScaling = {
|
||||
name = "Steam (No Scaling)";
|
||||
exec = "env STEAM_FORCE_DESKTOPUI_SCALING=0 steam %U";
|
||||
name = "Steam (2x scale)";
|
||||
exec = "env STEAM_FORCE_DESKTOPUI_SCALING=2 steam %U";
|
||||
icon = "steam";
|
||||
categories = ["Network" "FileTransfer" "Game"];
|
||||
comment = "Application for managing and playing games on Steam";
|
||||
prefersNonDefaultGPU = true;
|
||||
settings.X-KDE-RunOnDiscreteGpu = "true";
|
||||
};
|
||||
};
|
||||
programs.plasma.input.keyboard.layouts = lib.mkForce ["us"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue