Skip to content

Commit

Permalink
Flake bump
Browse files Browse the repository at this point in the history
  • Loading branch information
amadejkastelic committed Sep 14, 2024
1 parent 3b0fb74 commit 7a92403
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 59 deletions.
98 changes: 49 additions & 49 deletions flake.lock

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

5 changes: 3 additions & 2 deletions home/programs/wayland/hyprland/rules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@

# Games
"workspace name:Gaming, class:gamescope"
"workspace name:Gaming, initialclass:^(steam_app_)(.*)$"
"workspace name:Gaming, initialclass:^(steam_app_)(.*)"
#"immediate, initialclass:^(steam_app_\d+|SDL Application)$"
"immediate, initialclass:^(steam_app_)(.*)$"
"fullscreen, initialclass:^(steam_app_)(.*)$"
"renderunfocused, initialclass:^(steam_app_)(.*)$"
"renderunfocused, initialclass:^(steam_app_)(.*)^(steam_app_\d+|SDL Application)$"

# idle inhibit while watching videos
"idleinhibit focus, class:^(mpv|.+exe|celluloid)$"
Expand Down
9 changes: 5 additions & 4 deletions home/programs/wayland/hyprland/settings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ in {
"hyprlock"
"waybar"
"wl-paste --watch cliphist store"
"hyprlux > /tmp/hyprlux.log 2>&1"
#"hyprlux > /tmp/hyprlux.log 2>&1"
];

general = {
Expand Down Expand Up @@ -137,9 +137,10 @@ in {
wayland.windowManager.hyprland.extraConfig = ''
plugin {
csgo-vulkan-fix {
res_w = 2560
res_h = 1440
class = cs2
res_w = 1280
res_h = 960
class = SDL Application
fix_mouse = true
}
}
'';
Expand Down
11 changes: 8 additions & 3 deletions home/programs/wayland/hyprlux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
programs.hyprlux = {
enable = true;

systemd = {
enable = true;
target = "hyprland-session.target";
};

night_light = {
enabled = true;
start_time = "20:00";
Expand All @@ -17,11 +22,11 @@
{
window_class = "steam_app_1172470";
window_title = "Apex Legends";
strength = 100;
strength = 105;
}
{
window_class = "cs2";
window_title = "";
window_class = "SDL Application";
window_title = "Counter-Strike 2";
strength = 100;
}
];
Expand Down
3 changes: 2 additions & 1 deletion system/programs/gaming/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{pkgs, ...}: {
{
imports = [
./steam.nix
./switch.nix
./gamemode.nix
./gamescope.nix
];
Expand Down
3 changes: 3 additions & 0 deletions system/programs/gaming/switch.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
programs.quark-goldleaf.enable = true;
}

0 comments on commit 7a92403

Please sign in to comment.