Move startpage out of user-skel, update user scripts
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user