diff --git a/other/scripts/desktop/desktopctl.nix b/other/scripts/desktop/desktopctl.nix index 1161e38..4a5a38d 100644 --- a/other/scripts/desktop/desktopctl.nix +++ b/other/scripts/desktop/desktopctl.nix @@ -2,7 +2,7 @@ pkgs.writeShellScriptBin "desktopctl" '' case $@ in "Lock Screen") - nohup sh -c "i3lock-fancy" > /dev/null & + loginctl lock-session exit 0 ;; "Log Out")