OSDN Git Service

Added option to toggle picom's V-Sync function
authorOwczarekGit <tehno123211@gmail.com>
Sat, 29 Aug 2020 00:59:44 +0000 (02:59 +0200)
committerOwczarekGit <tehno123211@gmail.com>
Sat, 29 Aug 2020 00:59:44 +0000 (02:59 +0200)
programs/ipicom

index 8a4dd02..52e97c2 100755 (executable)
@@ -43,6 +43,12 @@ EOT
         echo "vm detected"
     fi
 
+    if iconf -i vsync; then
+       tee -a .config/picom/picom.conf >/dev/null <<EOT
+vsync=true
+EOT
+    fi
+
 }
 
 cd || exit