start of exwm stuff, slight fixes
parent
f49cdbd9cd
commit
32cb916cf5
|
@ -12,3 +12,4 @@ network-security.data
|
||||||
secrets.el
|
secrets.el
|
||||||
*~
|
*~
|
||||||
\#*\#
|
\#*\#
|
||||||
|
ido.last
|
||||||
|
|
|
@ -7,5 +7,12 @@
|
||||||
(if (equal (buffer-name) "*dashboard*") nil (kill-buffer))
|
(if (equal (buffer-name) "*dashboard*") nil (kill-buffer))
|
||||||
(evil-window-delete)))
|
(evil-window-delete)))
|
||||||
|
|
||||||
|
;; Treemacs directory expansion
|
||||||
(with-eval-after-load 'treemacs
|
(with-eval-after-load 'treemacs
|
||||||
(define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action))
|
(define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action))
|
||||||
|
|
||||||
|
;; Save backup files to a single dir
|
||||||
|
(setq backup-directory-alist
|
||||||
|
`((".*" . ,temporary-file-directory)))
|
||||||
|
(setq auto-save-file-name-transforms
|
||||||
|
`((".*" ,temporary-file-directory t)))
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
(require 'exwm)
|
||||||
|
(require 'exwm-config)
|
||||||
|
|
||||||
|
(display-battery-mode)
|
||||||
|
|
||||||
|
(defun discord ()
|
||||||
|
(interactive)
|
||||||
|
(start-process "discord" nil "discord"))
|
||||||
|
|
||||||
|
;; TODO: if running, switch focus, otherwise start
|
||||||
|
(defun firefox ()
|
||||||
|
(interactive)
|
||||||
|
(start-process "firefox" nil "firefox"))
|
||||||
|
|
||||||
|
(exwm-config-example)
|
8
init.el
8
init.el
|
@ -23,6 +23,12 @@
|
||||||
;; Behaviour
|
;; Behaviour
|
||||||
(include "behaviour.el")
|
(include "behaviour.el")
|
||||||
|
|
||||||
|
;; Emacs server
|
||||||
|
(server-start)
|
||||||
|
|
||||||
|
;; Exwm
|
||||||
|
(include "exwm.el")
|
||||||
|
|
||||||
;; Don't touch
|
;; Don't touch
|
||||||
(custom-set-variables
|
(custom-set-variables
|
||||||
;; custom-set-variables was added by Custom.
|
;; custom-set-variables was added by Custom.
|
||||||
|
@ -36,7 +42,7 @@
|
||||||
'(evil-undo-system 'undo-tree)
|
'(evil-undo-system 'undo-tree)
|
||||||
'(org-agenda-files '("/home/deppy/doc/org/todo.org"))
|
'(org-agenda-files '("/home/deppy/doc/org/todo.org"))
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
'(elcord org-krita org-superstar org-fragtog org-pretty-tags visual-fill writeroom-mode haskell-emacs treemacs-evil treemacs solarized-theme doom-modeline all-the-icons-dired page-break-lines all-the-icons dashboard org-evil zotero vterm magit undo-fu latex-math-preview multi-term evil-terminal-cursor-changer fira-code-mode use-package haskell-mode evil-surround undo-tree evil-org evil))
|
'(exwm elcord org-superstar org-fragtog org-pretty-tags visual-fill writeroom-mode haskell-emacs treemacs-evil treemacs solarized-theme doom-modeline all-the-icons-dired page-break-lines all-the-icons dashboard org-evil zotero vterm magit undo-fu latex-math-preview use-package haskell-mode evil-surround undo-tree evil-org evil))
|
||||||
'(warning-suppress-log-types '((comp)))
|
'(warning-suppress-log-types '((comp)))
|
||||||
'(warning-suppress-types '((comp)))
|
'(warning-suppress-types '((comp)))
|
||||||
'(writeroom-mode-line t)
|
'(writeroom-mode-line t)
|
||||||
|
|
Loading…
Reference in New Issue