aboutsummaryrefslogtreecommitdiff
path: root/startup
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2020-02-03 11:45:47 -0700
committerJosh Rahm <rahm@google.com>2020-02-03 11:45:47 -0700
commita153456b06a06db97735284a0d7496017799807a (patch)
treebf452483b92ccee328ecbc020ccc1f72969928c6 /startup
parentee513619c4f6ebce49b15020c121cbb6dc2e0c86 (diff)
downloadrde-a153456b06a06db97735284a0d7496017799807a.tar.gz
rde-a153456b06a06db97735284a0d7496017799807a.tar.bz2
rde-a153456b06a06db97735284a0d7496017799807a.zip
Change XMobar config to make it relatively pretty
Diffstat (limited to 'startup')
-rwxr-xr-xstartup5
1 files changed, 5 insertions, 0 deletions
diff --git a/startup b/startup
index ce97ad4..d1c9dc6 100755
--- a/startup
+++ b/startup
@@ -13,4 +13,9 @@ xset r rate 200 60
nohup xscreensaver & > /dev/null
# Run a compositer to make things a little prettier.
+
+if [ ! -z "$(ps aux | grep compton | grep -v grep)" ] ; then
+ killall compton
+fi
+
nohup compton & > /dev/null