3 # picom launcher that adapts to the environment
4 if [ -e /opt/instantos/potato ] || iconf -i potato; then
5 echo "no compositing for you, your pc is a potato"
11 if [ -e ~/.compton.conf ]; then
13 echo "removed old compton file"
16 mkdir -p ~/.config/picom
18 # remove the above comment to disable auto settings' >.config/picom/picom.conf
20 if ! grep -q 'hypervisor' /proc/cpuinfo; then
23 fade-out-step = 0.15' >>.config/picom/picom.conf
26 if iconf -i blur; then
28 blur-background = true;
29 blur-background-frame = true;
30 blur-background-fixed = true;
33 blur-method = "dual_kawase";
34 blur-strength = 5;' >>.config/picom/picom.conf
43 if ! [ -e .config/picom/picom.conf ] || grep -q 'instantos' .config/picom/picom.conf; then
47 if ! grep -q 'hypervisor' /proc/cpuinfo &&
48 grep -q 'instantos' .config/picom/picom.conf &&
50 picom --experimental-backends