mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +09:00
Install Compton if needed
This commit is contained in:
parent
81ad7689fe
commit
0038aaeb18
@ -1333,6 +1333,9 @@ do_compton() {
|
|||||||
ASK_TO_REBOOT=1
|
ASK_TO_REBOOT=1
|
||||||
fi
|
fi
|
||||||
if [ $RET -eq 0 ]; then
|
if [ $RET -eq 0 ]; then
|
||||||
|
if [ ! -e /usr/bin/compton ] ; then
|
||||||
|
apt-get -y install compton
|
||||||
|
fi
|
||||||
cat << EOF > /etc/xdg/autostart/compton.desktop
|
cat << EOF > /etc/xdg/autostart/compton.desktop
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
|
Loading…
Reference in New Issue
Block a user