From 96af3449cacf9b20fa0dc8588068e33eae11cfad Mon Sep 17 00:00:00 2001
From: iFargle <albert@sysctl.io>
Date: Thu, 17 Aug 2023 21:38:52 +0900
Subject: [PATCH] Test

---
 hosts/nixos-laptop/home-manager/hyprland-conf.nix | 7 ++++++-
 hosts/nixos-laptop/nixos/default.nix              | 1 +
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/hosts/nixos-laptop/home-manager/hyprland-conf.nix b/hosts/nixos-laptop/home-manager/hyprland-conf.nix
index 499bf32b..c616af11 100644
--- a/hosts/nixos-laptop/home-manager/hyprland-conf.nix
+++ b/hosts/nixos-laptop/home-manager/hyprland-conf.nix
@@ -12,6 +12,11 @@
       env = GDK_SCALE,1
       env = XCURSOR_SIZE,48
 
+      # unscale XWayland
+      xwayland {
+        force_zero_scaling = true
+      }
+
       # nVidia Speficic Settings:
       # https://wiki.hyprland.org/Nvidia/
       # env = LIBVA_DRIVER_NAME,nvidia
@@ -220,7 +225,7 @@
           waybar & 
 
           # Set up the idle management daemon
-          swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' before-sleep 'swaylock -f -c 000000'
+          swayidle -w timeout 300 'swaylock-fancy -f -c 000000' timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' before-sleep 'swaylock-fancy -f -c 000000'
           mako 
       '';
     };
diff --git a/hosts/nixos-laptop/nixos/default.nix b/hosts/nixos-laptop/nixos/default.nix
index 8c798b1d..0a0dcb43 100644
--- a/hosts/nixos-laptop/nixos/default.nix
+++ b/hosts/nixos-laptop/nixos/default.nix
@@ -3,5 +3,6 @@
     ./hardware-configuration.nix
     ./configuration.nix
     ./networking.nix
+    
   ];
 }
\ No newline at end of file