Browse Source

Don't spawn shell buffer when locking

master
Pierre Neidhardt 3 months ago
parent
commit
a3707e9fcf
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      desktop-environment.el

+ 1
- 2
desktop-environment.el View File

@@ -357,8 +357,7 @@ the screen."
"Lock the screen, preventing anyone without a password from using the system."
(interactive)
;; 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

Loading…
Cancel
Save