made exwm quite usable, almost cozy even
This commit is contained in:
parent
a8cdbea488
commit
f4853bdbc5
4
binds.el
4
binds.el
|
@ -27,10 +27,6 @@
|
||||||
(set-input-method "Agda"))))
|
(set-input-method "Agda"))))
|
||||||
(add-hook 'evil-insert-state-exit-hook (lambda () (set-input-method nil)))
|
(add-hook 'evil-insert-state-exit-hook (lambda () (set-input-method nil)))
|
||||||
|
|
||||||
;; No evil in certain modes
|
|
||||||
(add-hook 'vterm-mode-hook 'turn-off-evil-mode)
|
|
||||||
(add-hook 'zotero-browser-mode-hook 'turn-off-evil-mode)
|
|
||||||
|
|
||||||
;; Windowing
|
;; Windowing
|
||||||
(define-prefix-command 'create-windows)
|
(define-prefix-command 'create-windows)
|
||||||
(global-set-key (kbd "C-a") 'create-windows)
|
(global-set-key (kbd "C-a") 'create-windows)
|
||||||
|
|
5
exwm.el
5
exwm.el
|
@ -16,6 +16,10 @@
|
||||||
(interactive)
|
(interactive)
|
||||||
(start-process "firefox" nil "firefox"))
|
(start-process "firefox" nil "firefox"))
|
||||||
|
|
||||||
|
(defun rofi ()
|
||||||
|
(interactive)
|
||||||
|
(start-process "rofi" nil "rofi" "-show" "run"))
|
||||||
|
|
||||||
(setq exwm-input-global-keys
|
(setq exwm-input-global-keys
|
||||||
`((,(kbd "s-E") . exwm-exit)
|
`((,(kbd "s-E") . exwm-exit)
|
||||||
(,(kbd "s-Q") . evil-quit)
|
(,(kbd "s-Q") . evil-quit)
|
||||||
|
@ -35,6 +39,7 @@
|
||||||
;; Applications
|
;; Applications
|
||||||
(,(kbd "s-<backspace>") . firefox)
|
(,(kbd "s-<backspace>") . firefox)
|
||||||
(,(kbd "s-<return>") . vterm)
|
(,(kbd "s-<return>") . vterm)
|
||||||
|
(,(kbd "s-d") . rofi)
|
||||||
|
|
||||||
;; Workspaces
|
;; Workspaces
|
||||||
,@(mapcar (lambda (i)
|
,@(mapcar (lambda (i)
|
||||||
|
|
7
init.el
7
init.el
|
@ -113,9 +113,16 @@
|
||||||
'(display-time-interval 15)
|
'(display-time-interval 15)
|
||||||
'(display-time-mode t)
|
'(display-time-mode t)
|
||||||
'(evil-undo-system 'undo-tree)
|
'(evil-undo-system 'undo-tree)
|
||||||
|
'(image-converter 'imagemagick)
|
||||||
|
'(image-file-name-extensions
|
||||||
|
'("png" "jpeg" "jpg" "gif" "tiff" "tif" "xbm" "xpm" "pbm" "pgm" "ppm" "pnm" "svg" "ora"))
|
||||||
|
'(image-use-external-converter t)
|
||||||
|
'(imagemagick-enabled-types
|
||||||
|
'(3FR ARW AVS BMP BMP2 BMP3 CAL CALS CMYK CMYKA CR2 CRW CUR CUT DCM DCR DCX DDS DJVU DNG DPX EXR FAX FITS GBR GIF GIF87 GRB HRZ ICB ICO ICON J2C JNG JP2 JPC JPEG JPG JPX K25 KDC MIFF MNG MRW MSL MSVG MTV NEF ORF OTB PBM PCD PCDS PCL PCT PCX PDB PEF PGM PICT PIX PJPEG PNG PNG24 PNG32 PNG8 PNM PPM PSD PTIF PWP RAF RAS RBG RGB RGBA RGBO RLA RLE SCR SCT SFW SGI SR2 SRF SUN SVG SVGZ TGA TIFF TIFF64 TILE TIM TTF UYVY VDA VICAR VID VIFF VST WBMP WPG X3F XBM XC XCF XPM XV XWD YCbCr YCbCrA YUV ORA))
|
||||||
'(org-agenda-files '("/home/deppy/doc/org/todo.org"))
|
'(org-agenda-files '("/home/deppy/doc/org/todo.org"))
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
'(edwina markdown-preview-mode markdown-mode exwm 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))
|
'(edwina markdown-preview-mode markdown-mode exwm 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))
|
||||||
|
'(shell-file-name "/bin/bash")
|
||||||
'(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
Block a user