compositor: Switch from compton to picom

Switch to ibhagwan's picom fork with dual_kawase blur and rounded
corners.
This commit is contained in:
2020-10-31 22:33:52 +01:00
parent 08c5c66e1e
commit 3e418b263e
4 changed files with 12 additions and 5 deletions

10
.config/picom/launch.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
basedir="$(cd "$(dirname "$0")" && pwd -P)"
compositor="$(basename "$basedir")"
if [ "$1" = "-k" ]; then
killall -q "$compositor"
elif ! pgrep -ax "$compositor" >/dev/null 2>&1; then
"$compositor" --config "$basedir/$compositor".conf -b
fi