diff --git a/home-manager/common/desktops/hyprland/common/hyprland/hyprland-conf.nix b/home-manager/common/desktops/hyprland/common/hyprland/hyprland-conf.nix index fbbed09e..8f5447cf 100644 --- a/home-manager/common/desktops/hyprland/common/hyprland/hyprland-conf.nix +++ b/home-manager/common/desktops/hyprland/common/hyprland/hyprland-conf.nix @@ -6,6 +6,7 @@ # https://wiki.hyprland.org/Configuring/Variables/ env = GDK_SCALE,1 env = XCURSOR_SIZE,22 + $mainMod = SUPER # unscale XWayland xwayland { @@ -161,7 +162,8 @@ bind = SHIFT ALT, H, workspace, e-1 # Lock the screen, send to swaylock and pause music - bind = $mainMod, L, exec, swaylock && playerctl pause + bind = $mainMod, L, exec, swaylock -f + bind = $mainMod, L, exec, playerctl pause # to switch between windows in a floating workspace bind = $mainMod ,Tab, cyclenext, # change focus to another window