emacs: work around modeline cut off

This commit is contained in:
FollieHiyuki 2021-02-20 04:13:59 +03:00
parent 87916c5e6e
commit 9e98f83158
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
3 changed files with 14 additions and 10 deletions

View File

@ -41,7 +41,7 @@
- **Shell prompt:** [starship](https://starship.rs/) - **Shell prompt:** [starship](https://starship.rs/)
- **Previewing things in the terminal:** [delta](https://github.com/dandavison/delta), [bat](https://github.com/sharkdp/bat), [glow](https://github.com/charmbracelet/glow) / [mdcat](https://github.com/lunaryorn/mdcat), [exa](https://github.com/ogham/exa), pandoc, tree, [csview](https://github.com/wfxr/csview), [libsixel](https://github.com/saitoha/libsixel) - **Previewing things in the terminal:** [delta](https://github.com/dandavison/delta), [bat](https://github.com/sharkdp/bat), [glow](https://github.com/charmbracelet/glow) / [mdcat](https://github.com/lunaryorn/mdcat), [exa](https://github.com/ogham/exa), pandoc, tree, [csview](https://github.com/wfxr/csview), [libsixel](https://github.com/saitoha/libsixel)
- **CLI/TUI tools for the Internet:** [gallery-dl](https://github.com/mikf/gallery-dl) / [mangadl-bash](https://github.com/Akianonymus/mangadl-bash), [translate-shell](https://github.com/soimort/translate-shell), [ddgr](https://github.com/jarun/ddgr), [buku](https://github.com/jarun/buku), [howdoi](https://github.com/gleitz/howdoi), [tuxi](https://github.com/Bugswriter/tuxi), [amfora](https://github.com/makeworld-the-better-one/amfora), [cointop](https://github.com/miguelmota/cointop), [newsboat](https://github.com/newsboat/newsboat), [youtube-dl](https://github.com/ytdl-org/youtube-dl), [github-cli](https://github.com/cli/cli), [pup](https://github.com/ericchiang/pup), [tmpsms](https://github.com/sdushantha/tmpsms), [tmpmail](https://github.com/sdushantha/tmpmail), [weechat](https://github.com/weechat/weechat), [curl](https://curl.haxx.se), [wget](https://www.gnu.org/software/wget/wget.html) - **CLI/TUI tools for the Internet:** [gallery-dl](https://github.com/mikf/gallery-dl) / [mangadl-bash](https://github.com/Akianonymus/mangadl-bash), [translate-shell](https://github.com/soimort/translate-shell), [ddgr](https://github.com/jarun/ddgr), [buku](https://github.com/jarun/buku), [howdoi](https://github.com/gleitz/howdoi), [tuxi](https://github.com/Bugswriter/tuxi), [amfora](https://github.com/makeworld-the-better-one/amfora), [cointop](https://github.com/miguelmota/cointop), [newsboat](https://github.com/newsboat/newsboat), [youtube-dl](https://github.com/ytdl-org/youtube-dl), [github-cli](https://github.com/cli/cli), [pup](https://github.com/ericchiang/pup), [tmpsms](https://github.com/sdushantha/tmpsms), [tmpmail](https://github.com/sdushantha/tmpmail), [weechat](https://github.com/weechat/weechat), [curl](https://curl.haxx.se), [wget](https://www.gnu.org/software/wget/wget.html)
- **CLI/TUI tools for other things:** [farge](https://github.com/sdushantha/farge), [tt](https://github.com/runrin/tt), [forgit](https://github.com/wfxr/forgit), [borg](https://github.com/borgbackup/borg), [wendy](https://git.z3bra.org/wendy/log.html), [tokei](https://github.com/XAMPPRocky/tokei), [onefetch](https://github.com/o2sh/onefetch), [calcurse](https://github.com/lfos/calcurse), [qalculate](https://github.com/Qalculate/libqalculate), [fzf](https://github.com/junegunn/fzf), [fd](https://github.com/sharkdp/fd), [ripgrep](https://github.com/BurntSushi/ripgrep), [atool](http://www.nongnu.org/atool/), [rsync](https://rsync.samba.org/), [bottom](https://github.com/clementtsang/bottom) - **CLI/TUI tools for other things:** [farge](https://github.com/sdushantha/farge), [tt](https://github.com/runrin/tt), [forgit](https://github.com/wfxr/forgit), [borg](https://github.com/borgbackup/borg), [wendy](https://git.z3bra.org/wendy/log.html), [tokei](https://github.com/XAMPPRocky/tokei), [onefetch](https://github.com/o2sh/onefetch), [calcurse](https://github.com/lfos/calcurse), [qalculate](https://github.com/Qalculate/libqalculate), [fzf](https://github.com/junegunn/fzf), [fd](https://github.com/sharkdp/fd), [ripgrep](https://github.com/BurntSushi/ripgrep), [atool](http://www.nongnu.org/atool/), [rsync](https://rsync.samba.org/), [bottom](https://github.com/clementtsang/bottom), [hyperfine](https://github.com/sharkdp/hyperfine)
> zsh requires adding `export ZDOTDIR=$HOME/.config/zsh` to **/etc/zsh/zshenv** > zsh requires adding `export ZDOTDIR=$HOME/.config/zsh` to **/etc/zsh/zshenv**

View File

@ -7,13 +7,19 @@
;; Font settings ;; Font settings
(setq doom-font (font-spec :family "Iosevka Nerd Font" :size 16) (setq doom-font (font-spec :family "Iosevka Nerd Font" :size 16)
doom-variable-pitch-font (font-spec :family "sans" :size 16) doom-variable-pitch-font (font-spec :family "sans" :size 16)
doom-big-font (font-spec :family "Iosevka Nerd Font" :size 24) doom-big-font (font-spec :family "Iosevka Nerd Font" :size 24))
doom-unicode-font (font-spec :family "Symbola" :size 14))
(custom-set-faces!
'(font-lock-comment-face :slant italic))
;; Might speedup all-the-icons
;;(setq inhibit-compacting-font-caches t) ;;(setq inhibit-compacting-font-caches t)
(custom-set-faces!
'(font-lock-comment-face :slant italic)
'(font-lock-keyword-face :weight bold))
;; Work around modeline cut off. See hlissner/doom-emacs#2967
(setq all-the-icons-scale-factor 1.1)
(after! doom-modeline
(custom-set-faces!
'(mode-line :height 0.97)
'(mode-line-inactive :height 0.97))
(setq doom-modeline-unicode-fallback t))
;; Emoji ;; Emoji
(after! emojify (after! emojify
@ -41,9 +47,6 @@
doom-dashboard-widget-shortmenu doom-dashboard-widget-shortmenu
doom-dashboard-widget-loaded)) doom-dashboard-widget-loaded))
;; Modeline
(setq doom-modeline-unicode-fallback t)
;; Line number ;; Line number
(setq display-line-numbers-type 'relative) (setq display-line-numbers-type 'relative)

View File

@ -27,6 +27,7 @@
(follie/run-in-background "dunst") (follie/run-in-background "dunst")
(follie/run-in-background "mpDris2") (follie/run-in-background "mpDris2")
(start-process-shell-command "xsetroot" nil "xsetroot -cursor_name left_ptr")) (start-process-shell-command "xsetroot" nil "xsetroot -cursor_name left_ptr"))
(follie/run-in-background "greenclip daemon")
(defun follie/configure-window-by-class () (defun follie/configure-window-by-class ()
(interactive) (interactive)