summaryrefslogtreecommitdiff
path: root/config/chroot_local-includes
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2013-09-05 18:02:11 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2013-09-10 22:07:02 +0200
commit53f06de9e72a14cba261e7170432adf794473388 (patch)
tree9c2c8cd758584e93a27dd86a0a24c64f8a678cae /config/chroot_local-includes
parent9bd17af7978eb4c09fa3b6899bf3fba1fefe8d93 (diff)
downloadkanotix-53f06de9e72a14cba261e7170432adf794473388.zip
kanotix-53f06de9e72a14cba261e7170432adf794473388.tar.gz
prepare compton
Diffstat (limited to 'config/chroot_local-includes')
-rwxr-xr-xconfig/chroot_local-includes/lib/live/config/9023-disable-compiz27
-rwxr-xr-xconfig/chroot_local-includes/lib/live/config/9024-lxde-compositor29
2 files changed, 29 insertions, 27 deletions
diff --git a/config/chroot_local-includes/lib/live/config/9023-disable-compiz b/config/chroot_local-includes/lib/live/config/9023-disable-compiz
deleted file mode 100755
index e95c63a..0000000
--- a/config/chroot_local-includes/lib/live/config/9023-disable-compiz
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-Nocompiz ()
-{
- # Checking if configured
- if [ -e /var/lib/live/config/nocompiz ]
- then
- return
- fi
- echo -n " nocompiz"
- Configure_nocompiz
-}
-
-Configure_nocompiz ()
-{
- # Boot parameters can be acted up either this way...
- if ! grep -qs "nocompiz" /proc/cmdline
- then
- return
- fi
- #rm -f /home/${LIVE_USERNAME}/.config/autostart/compiz_start.desktop
- touch /home/${LIVE_USERNAME}/.nocompiz
- # Creating state file
- touch /var/lib/live/config/nocompiz
-}
-
-Nocompiz
diff --git a/config/chroot_local-includes/lib/live/config/9024-lxde-compositor b/config/chroot_local-includes/lib/live/config/9024-lxde-compositor
new file mode 100755
index 0000000..3d4245f
--- /dev/null
+++ b/config/chroot_local-includes/lib/live/config/9024-lxde-compositor
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+Composit ()
+{
+ # Checking if configured
+ if [ -e /var/lib/live/config/composit ]
+ then
+ return
+ fi
+ echo -n " composit"
+ Configure_composit
+}
+Configure_composit ()
+{
+ # Boot parameters can be acted up either this way...
+ if grep -qs "compton" /proc/cmdline
+ then
+ touch /home/${LIVE_USERNAME}/.compton
+ touch /home/${LIVE_USERNAME}/.nocompiz
+ fi
+ if grep -qs "nocompiz" /proc/cmdline
+ then
+ touch /home/${LIVE_USERNAME}/.nocompiz
+ fi
+ # Creating state file
+ touch /var/lib/live/config/composit
+}
+
+Composit