Initial commit

This commit is contained in:
natemaia
2017-10-16 12:38:02 -07:00
commit f6fd221a54
131 changed files with 10444 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
start="al-compositor --start"
restart="al-compositor --restart"
if [ -e "${HOME}/.config/.composite_enabled" ]; then
if pgrep "compton" > /dev/null; then
$restart
else
$start
fi
fi

View File

@ -0,0 +1,26 @@
#!/bin/sh
case "$1" in
lock)
i3lock-fancy -p
;;
logout)
i3-msg exit
;;
suspend)
systemctl suspend
;;
hibernate)
systemctl hibernate
;;
reboot)
systemctl reboot
;;
shutdown)
systemctl poweroff
;;
*)
echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}"
exit 2
esac
exit 0