12 lines
216 B
Bash
Executable File
12 lines
216 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
start="al-compositor --start"
|
|
restart="al-compositor --restart"
|
|
if [ -e "${HOME}/.config/.composite_enabled" ]; then
|
|
if pgrep compton; then
|
|
$restart
|
|
else
|
|
$start
|
|
fi
|
|
fi
|