Commit a3707e9f authored by Pierre Neidhardt's avatar Pierre Neidhardt

Don't spawn shell buffer when locking

parent a87e697a
Pipeline #1750 passed with stage
in 31 seconds
......@@ -357,8 +357,7 @@ the screen."
"Lock the screen, preventing anyone without a password from using the system."
;; Run command asynchronously so that Emacs does not wait in the background.
(let ((async-shell-command-buffer 'new-buffer))
(async-shell-command desktop-environment-screenlock-command)))
(start-process-shell-command "lock" nil desktop-environment-screenlock-command))
;;; Commands - wifi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment