added i3 dotfiles

This commit is contained in:
2020-06-11 16:12:10 +02:00
parent 78df635d9e
commit 9d9feafbfd
4 changed files with 221 additions and 0 deletions

26
.config/i3/pm.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
if [ "$@" ]
then
case "$@" in
"Shutdown")
shutdown now
;;
"Reboot")
reboot
;;
"Logout")
i3-msg exit
;;
"Hibernate")
systemctl hibernate
;;
esac
exit 0
else
echo -en "Shutdown\n"
echo -en "Reboot\n"
echo -en "Logout\n"
echo -en "Hibernate\n"
fi