From beb78ee023e0c01e0f619a89022dea73c1a56695 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 24 Nov 2022 04:32:12 +0200 Subject: Add dmenu, change workspaces --- .emacs.d/lisp/init-exwm.el | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to '.emacs.d/lisp') diff --git a/.emacs.d/lisp/init-exwm.el b/.emacs.d/lisp/init-exwm.el index 91c0bbf..a96974c 100644 --- a/.emacs.d/lisp/init-exwm.el +++ b/.emacs.d/lisp/init-exwm.el @@ -3,11 +3,15 @@ ;;; Code: -(defun apollo/run_rofi () - (interactive) - (start-process-shell-command - "rofi" nil "rofi -show drun")) -(global-set-key (kbd "s-") 'apollo/run_rofi) +(use-package dmenu + :bind + ("s-d" . dmenu)) + +;; (defun apollo/run_rofi () +;; (interactive) +;; (start-process-shell-command +;; "rofi" nil "rofi -show drun")) +;; (global-set-key (kbd "s-") 'apollo/run_rofi) (defun apollo/exwm-update-class () @@ -15,7 +19,7 @@ (use-package exwm :config - (setq exwm-workspace-number 5) + (setq exwm-workspace-number 10) ;; When window "class" updates, use it to set the buffer name (add-hook 'exwm-update-class-hook #'apollo/exwm-update-class) @@ -42,7 +46,8 @@ ?\M-x ?\M-` ?\M-& - ?\M-: + ?\M-: + ?\s-d ?\C-\M-j ;; Buffer list ?\C-\ )) ;; Ctrl+Space -- cgit v1.2.3