Small EXWM tweaks
[~bandali/configs] / .emacs.d / init.el
index e79d9f7..0dccfff 100644 (file)
@@ -156,9 +156,9 @@ This sets each user option VAR's value to the corresponding VALUE.
        (yasnippet "0.14.0")
        (expand-region "0.11.0")
        ;; bndl
-       (refinery-theme "0.1.1")
+       ;; (refinery-theme "0.1.1")
        ;; Org ELPA
-       (org-plus-contrib "20201005"))))
+       (org-plus-contrib "20201012"))))
   (package-initialize))
 
 (csetq package-archive-upload-base "/ssh:caffeine:~/www/p/elpa")
@@ -565,7 +565,7 @@ Make N (default: 1) copies of the current line or region."
  (expand-file-name
   (convert-standard-filename "lisp") user-emacs-directory))
 
-;; (require 'bandali-exwm)
+(require 'bandali-exwm)
 
 (require 'bandali-org)
 
@@ -977,16 +977,6 @@ Make N (default: 1) copies of the current line or region."
                   (other-window 1)))
 (global-set-key (kbd "C-c w q") #'quit-window)
 
-(run-with-idle-timer 0.6 nil #'require 'windmove)
-(global-set-key (kbd "C-c w h") #'windmove-left)
-(global-set-key (kbd "C-c w j") #'windmove-down)
-(global-set-key (kbd "C-c w k") #'windmove-up)
-(global-set-key (kbd "C-c w l") #'windmove-right)
-(global-set-key (kbd "C-c w H") #'windmove-swap-states-left)
-(global-set-key (kbd "C-c w J") #'windmove-swap-states-down)
-(global-set-key (kbd "C-c w K") #'windmove-swap-states-up)
-(global-set-key (kbd "C-c w L") #'windmove-swap-states-right)
-
 ;; pass
 ;; (global-set-key (kbd "C-c a p") #'pass)
 ;; (add-hook 'pass-mode-hook #'View-exit)
@@ -1005,9 +995,11 @@ Make N (default: 1) copies of the current line or region."
 (add-hook 'latex-mode-hook #'reftex-mode)
 
 ;; dmenu
-;; (csetq
-;;  dmenu-prompt-string "run: "
-;;  dmenu-save-file (b/var "dmenu-items"))
+(add-to-list 'load-path (b/lisp "dmenu"))
+(with-eval-after-load 'dmenu
+  (csetq dmenu-prompt-string "run: "
+         dmenu-save-file (b/var "dmenu-items")))
+(autoload 'dmenu "dmenu" nil t)
 
 ;; eosd ?