[exwm] run notification-daemon on startup

This commit is contained in:
contrapunctus 2021-07-31 17:27:51 +05:30
parent 321517a863
commit 15829f5459
1 changed files with 3 additions and 1 deletions

View File

@ -105,6 +105,7 @@ This needs to be before =boon=/=exwm=, or you get a "failed to define function i
(exwm-enable)
#+END_SRC
*** Helpers
A less repetitive way to start processes. Also enables Boon in the process buffer, so I can easy navigate it, copy text in it, or switch away from it.
#+BEGIN_SRC emacs-lisp
(defun my-start-process (program &optional name &rest args)
@ -134,12 +135,13 @@ If EXACT-P is non-nil, the window title must match the name exactly."
(apply #'my-start-process program name args))))
#+END_SRC
Programs I want to run on startup.
*** Startup programs
#+BEGIN_SRC emacs-lisp
(my-start-process (expand-file-name "~/bin/kmonad") "kmonad"
(expand-file-name "~/kmonad.kbd"))
(my-start-process "transmission-gtk")
(my-start-process "gajim")
(my-start-process "/usr/lib/notification-daemon/notification-daemon")
#+END_SRC
** user interface
#+BEGIN_SRC emacs-lisp