Only run xcompmgr if openbox is running

This commit is contained in:
Simon Long
2021-06-04 13:54:40 +01:00
parent 8607dbc728
commit 7171417561
3 changed files with 10 additions and 2 deletions

View File

@@ -1,4 +1,6 @@
#!/bin/sh
if grep -q okay /proc/device-tree/soc/v3d@7ec00000/status 2> /dev/null || grep -q okay /proc/device-tree/soc/firmwarekms@7e600000/status 2> /dev/null ; then
exec xcompmgr -aR
if ps ax | grep -v grep | grep -q openbox ; then
exec xcompmgr -aR
fi
fi