b70dda5dcb
`sudo systemctl suspend` wasn't working because it required a secure password prompt to read the user's password for `sudo`. The recommended way to call `shell-command` with a `sudo` command (from what I read online) is to set `default-directory` to `/sudo::` before calling `shell-command`. This works just fine, so I refactored the function, `window-manager-logout`. |
||
---|---|---|
.. | ||
snippets | ||
vendor | ||
wpc | ||
init.el | ||
opam-user-setup.el |