diff --git a/files/emacs/init.org b/files/emacs/init.org index cef2fcb..00a5b4a 100644 --- a/files/emacs/init.org +++ b/files/emacs/init.org @@ -226,13 +226,14 @@ Forgive me, but I'm =evil=. ** Appearance *** Fonts I mainly use these fonts: -+ =JuliaMono Medium= and =SFMono Nerd Font Mono= as main mono-spaced ++ =SFMono Nerd Font Mono= as main mono-spaced ++ =JuliaMono= for all other characters + =Noto Emoji= to show emojis in emacs + =Noto JP= for japanese characters #+begin_src emacs-lisp (set-face-attribute 'default nil :font "SFMono Nerd Font" :height 110 :weight 'medium) ;; (set-face-attribute 'default nil :font "JuliaMono" :height 110 :weight 'medium) -(set-fontset-font t 'unicode "JuliaMono" nil 'append) +(set-fontset-font t 'unicode "JuliaMono" nil 'prepend) (set-fontset-font t 'unicode "Noto Color Emoji" nil 'prepend) (set-fontset-font t 'unicode "Noto Sans Mono CJK JP" nil 'append) #+end_src diff --git a/files/sway/.config/sway/config b/files/sway/.config/sway/config index 5fdfc20..873f832 100644 --- a/files/sway/.config/sway/config +++ b/files/sway/.config/sway/config @@ -2,7 +2,7 @@ # Read `man 5 sway` for a complete reference. # Font in sway -font pango: JuliaMono 9 +font pango: SFMono Nerd Font 9 # Variables set $mod Mod4 @@ -74,7 +74,7 @@ input type:keyboard { bindsym $mod+Shift+Backspace kill # Application launcher - set $bemenu bemenu -l 7 --tf "#859900" --hf "#859900" --nb "#002b36" --hb "#002b36" --tb "#002b36" --fb "#002b36" --fn "JuliaMono 13" -i + set $bemenu bemenu -l 7 --tf "#859900" --hf "#859900" --nb "#002b36" --hb "#002b36" --tb "#002b36" --fb "#002b36" --fn "SFMono Nerd Font 13" -i set $files find $HOME -name '*.pdf' -not -path "$HOME/\.*" 2> /dev/null | cut -f 4- -d "/" bindsym $mod+d exec dmenu_path | $bemenu | xargs swaymsg exec -- bindsym $mod+p exec $files | $bemenu -l 20 -p 'pdfs' | xargs -d '\n' -r xdg-open