wok-next annotate compiz/stuff/compiz-startwm @ rev 20486

outguess: fix install path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 10:46:52 2018 +0100 (2018-03-12)
parents 8e1f5fe117e6
children
rev   line source
psychomaniak@19217 1 #!/bin/sh
psychomaniak@19217 2 #
psychomaniak@19217 3 #Usage: compiz
psychomaniak@19217 4 # [--display DISPLAY] [--bg-image PNG] [--refresh-rate RATE]
psychomaniak@19217 5 # [--fast-filter] [--indirect-rendering] [--no-detection]
psychomaniak@19217 6 # [--keep-desktop-hints] [--loose-binding] [--replace]
psychomaniak@19217 7 # [--no-fbo] [--sm-disable] [--sm-client-id ID] [--only-current-screen]
psychomaniak@19217 8 # [--use-root-window] [--debug] [--version] [--help] [PLUGIN]...
psychomaniak@19217 9
psychomaniak@19217 10 COMPIZ_OPTS='--sm-disable --loose-binding --no-fbo --ignore-desktop-hints'
psychomaniak@19217 11
psychomaniak@19437 12 (lsmod | grep -q nvidia) && COMPIZ_OPTS="$COMPIZ_OPTS --indirect-rendering"
psychomaniak@19217 13
psychomaniak@19217 14 compiz --replace $COMPIZ_OPTS