diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2021-03-09 17:58:14 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2021-03-09 17:58:14 +0100 |
commit | 1d684975b6559c97514833f9786db08ec06abbf7 (patch) | |
tree | 6ef691988e1142db3d64b59a4d88745370ae0c58 /.local/bin/dmlog | |
parent | update (diff) | |
download | dotfiles-bsd-1d684975b6559c97514833f9786db08ec06abbf7.tar.gz dotfiles-bsd-1d684975b6559c97514833f9786db08ec06abbf7.tar.bz2 dotfiles-bsd-1d684975b6559c97514833f9786db08ec06abbf7.tar.xz dotfiles-bsd-1d684975b6559c97514833f9786db08ec06abbf7.tar.zst dotfiles-bsd-1d684975b6559c97514833f9786db08ec06abbf7.zip |
Update
Diffstat (limited to '.local/bin/dmlog')
-rwxr-xr-x | .local/bin/dmlog | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/dmlog b/.local/bin/dmlog index b87bbf5..556a3b9 100755 --- a/.local/bin/dmlog +++ b/.local/bin/dmlog @@ -12,8 +12,8 @@ use constant LIST => [ 'Lock screen', 'Sleep', 'Logout', - 'Shutdown', 'Reboot' + 'Shutdown', ]; use constant CONFIRM => [ "No", @@ -62,12 +62,12 @@ sub action } elsif ($var eq ${+LIST}[3]) { if (confirm($var) == 1) { - exec(SHUTDOWN_PATH, '-p', 'now'); + exec(SHUTDOWN_PATH, '-r', 'now'); } } elsif ($var eq ${+LIST}[4]) { if (confirm($var) == 1) { - exec(SHUTDOWN_PATH, '-r', 'now'); + exec(SHUTDOWN_PATH, '-p', 'now'); } } return; |