mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
Start startup programs after exwm is initialized
This commit is contained in:
parent
229cc03b25
commit
4df8b46a0e
1 changed files with 3 additions and 3 deletions
|
|
@ -59,6 +59,9 @@
|
|||
:around
|
||||
#'dont-copy-faces-for-x-show-tip))
|
||||
|
||||
;; Startup programs
|
||||
(add-hook 'emacs-startup-hook 'server-start)
|
||||
|
||||
;; Actually launch programs
|
||||
(require 'exwm-launch-program)
|
||||
(define-key *root-map* (kbd "C-p") #'launch-program)
|
||||
|
|
@ -66,9 +69,6 @@
|
|||
;; Shut down
|
||||
(add-hook 'exwm-exit-hook 'org-save-all-org-buffers)
|
||||
|
||||
;; Startup programs
|
||||
(add-hook 'exwm-init-hook 'server-start)
|
||||
|
||||
;; Reminder: Hooks execute in order. Make sure megasync launches after systemtray is enabled
|
||||
(require 'exwm-startup)
|
||||
(add-hook 'exwm-init-hook 'call-startup-programs)
|
||||
|
|
|
|||
Loading…
Reference in a new issue