diff --git a/dotfiles/config/systemd/user/nm-applet.service b/dotfiles/config/systemd/user/nm-applet.service new file mode 100644 index 00000000..dd92cabc --- /dev/null +++ b/dotfiles/config/systemd/user/nm-applet.service @@ -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 diff --git a/dotfiles/xmonad/xmonad.hs b/dotfiles/xmonad/xmonad.hs index 2c001703..b0945555 100644 --- a/dotfiles/xmonad/xmonad.hs +++ b/dotfiles/xmonad/xmonad.hs @@ -55,7 +55,6 @@ myLayoutHook = avoidStruts . smartSpacing 10 . noBorders myStartup = do spawn "taffybar" - spawn "nm-applet --sm-disable" spawn "xsetroot -solid black" -- TODO: Figure out how to set different backgrounds for different x -- monitors