36b1fd1bcdbd

Dont run things multiple times
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 25 Jul 2018 15:29:36 +0000
parents 789407c01a1c
children 6e74bbedafce 5ddd3e5a75fe
branches/tags (none)
files stumpwmrc

Changes

--- a/stumpwmrc	Wed Jul 25 05:07:30 2018 +0000
+++ b/stumpwmrc	Wed Jul 25 15:29:36 2018 +0000
@@ -354,6 +354,12 @@
 (load-module "stumptray")
 (run-commands "stumptray")
 
-(run-shell-command "nm-applet --sm-disable")
-(run-shell-command "~/.dropbox-dist/dropboxd")
-(run-shell-command "/usr/bin/dunst -conf ~/.dunstrc")
+;;;; Startup ------------------------------------------------------------------
+(defparameter *network-manager*
+  (run-shell-command "nm-applet --sm-disable"))
+
+(defparameter *dropbox*
+  (run-shell-command "~/.dropbox-dist/dropboxd"))
+
+(defparameter *dunst*
+  (run-shell-command "/usr/bin/dunst -conf ~/.dunstrc"))