Files
dotfiles/.config/picom/launch.sh
druckdev 3e418b263e compositor: Switch from compton to picom
Switch to ibhagwan's picom fork with dual_kawase blur and rounded
corners.
2020-10-31 22:33:52 +01:00

11 lines
255 B
Bash
Executable File

#!/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