Skip to content

Commit

Permalink
feat: gamescope for steam launch options
Browse files Browse the repository at this point in the history
  • Loading branch information
erictossell committed Dec 31, 2024
1 parent 939a5f2 commit b508526
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 37 deletions.
26 changes: 13 additions & 13 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions modules/core/terminal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
brightnessctl
btop
gh
ghostty
mods
nitch
pavucontrol
Expand Down
10 changes: 9 additions & 1 deletion modules/hyprland/config/desktop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
};

".config/hypr/hyprland.conf".text = ''
monitor=DP-2,preferred,1080x400,1
monitor=DP-2,highres,1080x400,1
monitor=HDMI-A-1,preferred,3640x400,1
monitor=DP-1,preferred,0x0,1,transform,3
monitor=,preferred,auto,auto
Expand All @@ -36,6 +36,9 @@
env=QT_AUTO_SCREEN_SCALE_FACTOR,1
env=QT_QPA_PLATFORM,wayland
env = GDK_SCALE,2
env = XCURSORSIZE,32
$mainMod = SUPER
Expand Down Expand Up @@ -140,6 +143,11 @@
swallow_regex = ^(foot)$
background_color = 0x232136
}
xwayland {
force_zero_scaling = true
}
windowrulev2 = float,title:^(Yazi)
windowrulev2 = size 600 400,title:^(Yazi)(.*)$
Expand Down
9 changes: 1 addition & 8 deletions modules/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,10 @@
enable = true;
cursorTheme.name = "Adwaita";
cursorTheme.package = pkgs.adwaita-icon-theme;
#theme.name = "adw-gtk3-dark";
#theme.package = pkgs.adw-gtk3;
};
#programs.eww = {
# enable = true;
# configDir = ./eww;
#};
};

environment = {
# Deprecated
#sessionVariables.WLR_NO_HARDWARE_CURSORS = "1";
sessionVariables.NIXOS_OZONE_WL = "1";
systemPackages = with pkgs; [
gammastep
Expand All @@ -47,6 +39,7 @@
wl-clipboard
# Required if applications are having trouble opening links
xdg-utils

xfce.thunar
xfce.tumbler
xfce.thunar-volman
Expand Down
20 changes: 5 additions & 15 deletions modules/steam/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
{ pkgs, username, ... }:
{ pkgs, ...}:
{
# Required to run Windows applications ie World of Warcraft
#users.users.${username} = {
# packages = with pkgs; [
# (wineWowPackages.full.override {
# wineRelease = "staging";
# mingwSupport = true;
# })
# winetricks
# ];
#};

#environment.systemPackages = with pkgs; [ lutris ];

# This can optionally be installed via flatpack.
# Proton Experimental is pretty sweet
programs = {
steam.enable = true;
};
environment.systemPackages = with pkgs; [
gamescope
];

}

0 comments on commit b508526

Please sign in to comment.