瀏覽代碼

exwm, more updates

Simon Watson 3 年之前
父節點
當前提交
595b00d982
共有 2 個文件被更改,包括 18 次插入4 次删除
  1. 14 3
      emacs/.emacs-all
  2. 4 1
      emacs/linux-load/customs.el

+ 14 - 3
emacs/.emacs-all

@@ -37,6 +37,7 @@
 (straight-use-package 'powerline-evil)
 (straight-use-package 'rainbow-delimiters)
 (straight-use-package 'focus)
+(straight-use-package 'exwm)
 
 ;; Configure focus
 (require 'focus)
@@ -189,11 +190,21 @@
 (if (eq system-type 'gnu/linux)
     (if (display-graphic-p)
 	(progn
+	  (require 'exwm)
+
+	  (require 'exwm-systemtray)
+	  (exwm-systemtray-enable)
+
+	  (load "~/Repos/dotfiles/emacs/linux-load/exwm-config.el")
+	  
+
+	  (require 'exwm-config-spw)
+	  (exwm-config-spw)
+
+	  (setq visible-bell 1)
 	  (load "~/Repos/dotfiles/emacs/linux-load/customs.el")
-	  (load-theme 'nano t)
-	  (nano-dark))))
+	  (load-theme 'leuven t))))
       
 ;; Load for Term
 (unless (display-graphic-p)
   (xterm-mouse-mode t))
-

+ 4 - 1
emacs/linux-load/customs.el

@@ -3,10 +3,13 @@
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
- '(display-time-mode t))
+ '(custom-safe-themes
+   '("01106ca9b4446341ecb86a76b9db48f1100e2eb13980aa0ec6f6adf8e69fd9a7" default))
+ '(display-time-mode t)
 (custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
  '(default ((t (:family "Gohu GohuFont" :foundry "UNKN" :slant normal :weight normal :height 83 :width normal)))))
+