diff options
-rw-r--r-- | init.el | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/init.el b/init.el index dfaa8bc..a97ac16 100644 --- a/init.el +++ b/init.el | |||
@@ -1,6 +1,5 @@ | |||
1 | ;; init.el ~ acdw | 1 | ;; init.el ~ acdw |
2 | 2 | ||
3 | (server-start) | ||
4 | (setq custom-file (concat user-emacs-directory "custom.el")) | 3 | (setq custom-file (concat user-emacs-directory "custom.el")) |
5 | 4 | ||
6 | ;;; bootstrap packages | 5 | ;;; bootstrap packages |
@@ -94,6 +93,12 @@ | |||
94 | (use-package async | 93 | (use-package async |
95 | :ensure) | 94 | :ensure) |
96 | 95 | ||
96 | ;; sudo | ||
97 | (use-package su | ||
98 | :ensure | ||
99 | :config | ||
100 | (su-mode 1)) | ||
101 | |||
97 | ;; delight | 102 | ;; delight |
98 | (use-package delight | 103 | (use-package delight |
99 | :ensure) | 104 | :ensure) |
@@ -155,7 +160,18 @@ | |||
155 | (load-theme 'modus-vivendi t t) | 160 | (load-theme 'modus-vivendi t t) |
156 | (run-at-time (nth 4 (split-string (sunrise-sunset))) | 161 | (run-at-time (nth 4 (split-string (sunrise-sunset))) |
157 | (* 60 60 24) | 162 | (* 60 60 24) |
158 | (lambda () (enable-theme 'modus-vivendi)))) | 163 | (lambda () (enable-theme 'modus-vivendi))) |
164 | (run-at-time "12am" (* 60 60 24) (lambda () (enable-theme 'modus-vivendi)))) | ||
165 | |||
166 | ;; dired hacks: https://github.com/Fuco1/dired-hacks | ||
167 | (use-package dired-hacks-utils | ||
168 | :ensure) | ||
169 | |||
170 | (use-package dired-subtree | ||
171 | :ensure | ||
172 | :bind (:map dired-mode-map | ||
173 | ("i" . dired-subtree-insert) | ||
174 | (";" . dired-subtree-remove))) | ||
159 | 175 | ||
160 | ;; minibuffer completion | 176 | ;; minibuffer completion |
161 | (use-package ivy | 177 | (use-package ivy |
@@ -318,7 +334,7 @@ | |||
318 | (exwm-layout-show-all-buffers t) | 334 | (exwm-layout-show-all-buffers t) |
319 | (mouse-autoselect-window t) | 335 | (mouse-autoselect-window t) |
320 | (focus-follows-mouse t) | 336 | (focus-follows-mouse t) |
321 | (exwm-workspace-number 1) | 337 | (exwm-workspace-number 4) |
322 | (exwm-input-global-keys | 338 | (exwm-input-global-keys |
323 | `( | 339 | `( |
324 | ([?\s-r] . exwm-reset) | 340 | ([?\s-r] . exwm-reset) |