made exwm quite usable, almost cozy even

This commit is contained in:
Rachel Lambda Samuelsson 2022-12-02 01:22:04 +01:00
parent a8cdbea488
commit f4853bdbc5
3 changed files with 12 additions and 4 deletions

View File

@ -27,10 +27,6 @@
(set-input-method "Agda"))))
(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
(define-prefix-command 'create-windows)
(global-set-key (kbd "C-a") 'create-windows)

View File

@ -16,6 +16,10 @@
(interactive)
(start-process "firefox" nil "firefox"))
(defun rofi ()
(interactive)
(start-process "rofi" nil "rofi" "-show" "run"))
(setq exwm-input-global-keys
`((,(kbd "s-E") . exwm-exit)
(,(kbd "s-Q") . evil-quit)
@ -35,6 +39,7 @@
;; Applications
(,(kbd "s-<backspace>") . firefox)
(,(kbd "s-<return>") . vterm)
(,(kbd "s-d") . rofi)
;; Workspaces
,@(mapcar (lambda (i)

View File

@ -113,9 +113,16 @@
'(display-time-interval 15)
'(display-time-mode t)
'(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"))
'(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))
'(shell-file-name "/bin/bash")
'(warning-suppress-log-types '((comp)))
'(warning-suppress-types '((comp)))
'(writeroom-mode-line t)