diff options
author | William Carroll <wpcarro@gmail.com> | 2021-03-23T15·23-0400 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2021-03-23T15·32-0400 |
commit | b70dda5dcb4310e8c1a28e0fee16a64c38987f29 (patch) | |
tree | 1123733433f5115c9ba8bbb0e00a0d2692b6dc39 /secrets.json.secret | |
parent | 2e1ccb7a90d1857c30ae9d0b4d9de04150015020 (diff) |
Refactor window-manager-logout
`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`.
Diffstat (limited to 'secrets.json.secret')
0 files changed, 0 insertions, 0 deletions