diff options
author | Karel Kočí <karel.koci@nic.cz> | 2019-02-12 10:59:07 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2019-02-12 10:59:07 +0100 |
commit | 7af10bdbffadab9c68f500b36d7d7fd550a4e0d7 (patch) | |
tree | 4b0cff800ae68f1f166cfee9a1592b008a140f1c /config/i3/scripts/shutdown | |
parent | 29c4152ffa3b2570b653f274a3f4cac9f10c4c35 (diff) | |
download | myconfigs-7af10bdbffadab9c68f500b36d7d7fd550a4e0d7.tar.gz myconfigs-7af10bdbffadab9c68f500b36d7d7fd550a4e0d7.tar.bz2 myconfigs-7af10bdbffadab9c68f500b36d7d7fd550a4e0d7.zip |
i3: add shortcut for notes
Diffstat (limited to 'config/i3/scripts/shutdown')
-rwxr-xr-x | config/i3/scripts/shutdown | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/config/i3/scripts/shutdown b/config/i3/scripts/shutdown deleted file mode 100755 index 62f6ae1..0000000 --- a/config/i3/scripts/shutdown +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -export SUDO_ASKPASS=/tmp/shutdown-askpass.sh - - -echo '#!/bin/sh -echo "SETDESC Please enter password to shutdown system -SETPROMPT Password: -SETTITLE Sudo password for system shutdown -GETPIN" | pinentry | grep -E "^D " | sed "s/^D //"' > $SUDO_ASKPASS -chmod +x $SUDO_ASKPASS - -sudo -A shutdown -h now |