diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-08-22 10:28:20 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-08-22 10:28:20 +0300 |
| commit | c2f945fc4e6a055b8b6a7df39b9a913f51f185c7 (patch) | |
| tree | d63ee8c470b5c8c9972d763c8fbf6950836cc21a | |
| parent | d6a8b96322f46e22b81cad00241f45450cfb73a0 (diff) | |
| download | dotfiles-c2f945fc4e6a055b8b6a7df39b9a913f51f185c7.tar dotfiles-c2f945fc4e6a055b8b6a7df39b9a913f51f185c7.tar.gz dotfiles-c2f945fc4e6a055b8b6a7df39b9a913f51f185c7.zip | |
Temporary updated sleeping procedure to be handled by systemd
| -rwxr-xr-x | .i3lock/lock.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.i3lock/lock.sh b/.i3lock/lock.sh index 029ff01..c6d91f2 100755 --- a/.i3lock/lock.sh +++ b/.i3lock/lock.sh @@ -75,5 +75,6 @@ if [[ "$1" == 'suspend' ]]; then # And I've added the following to /etc/sudoers (where kamen is my username), so I don't need to put in my password: # # kamen ALL = (root) NOPASSWD: /usr/local/sbin/sleep.sh - sudo -u root /usr/local/sbin/sleep.sh + # sudo -u root /usr/local/sbin/sleep.sh + systemctl suspend fi |
