Improvements to compton setup
This commit is contained in:
parent
826b050cab
commit
077dcb0dd3
5 changed files with 21 additions and 177 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2011 Rubén Rodríguez <ruben@trisquel.info>
|
||||
# Copyright (C) 2011-2020 Ruben Rodriguez <ruben@trisquel.info>
|
||||
# Copyright (C) 2015 Francisco Javier Parra <franparpe@openmailbox.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -18,61 +18,17 @@
|
|||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
VERSION=7
|
||||
VERSION=8
|
||||
|
||||
. ./config
|
||||
|
||||
rm debian/examples compton.sample.conf
|
||||
|
||||
cat << EOF >> debian/install
|
||||
compton.conf /etc
|
||||
compton-autostart.desktop /etc/xdg/autostart
|
||||
compton-launcher /usr/bin
|
||||
trisquel-compton-switcher /usr/bin
|
||||
trisquel-compton-switcher.desktop /usr/share/applications
|
||||
compton.conf /etc/xdg
|
||||
EOF
|
||||
|
||||
|
||||
cp $DATA/compton.conf .
|
||||
cp $DATA/compton-launcher .
|
||||
cp $DATA/trisquel-compton-switcher .
|
||||
|
||||
cat << EOF > compton-autostart.desktop
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Compton composition manager
|
||||
Exec=compton-launcher
|
||||
NoDisplay=true
|
||||
X-GNOME-AutoRestart=true
|
||||
X-GNOME-Autostart-Phase=Initialization
|
||||
OnlyShowIn=GNOME;
|
||||
EOF
|
||||
|
||||
cat << EOF > trisquel-compton-switcher.desktop
|
||||
[Desktop Entry]
|
||||
Name=Compton compositor switcher
|
||||
Comment=Allows to enable or disable Compton
|
||||
Exec=trisquel-compton-switcher
|
||||
Icon=checkbox
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
Categories=GNOME;Settings;DesktopSettings;
|
||||
OnlyShowIn=GNOME;
|
||||
Keywords=Compton;Compositing;Window manager;
|
||||
X-Ubuntu-Gettext-Domain=trisquel-compton-switcher
|
||||
|
||||
Name[es]=Gestor del compositor Compton
|
||||
Comment[es]=Permite activar o desactivar Compton
|
||||
EOF
|
||||
|
||||
sed 's/^Depends:/Depends: mesa-utils, /' debian/control* -i
|
||||
sed 's/^Depends:/Depends: zenity, /' debian/control* -i
|
||||
|
||||
chmod 755 compton-launcher
|
||||
chmod 755 trisquel-compton-switcher
|
||||
|
||||
changelog "Customized for Trisquel"
|
||||
|
||||
compile
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue