emacs: rearrange config

This commit is contained in:
Hoang Nguyen 2021-02-16 20:04:27 +03:00
parent fe71bd1a49
commit 03fe06eabd
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
4 changed files with 20 additions and 11 deletions

View File

@ -13,7 +13,7 @@
'(font-lock-comment-face :slant italic))
;; Might speedup all-the-icons
(setq inhibit-compacting-font-caches t)
;;(setq inhibit-compacting-font-caches t)
;; Emoji
(after! emojify
@ -41,6 +41,9 @@
doom-dashboard-widget-shortmenu
doom-dashboard-widget-loaded))
;; Modeline
(setq doom-modeline-unicode-fallback t)
;; Line number
(setq display-line-numbers-type 'relative)
@ -109,6 +112,7 @@
;;(emms-all)
;;(emms-default-players)
;;(emms-playing-time 1)
;;(emms-mode-line 1)
;;(setq emms-source-file-default-directory "~/Music/"
;; emms-info-asynchronously 1
;; emms-playlist-buffer-name "*Music*"
@ -138,9 +142,14 @@
;; :desc "Emms next track"
;; "e n" #'emms-next)
;; Modeline
;;(emms-mode-line 1)
(setq doom-modeline-unicode-fallback t)
;; Asynchronous bytecode compilation
(use-package! async
:ensure t
:defer t
:init
(dired-async-mode 1)
(async-bytecomp-package-mode 1)
:custom (async-bytecomp-allowed-packages '(all)))
;; Here are some additional functions/macros that could help you configure Doom:
;;

View File

@ -67,7 +67,7 @@ You can find the original one at `exwm-config-ido-buffer-window-other-frame'."
(interactive)
(pcase exwm-class-name
("Komikku" (exwm-floating-toggle-floating)
(exwm-layout-toggle-mode-line))))
(exwm-layout-hide-mode-line))))
(defun follie/update-displays ()
(lambda ()
@ -78,7 +78,7 @@ You can find the original one at `exwm-config-ido-buffer-window-other-frame'."
(use-package! exwm
:config
;; Number of workspaces
(setq exwm-workspace-number 2)
(setq exwm-workspace-number 6)
;; Extra stuff at startup
(add-hook 'exwm-init-hook #'follie/exwm-init-hook)
@ -107,7 +107,7 @@ You can find the original one at `exwm-config-ido-buffer-window-other-frame'."
;; System tray on minibuffer
(require 'exwm-systemtray)
(setq exwm-systemtray-height 12)
(setq exwm-systemtray-height 20)
(exwm-systemtray-enable)
;; Automatically send cursor to the selected display

View File

@ -51,7 +51,7 @@
(popup ; tame sudden yet inevitable temporary windows
+all
+defaults)
tabs ; a tab bar for Emacs
;;tabs ; a tab bar for Emacs
treemacs ; a project drawer, like neotree but cooler
unicode ; extended unicode support for various languages
vc-gutter ; vcs diff in the fringe
@ -80,7 +80,7 @@
+icons)
electric ; smarter, keyword-based electric-indent
(ibuffer +icons) ; interactive buffer management
(undo +tree) ; persistent, smarter undo for your inevitable mistakes
undo ; persistent, smarter undo for your inevitable mistakes
vc ; version-control and Emacs, sitting in a tree
:term
@ -185,7 +185,7 @@
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good
;;scheme ; a fully conniving family of lisps
sh ; she sells {ba,z,fi}sh shells on the C xor
(sh +fish) ; she sells {ba,z,fi}sh shells on the C xor
;;sml
;;solidity ; do you need a blockchain? No.
;;swift ; who asked for emoji variables?

View File

@ -56,8 +56,8 @@
;; Syntax
(package! vimrc-mode)
(package! fish-mode)
;; Improvements
(package! async)
(package! magit-delta)
;; (package! mixed-pitch)