Update user configs

This commit is contained in:
natemaia
2017-12-18 09:26:53 -08:00
parent 662f7d9388
commit 594f6ed000
15 changed files with 40 additions and 64 deletions

View File

@ -1,17 +1,8 @@
#!/usr/bin/env bash
# this script will run polybar at boot
# and allow toggling via polybar or other means
# if it is not running and not enabled, enable it then start
if [ -e "$HOME/.config/.composite_enabled" ] && [ "$(pidof compton)" ]; then
if [ "$(pidof compton)" ]; then
al-compositor --restart
elif [ -e "$HOME/.config/.composite_enabled" ]; then
al-compositor --start
else
echo "#Compositing enabled" > $HOME/.config/.composite_enabled
if [ "$(pidof compton)" ]; then
al-compositor --start
else
al-compositor --restart
fi
al-compositor --start
fi