[Linux] Start nm-applet using systemd, not XMonad

This commit is contained in:
Ivan Malison 2016-09-23 17:58:57 -07:00
parent afe99bf819
commit f04f584842
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,10 @@
[Unit]
Description=NM Applet
[Service]
Type=simple
ExecStart=/usr/bin/nm-applet --sm-disable
ExecStop=/usr/bin/pkill nm-applet
[Install]
WantedBy=graphical.target

View File

@ -55,7 +55,6 @@ myLayoutHook = avoidStruts . smartSpacing 10 . noBorders
myStartup = do myStartup = do
spawn "taffybar" spawn "taffybar"
spawn "nm-applet --sm-disable"
spawn "xsetroot -solid black" spawn "xsetroot -solid black"
-- TODO: Figure out how to set different backgrounds for different x -- TODO: Figure out how to set different backgrounds for different x
-- monitors -- monitors