diff --git a/init.d/basics/ui.el b/init.d/basics/ui.el index 3980c3f..ede9723 100644 --- a/init.d/basics/ui.el +++ b/init.d/basics/ui.el @@ -1,6 +1,6 @@ ;;; ui.el --- Configure user interfaces. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-11-29T08:51:14+0100> +;; Time-stamp: <2020-11-29T09:15:41+0100> ;;; Commentary: ;; * treemacs @@ -42,7 +42,9 @@ ("" . treemacs-single-click-expand-action))) :hook ((treemacs-mode . my/disable-line-numbers) (treemacs-mode . my/treemacs-set-hl-line) - (after-init . my/treemacs-show-maybe))) + (after-init . (lambda () (when (display-graphic-p) + (my/treemacs-show-maybe)))) + (server-after-make-frame . my/treemacs-show-maybe))) (use-package treemacs-projectile :demand t