mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-28 18:28:35 -05:00
font: change Sarasa Fixed to Sarasa Mono
This commit is contained in:
parent
ffdbba29bd
commit
c40bc875bf
@ -10,8 +10,25 @@
|
|||||||
|
|
||||||
;; Font settings
|
;; Font settings
|
||||||
(setq doom-font (font-spec :family "Iosevka" :size 16)
|
(setq doom-font (font-spec :family "Iosevka" :size 16)
|
||||||
|
doom-serif-font (font-spec :family "Iosevka Slab" :size 16)
|
||||||
doom-variable-pitch-font (font-spec :family "Iosevka Aile" :size 16)
|
doom-variable-pitch-font (font-spec :family "Iosevka Aile" :size 16)
|
||||||
doom-big-font (font-spec :family "Iosevka" :size 24))
|
doom-big-font (font-spec :family "Iosevka" :size 24))
|
||||||
|
(after! unicode-fonts
|
||||||
|
(setq doom-unicode-font doom-font)
|
||||||
|
(dolist (unicode-block '("CJK Compatibility"
|
||||||
|
"CJK Compatibility Forms"
|
||||||
|
"CJK Compatibility Ideographs"
|
||||||
|
"CJK Compatibility Ideographs Supplement"
|
||||||
|
"CJK Radicals Supplement"
|
||||||
|
"CJK Strokes"
|
||||||
|
"CJK Symbols and Punctuation"
|
||||||
|
"CJK Unified Ideographs"
|
||||||
|
"CJK Unified Ideographs Extension A"
|
||||||
|
"CJK Unified Ideographs Extension B"
|
||||||
|
"CJK Unified Ideographs Extension C"
|
||||||
|
"CJK Unified Ideographs Extension D"
|
||||||
|
"CJK Unified Ideographs Extension E"))
|
||||||
|
(push "Sarasa Mono J" (cadr (assoc unicode-block unicode-fonts-block-font-mapping)))))
|
||||||
;;(setq inhibit-compacting-font-caches t)
|
;;(setq inhibit-compacting-font-caches t)
|
||||||
(custom-set-faces!
|
(custom-set-faces!
|
||||||
'(font-lock-comment-face :slant italic)
|
'(font-lock-comment-face :slant italic)
|
||||||
@ -138,7 +155,7 @@
|
|||||||
org-ellipsis "▾"
|
org-ellipsis "▾"
|
||||||
org-hide-emphasis-markers t)
|
org-hide-emphasis-markers t)
|
||||||
(defun follie/comfy-org-editing ()
|
(defun follie/comfy-org-editing ()
|
||||||
(setq visual-fill-column-width 120
|
(setq visual-fill-column-width 100
|
||||||
visual-fill-column-center-text t)
|
visual-fill-column-center-text t)
|
||||||
(visual-fill-column-mode 1)
|
(visual-fill-column-mode 1)
|
||||||
(display-line-numbers-mode -1))
|
(display-line-numbers-mode -1))
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
(follie/run-in-background "greenclip daemon")
|
(follie/run-in-background "greenclip daemon")
|
||||||
|
|
||||||
(defun follie/configure-window-by-class ()
|
(defun follie/configure-window-by-class ()
|
||||||
(interactive)
|
|
||||||
(pcase exwm-class-name
|
(pcase exwm-class-name
|
||||||
("Komikku" (exwm-floating-toggle-floating)
|
("Komikku" (exwm-floating-toggle-floating)
|
||||||
(exwm-layout-hide-mode-line))))
|
(exwm-layout-hide-mode-line))))
|
||||||
@ -45,9 +44,8 @@
|
|||||||
(string-trim (shell-command-to-string "xrandr | grep \" connected\" | awk '{print $1}' | sed '$!N;s/\\n/ /'"))))
|
(string-trim (shell-command-to-string "xrandr | grep \" connected\" | awk '{print $1}' | sed '$!N;s/\\n/ /'"))))
|
||||||
|
|
||||||
(defun follie/exwm-rename-buffer ()
|
(defun follie/exwm-rename-buffer ()
|
||||||
(interactive)
|
|
||||||
(exwm-workspace-rename-buffer
|
(exwm-workspace-rename-buffer
|
||||||
(concat exwm-class-name ":"
|
(concat "[" exwm-class-name "] "
|
||||||
(if (<= (length exwm-title) 30) exwm-title
|
(if (<= (length exwm-title) 30) exwm-title
|
||||||
(concat (substring exwm-title 0 29))))))
|
(concat (substring exwm-title 0 29))))))
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||||
(emoji ; :)
|
(emoji ; :)
|
||||||
+unicode
|
+unicode
|
||||||
;;+ascii
|
+ascii
|
||||||
+github)
|
+github)
|
||||||
;;fill-column ; a `fill-column' indicator
|
;;fill-column ; a `fill-column' indicator
|
||||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||||
|
@ -108,7 +108,7 @@
|
|||||||
|
|
||||||
### Text ###
|
### Text ###
|
||||||
|
|
||||||
font = Sarasa Fixed J 12
|
font = Sarasa Mono J 12
|
||||||
|
|
||||||
# The spacing between lines. If the height is smaller than the
|
# The spacing between lines. If the height is smaller than the
|
||||||
# font height, it will get raised to the font height.
|
# font height, it will get raised to the font height.
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
# -*- conf -*-
|
# -*- conf -*-
|
||||||
|
|
||||||
font=Iosevka Nerd Font:style=Regular:size=12, Sarasa Fixed J:style=Regular:size=12
|
font=Iosevka Nerd Font:style=Regular:size=12, Sarasa Mono J:style=Regular:size=12
|
||||||
font-bold=Iosevka Nerd Font:style=Bold:size=12, Sarasa Fixed J:style=Bold:size=12
|
font-bold=Iosevka Nerd Font:style=Bold:size=12, Sarasa Mono J:style=Bold:size=12
|
||||||
font-italic=Iosevka Nerd Font:style=Italic:size=12, Sarasa Fixed J:style=Italic:size=12
|
font-italic=Iosevka Nerd Font:style=Italic:size=12, Sarasa Mono J:style=Italic:size=12
|
||||||
font-bold-italic=Iosevka Nerd Font:style=Bold Italic:size=12, Sarasa Fixed J:style=Bold Italic:size=12
|
font-bold-italic=Iosevka Nerd Font:style=Bold Italic:size=12, Sarasa Mono J:style=Bold Italic:size=12
|
||||||
dpi-aware=no
|
dpi-aware=no
|
||||||
initial-window-size-pixels=800x600 # Or,
|
initial-window-size-pixels=800x600 # Or,
|
||||||
# initial-window-size-chars=<COLSxROWS>
|
# initial-window-size-chars=<COLSxROWS>
|
||||||
|
@ -2,7 +2,7 @@ ui {
|
|||||||
border = 2
|
border = 2
|
||||||
gap = 5
|
gap = 5
|
||||||
step = 50
|
step = 50
|
||||||
font = "Sarasa Fixed J 12"
|
font = "Sarasa Mono J 12"
|
||||||
|
|
||||||
colorscheme {
|
colorscheme {
|
||||||
background = 0x2E3440
|
background = 0x2E3440
|
||||||
|
@ -19,7 +19,7 @@ overlay_background_alpha = c3
|
|||||||
initial_pan = 0 0
|
initial_pan = 0 0
|
||||||
scaling_mode = full
|
scaling_mode = full
|
||||||
overlay = true
|
overlay = true
|
||||||
overlay_font = Sarasa Fixed J:20
|
overlay_font = Sarasa Mono J:20
|
||||||
overlay_text = [$imv_current_index/$imv_file_count] $imv_current_file [${imv_width}x${imv_height}] [$imv_scaling_mode - $imv_scale%]
|
overlay_text = [$imv_current_index/$imv_file_count] $imv_current_file [${imv_width}x${imv_height}] [$imv_scaling_mode - $imv_scale%]
|
||||||
|
|
||||||
[aliases]
|
[aliases]
|
||||||
|
@ -120,8 +120,8 @@ theme.gopher_light = { bg = base06, fg = base00, link = base0D }
|
|||||||
theme.gopher_dark = { bg = base00, fg = base06, link = base0A }
|
theme.gopher_dark = { bg = base00, fg = base06, link = base0A }
|
||||||
|
|
||||||
-- Font
|
-- Font
|
||||||
theme.font = "13pt Sarasa Fixed J"
|
theme.font = "13pt Sarasa Mono J"
|
||||||
theme.hint_font = "12pt Sarasa Fixed J"
|
theme.hint_font = "12pt Sarasa Mono J"
|
||||||
|
|
||||||
return theme
|
return theme
|
||||||
|
|
||||||
@ -247,8 +247,8 @@ return theme
|
|||||||
-- theme.gopher_dark = { bg = base00, fg = base06, link = base0A }
|
-- theme.gopher_dark = { bg = base00, fg = base06, link = base0A }
|
||||||
|
|
||||||
-- -- Font
|
-- -- Font
|
||||||
-- theme.font = "13pt Sarasa Fixed J"
|
-- theme.font = "13pt Sarasa Mono J"
|
||||||
-- theme.hint_font = "12pt Sarasa Fixed J"
|
-- theme.hint_font = "12pt Sarasa Mono J"
|
||||||
|
|
||||||
-- return theme
|
-- return theme
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
font=Sarasa Fixed J 12
|
font=Sarasa Mono J 12
|
||||||
border-size=4
|
border-size=4
|
||||||
border-radius=10
|
border-radius=10
|
||||||
margin=10,10,10
|
margin=10,10,10
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#bar {
|
#bar {
|
||||||
margin: 30px; /* affects top/bottom & left/right alignment */
|
margin: 30px; /* affects top/bottom & left/right alignment */
|
||||||
font-family: Sarasa Fixed J;
|
font-family: Sarasa Mono J;
|
||||||
font-size: 16pt
|
font-size: 16pt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ button, label, image {
|
|||||||
button {
|
button {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
font-family: Sarasa Fixed J;
|
font-family: Sarasa Mono J;
|
||||||
font-size: 13pt
|
font-size: 13pt
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ button:focus {
|
|||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
min-width: 400px;
|
min-width: 400px;
|
||||||
font-family: Sarasa Fixed J;
|
font-family: Sarasa Mono J;
|
||||||
font-size: 13pt
|
font-size: 13pt
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -41,6 +41,6 @@ button:focus {
|
|||||||
|
|
||||||
#description {
|
#description {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
font-family: Sarasa Fixed J;
|
font-family: Sarasa Mono J;
|
||||||
font-size: 13pt
|
font-size: 13pt
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
[bar/mainbar]
|
[bar/mainbar]
|
||||||
background = #2e3440
|
background = #2e3440
|
||||||
font-0 = "Iosevka Nerd Font:style=Regular:size=12:antialias=true;3"
|
font-0 = "Iosevka Nerd Font:style=Regular:size=12:antialias=true;3"
|
||||||
font-1 = "Sarasa Fixed J:style=Regular:size=12:antialias=true;3"
|
font-1 = "Sarasa Mono J:style=Regular:size=12:antialias=true;3"
|
||||||
height = 30
|
height = 30
|
||||||
modules-left = date weather vpn keyboard
|
modules-left = date weather vpn keyboard
|
||||||
modules-center = bsp
|
modules-center = bsp
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
[bar/mainbar]
|
[bar/mainbar]
|
||||||
background = #282c34
|
background = #282c34
|
||||||
font-0 = "Iosevka Nerd Font:style=Regular:size=12:antialias=true;2"
|
font-0 = "Iosevka Nerd Font:style=Regular:size=12:antialias=true;2"
|
||||||
font-1 = "Sarasa Fixed J:style=Regular:size=12:antialias=true;2"
|
font-1 = "Sarasa Mono J:style=Regular:size=12:antialias=true;2"
|
||||||
height = 30
|
height = 30
|
||||||
modules-left = date weather keyboard
|
modules-left = date weather keyboard
|
||||||
modules-center = bsp
|
modules-center = bsp
|
||||||
|
@ -108,15 +108,15 @@ c.downloads.location.directory = '$HOME/Downloads'
|
|||||||
c.downloads.location.remember = False
|
c.downloads.location.remember = False
|
||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
c.fonts.completion.category = '13pt Sarasa Fixed J'
|
c.fonts.completion.category = '13pt Sarasa Mono J'
|
||||||
c.fonts.completion.entry = '13pt Sarasa Fixed J'
|
c.fonts.completion.entry = '13pt Sarasa Mono J'
|
||||||
c.fonts.contextmenu = '13pt Sarasa Fixed J'
|
c.fonts.contextmenu = '13pt Sarasa Mono J'
|
||||||
c.fonts.default_family = ['Sarasa Fixed J', 'Iosevka Nerd Font']
|
c.fonts.default_family = ['Sarasa Mono J', 'Iosevka']
|
||||||
c.fonts.default_size = '11pt'
|
c.fonts.default_size = '11pt'
|
||||||
# c.fonts.prompts = 'default_size sans-serif'
|
# c.fonts.prompts = 'default_size sans-serif'
|
||||||
c.fonts.statusbar = '11pt Sarasa Fixed J'
|
c.fonts.statusbar = '11pt Sarasa Mono J'
|
||||||
c.fonts.tabs.selected = 'bold 11pt Sarasa Fixed J'
|
c.fonts.tabs.selected = 'bold 11pt Sarasa Mono J'
|
||||||
c.fonts.tabs.unselected = 'italic 11pt Sarasa Fixed J'
|
c.fonts.tabs.unselected = 'italic 11pt Sarasa Mono J'
|
||||||
|
|
||||||
# Hints
|
# Hints
|
||||||
c.hints.uppercase = True
|
c.hints.uppercase = True
|
||||||
|
@ -57,7 +57,7 @@ bar_color[1] = rgb:2e/34/40, rgb:bf/61/6a, rgb:a3/be/8c, rgb:d0/87
|
|||||||
bar_color_selected[1] = rgb:81/a1/c1
|
bar_color_selected[1] = rgb:81/a1/c1
|
||||||
bar_font_color[1] = rgb:2e/34/40, rgb:bf/61/6a, rgb:eb/cb/8b, rgb:81/a1/c1, rgb:d8/de/e9
|
bar_font_color[1] = rgb:2e/34/40, rgb:bf/61/6a, rgb:eb/cb/8b, rgb:81/a1/c1, rgb:d8/de/e9
|
||||||
bar_font_color_selected = rgb:2e/34/40
|
bar_font_color_selected = rgb:2e/34/40
|
||||||
bar_font = Iosevka Nerd Font:style=Regular:size=12:antialias=true, Sarasa Fixed J:style=Regular:size=12:antialias=true
|
bar_font = Iosevka Nerd Font:style=Regular:size=12:antialias=true, Sarasa Mono J:style=Regular:size=12:antialias=true
|
||||||
bar_action = ~/.config/spectrwm/baraction.sh
|
bar_action = ~/.config/spectrwm/baraction.sh
|
||||||
bar_action_expand = 1
|
bar_action_expand = 1
|
||||||
bar_justify = left
|
bar_justify = left
|
||||||
|
@ -57,7 +57,7 @@ bar_color[1] = rgb:28/2c/34, rgb:be/50/46, rgb:98/c3/79, rgb:d1/9a
|
|||||||
bar_color_selected[1] = rgb:61/af/ef
|
bar_color_selected[1] = rgb:61/af/ef
|
||||||
bar_font_color[1] = rgb:28/2c/34, rgb:be/50/46, rgb:d1/9a/66, rgb:61/af/ef, rgb:ab/b2/bf
|
bar_font_color[1] = rgb:28/2c/34, rgb:be/50/46, rgb:d1/9a/66, rgb:61/af/ef, rgb:ab/b2/bf
|
||||||
bar_font_color_selected = rgb:28/2c/34
|
bar_font_color_selected = rgb:28/2c/34
|
||||||
bar_font = Iosevka Nerd Font:style=Regular:size=12:antialias=true, Sarasa Fixed J:style=Regular:size=12:antialias=true
|
bar_font = Iosevka Nerd Font:style=Regular:size=12:antialias=true, Sarasa Mono J:style=Regular:size=12:antialias=true
|
||||||
bar_action = ~/.config/spectrwm/baraction.sh
|
bar_action = ~/.config/spectrwm/baraction.sh
|
||||||
bar_action_expand = 1
|
bar_action_expand = 1
|
||||||
bar_justify = left
|
bar_justify = left
|
||||||
|
@ -108,7 +108,7 @@ gaps inner 5
|
|||||||
# smart_gaps on
|
# smart_gaps on
|
||||||
|
|
||||||
# title bar
|
# title bar
|
||||||
font Sarasa Fixed J 12
|
font Sarasa Mono J 12
|
||||||
titlebar_border_thickness 0
|
titlebar_border_thickness 0
|
||||||
titlebar_padding 11 1
|
titlebar_padding 11 1
|
||||||
|
|
||||||
@ -126,9 +126,9 @@ seat seat0 xcursor_theme Breeze_Snow 24
|
|||||||
exec_always {
|
exec_always {
|
||||||
gsettings set org.gnome.desktop.interface gtk-theme 'Arc-Dark'
|
gsettings set org.gnome.desktop.interface gtk-theme 'Arc-Dark'
|
||||||
gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark'
|
gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark'
|
||||||
# gsettings set org.gnome.desktop.interface document-font-name 'Fira Sans 10'
|
# gsettings set org.gnome.desktop.interface document-font-name 'Iosevka Aile 10'
|
||||||
# gsettings set org.gnome.desktop.interface font-name 'DejaVu Sans 10'
|
# gsettings set org.gnome.desktop.interface font-name 'Iosevka Slab 10'
|
||||||
# gsettings set org.gnome.desktop.interface monospace-font-name 'Sarasa Fixed J 10'
|
# gsettings set org.gnome.desktop.interface monospace-font-name 'Sarasa Mono J 10'
|
||||||
gsettings set org.gnome.desktop.interface cursor-theme 'Breeze_Snow'
|
gsettings set org.gnome.desktop.interface cursor-theme 'Breeze_Snow'
|
||||||
gsettings set org.gnome.desktop.interface cursor-size '24'
|
gsettings set org.gnome.desktop.interface cursor-size '24'
|
||||||
}
|
}
|
||||||
|
@ -2,5 +2,5 @@ daemonize
|
|||||||
ignore-empty-password
|
ignore-empty-password
|
||||||
color=000000
|
color=000000
|
||||||
image=~/Pictures/Wallpapers/Elan3.png
|
image=~/Pictures/Wallpapers/Elan3.png
|
||||||
font=Sarasa Fixed J
|
font=Sarasa Mono J
|
||||||
font-size=14
|
font-size=14
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
#waybar {
|
#waybar {
|
||||||
background: @background;
|
background: @background;
|
||||||
color: @light;
|
color: @light;
|
||||||
font-family: Iosevka Nerd Font, Sarasa Fixed J;
|
font-family: Iosevka Nerd Font, Sarasa Mono J;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
@ -88,7 +88,7 @@
|
|||||||
#waybar {
|
#waybar {
|
||||||
background: @background;
|
background: @background;
|
||||||
color: @light;
|
color: @light;
|
||||||
font-family: Iosevka Nerd Font, Sarasa Fixed J;
|
font-family: Iosevka Nerd Font, Sarasa Mono J;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#window {
|
#window {
|
||||||
font-family: Sarasa Fixed J;
|
font-family: Sarasa Mono J;
|
||||||
font-size: 14pt;
|
font-size: 14pt;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border: 2px solid @blue;
|
border: 2px solid @blue;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
set font "Sarasa Fixed J 12"
|
set font "Sarasa Mono J 12"
|
||||||
|
|
||||||
# set recolor-reverse-video "true"
|
# set recolor-reverse-video "true"
|
||||||
# set recolor "true"
|
# set recolor "true"
|
||||||
|
10
setup/cbonsai.sh
Executable file
10
setup/cbonsai.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# You need ncurses-devel
|
||||||
|
|
||||||
|
git clone https://gitlab.com/jallbrit/cbonsai
|
||||||
|
cd cbonsai || exit
|
||||||
|
|
||||||
|
make PREFIX=$HOME/.local install
|
||||||
|
|
||||||
|
cd ..
|
Loading…
Reference in New Issue
Block a user