}'
# Xresources uses ! as comment instead of #.
sed_i 's/^#/!/' Xresources
- # Use urxvt's pseudo-transparency if compton is not available. Better than
- # nothing.
- if ! installed compton; then
+ # Use urxvt's pseudo-transparency if neither compton nor xcompmgr are
+ # available. Better than nothing.
+ if ! installed compton && ! installed xcompmgr; then
echo 'Xresources: no compton found, enabling pseudo-transparency'
sed_i 's/^Rxvt\*background/!&/' Xresources
sed_i 's/^!NO_COMPTON //' Xresources