summaryrefslogtreecommitdiffstats
path: root/.emacs.d/jd/jd-ui.el
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2023-10-19 19:24:35 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2023-10-19 19:24:35 +0200
commitc6c985d1188830ac90a546cfa27a77c220c9d096 (patch)
treeb2aaaebfbcbd4141eb6ca5cf533a7e0db2cbe962 /.emacs.d/jd/jd-ui.el
parent2a5d171484392d55f3abfd9e48807edc77c182b0 (diff)
downloaddotfiles-c6c985d1188830ac90a546cfa27a77c220c9d096.tar.gz
dotfiles-c6c985d1188830ac90a546cfa27a77c220c9d096.zip
Add stumpwm and change disk config for berserker.
Diffstat (limited to '.emacs.d/jd/jd-ui.el')
-rwxr-xr-x.emacs.d/jd/jd-ui.el41
1 files changed, 19 insertions, 22 deletions
diff --git a/.emacs.d/jd/jd-ui.el b/.emacs.d/jd/jd-ui.el
index 1c44a65..7ccab23 100755
--- a/.emacs.d/jd/jd-ui.el
+++ b/.emacs.d/jd/jd-ui.el
@@ -22,12 +22,11 @@
22 22
23(defalias 'yes-or-no-p 'y-or-n-p) 23(defalias 'yes-or-no-p 'y-or-n-p)
24 24
25(jd/use-package doom-themes "emacs-doom-themes" 25(require 'diminish)
26 :config
27 ;; (load-theme 'manoj-black t)
28 )
29 26
30(load-theme 'manoj-dark t) 27(jd/use-package solarized-theme "emacs-solarized-theme"
28 :config
29 (load-theme 'solarized-selenized-black t))
31 30
32(jd/use-package diminish "emacs-diminish") 31(jd/use-package diminish "emacs-diminish")
33 32
@@ -55,30 +54,25 @@
55(jd/use-package ivy "emacs-ivy" 54(jd/use-package ivy "emacs-ivy"
56 :diminish 55 :diminish
57 :bind 56 :bind
58 (("C-s" . swiper) 57 (("C-s" . swiper))
59 ;; :map ivy-minibuffer-map
60 ;; ("C-k" . ivy-previous-line)
61 ;; ("C-j" . ivy-next-line)
62 ;; :map ivy-switch-buffer-map
63 ;; ("C-k" . ivy-previous-line)
64 )
65 :config 58 :config
66 (ivy-mode 1)) 59 (ivy-mode 1))
67 60
68(jd/use-package counsel "emacs-counsel" 61(jd/use-package counsel "emacs-counsel"
62 :diminish t
69 :config 63 :config
70 (counsel-mode 1) 64 (counsel-mode 1)
71 65
72 (jd/leader-key-def 66 (jd/leader-key-def
73 "t" '(:ignore t :which-key "Toggle") 67 "t" '(:ignore t :which-key "Toggle")
74 "tT" '(toggle-truncate-lines :which-key "Toggle truncate lines") 68 "tT" '(toggle-truncate-lines :which-key "Toggle truncate lines")
75 "tt" '(jd/load-theme :which-key "Choose theme")) 69 "tt" '(jd/load-theme :which-key "Choose theme"))
76 70
77 (jd/leader-key-def 71 (jd/leader-key-def
78 "bb" '(jd/switch-buffer :which-key "Buffer switch") 72 "bb" '(jd/switch-buffer :which-key "Buffer switch")
79 "ba" '(counsel-switch-buffer :which-key "Buffer switch") 73 "ba" '(counsel-switch-buffer :which-key "Buffer switch")
80 "b" '(:ignore t :which-key "Buffer") 74 "b" '(:ignore t :which-key "Buffer")
81 "," '(counsel-switch-buffer :which-key "Buffer switch"))) 75 "," '(counsel-switch-buffer :which-key "Buffer switch")))
82 76
83(jd/use-package which-key "emacs-which-key" 77(jd/use-package which-key "emacs-which-key"
84 :diminish 78 :diminish
@@ -88,14 +82,17 @@
88 82
89(jd/use-package all-the-icons "emacs-all-the-icons") 83(jd/use-package all-the-icons "emacs-all-the-icons")
90 84
91(jd/use-package doom-modeline "emacs-doom-modeline"
92 ; :init (doom-modeline-mode 0)
93 :custom ((doom-modeline-height 15)))
94 85
95(jd/use-package beacon "emacs-beacon" 86(jd/use-package beacon "emacs-beacon"
96 :config 87 :config
97 (beacon-mode 1)) 88 (beacon-mode 1))
98 89
90(setq display-time-string-forms
91 '(" " 24-hours ":" minutes " "))
92
93(when jd/exwm-p
94 (display-battery-mode)
95 (display-time-mode))
99 96
100(provide 'jd-ui) 97(provide 'jd-ui)
101 98