From a66ddcd7507378e21e3e708fa1daed249475cde3 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Tue, 13 Aug 2024 15:23:10 +0200 Subject: [PATCH] feat: fullscreen gamescope --- home/hyprland/default.nix | 1 + modules/nix/default.nix | 2 +- modules/nix/{overlays/default.nix => overlays.nix} | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename modules/nix/{overlays/default.nix => overlays.nix} (100%) diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 1d5331e..a0e8674 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -95,6 +95,7 @@ lib.mkIf osConfig.programs.hyprland.enable { "workspace 4,initialClass:${mkRegexList [ "discord" ]}" "workspace 5,initialClass:${mkRegexList [ "lollypop" ]}" + "fullscreen, class:gamescope" # Fixes: Nextcloud Client having a variable size depending on open tiled windows "size 30% 50%, initialClass:com.nextcloud.desktopclient.nextcloud" # Fixes: Nextcloud Client closing instantly because the cursor is not on the app diff --git a/modules/nix/default.nix b/modules/nix/default.nix index 1741870..e25277e 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -3,7 +3,7 @@ imports = [ ./nixpkgs.nix - ./overlays + ./overlays.nix ]; nix = { diff --git a/modules/nix/overlays/default.nix b/modules/nix/overlays.nix similarity index 100% rename from modules/nix/overlays/default.nix rename to modules/nix/overlays.nix