Move startpage out of user-skel, update user scripts

This commit is contained in:
natemaia
2017-12-05 19:50:28 -08:00
parent e317a9d278
commit 69b746d51b
26 changed files with 249 additions and 433 deletions

View File

@ -1,11 +1,10 @@
#!/usr/bin/env bash
start="al-compositor --start"
restart="al-compositor --restart"
if [ -e "${HOME}/.config/.composite_enabled" ]; then
if pgrep compton; then
$restart
else
$start
fi
if [ -e "$HOME/.config/.composite_enabled" ] && pgrep compton >/dev/null; then
al-compositor --restart
elif [ -e "$HOME/.config/.composite_enabled" ]; then
al-compositor --start
else
echo -e "Compositing in not enabled.. Requires ~/.config/.composite_enabled
\n\nTry running paranoid and enabling compositing"
fi