-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.el
62 lines (47 loc) · 1.61 KB
/
ui.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
;; ui
(use-package twilight-theme
:init (load-theme 'twilight t))
(tool-bar-mode 0)
(menu-bar-mode 0)
(toggle-frame-fullscreen)
;;(scroll-bar-mode 0)
;;(use-package powerline)
;;(powerline-default-theme)
(use-package window-numbering
:init (window-numbering-mode))
(use-package windresize)
;; windmove
(use-package windmove
:init (windmove-default-keybindings))
;; which-key
(use-package which-key
:init (which-key-mode))
;; custom colors
(global-hl-line-mode 1)
(set-face-background 'hl-line "#1a1a1a")
(set-face-foreground 'highlight nil)
(set-face-background 'region "#555555")
(set-face-background 'mode-line "#555555")
(set-face-foreground 'mode-line "#e4e4e4")
(set-face-background 'default "#222222")
;; powerline
(require 'powerline)
(powerline-center-evil-theme)
(custom-theme-set-faces 'twilight '(powerline-active1
((t (:foreground "#e4e4e4" :background "#105b63" :inherit mode-line)))
:group 'powerline))
(custom-theme-set-faces 'twilight '(powerline-active2
((t (:foreground "#111111" :background "#db9e36" :inherit mode-line)))
:group 'powerline))
;; neotree
(use-package neotree
:init (setq neo-smart-open t)
:bind ("C-c n" . neotree-toggle))
(setq neo-theme (if (display-graphic-p) 'icons 'arrow))
;; dashboard
(use-package dashboard
:config (dashboard-setup-startup-hook))
(setq dashboard-banner-logo-title "Welcome to Emacs Dashboard")
(setq dashboard-startup-banner 'official)
(setq dashboard-items '((recents . 10)
(bookmarks . 10)))