Switch back to swaylock

This commit is contained in:
Riley Apeldoorn 2023-06-14 10:42:52 +02:00 committed by Riley Apeldoorn
parent 081a94cb34
commit 25486dd6cb
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ in {
security.rtkit.enable = true; security.rtkit.enable = true;
security.pam.services.waylock = {}; security.pam.services.swaylock = {};
services.xserver = { services.xserver = {
enable = true; enable = true;
@ -36,6 +36,7 @@ in {
enable = true; enable = true;
extraPackages = [ extraPackages = [
pkgs.vulkan-validation-layers pkgs.vulkan-validation-layers
pkgs.swaylock-effects
]; ];
}; };

View file

@ -37,7 +37,6 @@ in with lib; {
home.packages = with pkgs; [ home.packages = with pkgs; [
kitty kitty
waylock
wl-clipboard wl-clipboard
sc sc
(writeScriptBin "c" '' (writeScriptBin "c" ''
@ -98,7 +97,7 @@ in with lib; {
"${mod}+q" = "exec ${pkgs.foot}/bin/foot"; "${mod}+q" = "exec ${pkgs.foot}/bin/foot";
"${mod}+Return" = "exec ${terminal}"; "${mod}+Return" = "exec ${terminal}";
"${mod}+Escape" = "exec waylock"; "${mod}+Escape" = "exec swaylock";
"${mod}+Tab" = "exec ${pkgs.firefox-wayland}/bin/firefox"; "${mod}+Tab" = "exec ${pkgs.firefox-wayland}/bin/firefox";
"${mod}+Alt+Tab" = "exec ${pkgs.google-chrome}/bin/google-chrome-stable --ozone-platform-hint=auto --enable-features=VaapiVideoDecoder,VaapiVideoEncoder"; "${mod}+Alt+Tab" = "exec ${pkgs.google-chrome}/bin/google-chrome-stable --ozone-platform-hint=auto --enable-features=VaapiVideoDecoder,VaapiVideoEncoder";