From c20fbd3a5dbfc9b399673515e107088170f3516d Mon Sep 17 00:00:00 2001 From: Ahwx Date: Sun, 17 Aug 2025 13:46:59 +0200 Subject: [PATCH] chore: switch back to swaylock as hyprlock is causing issues *again* --- modules/home/hyprland/config.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index b538f0c..cd1d242 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -1,4 +1,9 @@ -{ pkgs, host, ... }: +{ + pkgs, + host, + username, + ... +}: { fonts.fontconfig.enable = true; home.packages = [ @@ -59,7 +64,6 @@ source = "~/nixos-config/modules/home/hyprland/displays.conf"; "debug:disable_scale_checks" = true; - # monitor = "eDP-1, 2256x1504@60, 0x0, 1.5"; monitor = if (host == "sakura") then "eDP-1, 2256x1504@60, 0x0, 1.5" @@ -215,7 +219,7 @@ "$mainMod, F, fullscreen, 0" # set 1 to 0 to set full screen without waybar "$mainMod, Space, togglefloating," "$mainMod, D, exec, bemenu-run -l 5 --ignorecase" - "SUPER SHIFT, L, exec, hyprlock" + "SUPER SHIFT, L, exec, swaylock --image /home/${username}/.local/share/bg.png" "$mainMod, E, exec, thunar" "$mainMod SHIFT, B, exec, pkill -SIGUSR1 .waybar-wrapped" "$mainMod, C,exec, hyprpicker -a"