From a3f77e08f6151e97f00055d3ddce33b4c5f1245b Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 7 Jun 2019 17:31:04 +0200 Subject: [PATCH] Add .emacs.d git pull on startup --- emacs/.spacemacs | 2 +- openbox/.config/openbox/autostart | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs/.spacemacs b/emacs/.spacemacs index 06d0d94..449dff0 100644 --- a/emacs/.spacemacs +++ b/emacs/.spacemacs @@ -522,7 +522,7 @@ This function is called at the very end of Spacemacs initialization." '(hl-paren-colors (quote ("#40883f" "#0287c8" "#b85c57"))) '(package-selected-packages (quote - (blacken test-simple loc-changes load-relative dap-mode bui tree-mode lsp-ui lsp-treemacs treemacs pfuture ace-window avy lsp-java request helm-lsp cquery company-lsp ccls lsp-mode spinner ht dash-functional yasnippet yapfify pytest pyenv-mode py-isort pippel pipenv pyvenv pip-requirements live-py-mode importmagic epc ctable concurrent deferred cython-mode company-anaconda anaconda-mode pythonic flycheck-package package-lint counsel-projectile projectile levenshtein lv rtags web-mode web-beautify tagedit slim-mode scss-mode sass-mode pug-mode prettier-js impatient-mode htmlize simple-httpd haml-mode emmet-mode counsel-css company-web web-completion-data smeargle magit-svn magit-gitflow magit-popup gitignore-templates gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit magit transient git-commit with-editor dash hasklig-mode yasnippet-snippets ivy-hydra counsel swiper helm helm-core ivy flycheck company hydra zerodark-theme xterm-color winum which-key wgrep use-package smex smartparens shell-pop realgud plan9-theme persp-mode pcre2el overseer nameless mvn multi-term mmm-mode meghanada maven-test-mode markdown-toc macrostep ivy-yasnippet ivy-xref ivy-rtags insert-shebang ibuffer-projectile helm-make groovy-mode groovy-imports gradle-mode google-c-style gh-md fuzzy flycheck-rtags flycheck-pos-tip flycheck-irony flycheck-bashate flx fish-mode eyebrowse evil eshell-z eshell-prompt-extras esh-help ensime elisp-slime-nav dotenv-mode disaster diminish company-statistics company-shell company-rtags company-irony-c-headers company-irony company-emacs-eclim company-c-headers cmake-mode cmake-ide clang-format bind-map auto-yasnippet auto-compile async ac-ispell))) + (lsp-python-ms python cpp-auto-include pretty-symbols blacken test-simple loc-changes load-relative dap-mode bui tree-mode lsp-ui lsp-treemacs treemacs pfuture ace-window avy lsp-java request helm-lsp cquery company-lsp ccls lsp-mode spinner ht dash-functional yasnippet yapfify pytest pyenv-mode py-isort pippel pipenv pyvenv pip-requirements live-py-mode importmagic epc ctable concurrent deferred cython-mode company-anaconda anaconda-mode pythonic flycheck-package package-lint counsel-projectile projectile levenshtein lv rtags web-mode web-beautify tagedit slim-mode scss-mode sass-mode pug-mode prettier-js impatient-mode htmlize simple-httpd haml-mode emmet-mode counsel-css company-web web-completion-data smeargle magit-svn magit-gitflow magit-popup gitignore-templates gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit magit transient git-commit with-editor dash hasklig-mode yasnippet-snippets ivy-hydra counsel swiper helm helm-core ivy flycheck company hydra zerodark-theme xterm-color winum which-key wgrep use-package smex smartparens shell-pop realgud plan9-theme persp-mode pcre2el overseer nameless mvn multi-term mmm-mode meghanada maven-test-mode markdown-toc macrostep ivy-yasnippet ivy-xref ivy-rtags insert-shebang ibuffer-projectile helm-make groovy-mode groovy-imports gradle-mode google-c-style gh-md fuzzy flycheck-rtags flycheck-pos-tip flycheck-irony flycheck-bashate flx fish-mode eyebrowse evil eshell-z eshell-prompt-extras esh-help ensime elisp-slime-nav dotenv-mode disaster diminish company-statistics company-shell company-rtags company-irony-c-headers company-irony company-emacs-eclim company-c-headers cmake-mode cmake-ide clang-format bind-map auto-yasnippet auto-compile async ac-ispell))) '(safe-local-variable-values (quote ((eval progn (pp-buffer) (indent-buffer))))) '(sml/active-background-color "#98ece8") '(sml/active-foreground-color "#424242") diff --git a/openbox/.config/openbox/autostart b/openbox/.config/openbox/autostart index 5f5f048..a6e6a46 100755 --- a/openbox/.config/openbox/autostart +++ b/openbox/.config/openbox/autostart @@ -39,6 +39,7 @@ touch /tmp/mpd-log & (sleep 3; bash -c "secret-tool lookup 'gpg' 'login' | gpg --no-tty --pinentry-mode loopback --passphrase-fd 0 -d ~/.password-store/mail/uni.gpg") & ## Spacemacs daemon +(sleep 3; cd ~/.emacs.d; git pull --rebase) & (sleep 7; emacs --daemon=instance1) & ## Imap IDLE