#!/bin/sh

if pidof picom; then
	killall picom
	notify-send -h string:x-dunst-stack-tag:"togcom" \
		"Compositor Off"
else
	setsid -f picom
	notify-send -h string:x-dunst-stack-tag:"togcom" \
		"Compositor On"
fi