diff options
author | Amin Bandali <bandali@gnu.org> | 2022-11-22 21:20:49 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2022-11-22 21:20:49 -0500 |
commit | 29b4e620468ca8163721b54b045fd4a576c7fca8 (patch) | |
tree | b29847326e8cb455eb05f92d3fa15feb30b279fa | |
parent | e5b52a9a73e8c7018d20107eb7009296e2dae155 (diff) | |
download | configs-29b4e620468ca8163721b54b045fd4a576c7fca8.tar.gz configs-29b4e620468ca8163721b54b045fd4a576c7fca8.tar.xz configs-29b4e620468ca8163721b54b045fd4a576c7fca8.zip |
Set font to Source Code Pro Medium 10.5 across the board
-rw-r--r-- | .Xresources.d/emacs | 7 | ||||
-rw-r--r-- | .Xresources.d/xterm | 13 | ||||
-rw-r--r-- | .config/i3/config | 8 | ||||
-rw-r--r-- | .emacs.d/init.el | 9 | ||||
-rwxr-xr-x | .local/bin/dmenu-light | 2 | ||||
-rwxr-xr-x | .local/bin/dmenu-pamixer | 2 |
6 files changed, 17 insertions, 24 deletions
diff --git a/.Xresources.d/emacs b/.Xresources.d/emacs index 6241796..287cc0d 100644 --- a/.Xresources.d/emacs +++ b/.Xresources.d/emacs @@ -3,10 +3,5 @@ Emacs.toolBar: off Emacs.verticalScrollBars: off Emacs.cursorBlink: off Emacs.FontBackend: ftcrhb,x -! Emacs.FontBackend: xft,x -! Emacs.font: Inconsolata-18 -! Emacs.font: Inconsolata-16.5 Emacs.font: Source Code Pro Medium-10.5 -!Emacs.font: Source Code Pro Medium-14 -! Emacs.font: Source Code Pro Medium:size=14 -! Emacs.font: Drafting Mono:size=18 +! other sizes: 13, 14 diff --git a/.Xresources.d/xterm b/.Xresources.d/xterm index e6e54e0..b0af6ac 100644 --- a/.Xresources.d/xterm +++ b/.Xresources.d/xterm @@ -6,13 +6,10 @@ *scrollTtyOutput: false *saveLines: 100000 -!*faceName: Inconsolata -!*faceSize: 18 -!*faceSize: 16.5 -!*renderFont: true -!*faceName: Source Code Pro -!*faceSize: 10 -!*renderFont: true -*VT100.utf8Fonts.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 +*renderFont: true +*faceName: Source Code Pro Medium +*faceSize: 10.5 +! other sizes: 13, 14 +!*VT100.utf8Fonts.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 !*VT100.utf8Fonts.font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 !*VT100.utf8Fonts.font: -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1 diff --git a/.config/i3/config b/.config/i3/config index 65671d6..95e5be3 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -8,8 +8,8 @@ set $mod2 Mod1 set $mod3 Mod3 # window title and bar font (unless specified differently in 'bar {}' -# font pango:Source Code Pro 9.5 -font pango:Inconsolata 11.5 +#font pango:Source Code Pro 9.5 +font pango:Source Code Pro Medium 10.5 # font -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1 # font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 @@ -30,8 +30,8 @@ bindsym $mod+Shift+w kill #bindsym --release $mod+Shift+x exec xkill # launcher and pass -bindsym $mod+space exec dmenu_run -bindsym $mod+backslash exec passmenu --type +bindsym $mod+space exec dmenu_run -fn 'Source Code Pro Medium-10.5' +bindsym $mod+backslash exec passmenu --type -fn 'Source Code Pro Medium-10.5' # brightness bindsym $mod+apostrophe exec dmenu-light # brightness chooser diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 525348d..a96bfdc 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -146,10 +146,9 @@ (defalias 'yes-or-no-p #'y-or-n-p) (when (display-graphic-p) + ;; (set-frame-font "Source Code Pro-10.5:weight=medium" nil t) + ;; (set-frame-font "FreeSans" nil t) (set-fontset-font t 'arabic "Vazir")) -;; ;; (set-frame-font "Drafting Mono-14:weight=light" nil t) -;; (set-frame-font "Drafting Mono:pixelsize=16" nil t) -;; (set-face-attribute 'bold nil :weight 'semi-bold) ;;;; Elisp-level customizations @@ -316,7 +315,9 @@ (when (display-graphic-p) (with-eval-after-load 'faces (let ((grey "#e7e7e7")) - (set-face-attribute 'fixed-pitch nil :family "Source Code Pro") + (set-face-attribute 'fixed-pitch nil + :font "Source Code Pro" + :weight 'medium) (set-face-attribute 'mode-line nil :background grey :inherit 'fixed-pitch)))) diff --git a/.local/bin/dmenu-light b/.local/bin/dmenu-light index 988a073..614281c 100755 --- a/.local/bin/dmenu-light +++ b/.local/bin/dmenu-light @@ -1,4 +1,4 @@ #!/bin/sh cur=$(light -G) -val=$(dmenu -p "brightness ($cur):" < /dev/null) +val=$(dmenu -fn 'Source Code Pro Medium-10.5' -p "brightness ($cur):" < /dev/null) [ -n "$val" ] && light -S "$val" diff --git a/.local/bin/dmenu-pamixer b/.local/bin/dmenu-pamixer index c830e9d..cd5926a 100755 --- a/.local/bin/dmenu-pamixer +++ b/.local/bin/dmenu-pamixer @@ -1,4 +1,4 @@ #!/bin/sh cur=$(pamixer --get-volume) -val=$(dmenu -p "volume ($cur):" < /dev/null) +val=$(dmenu -fn 'Source Code Pro Medium-10.5' -p "volume ($cur):" < /dev/null) [ -n "$val" ] && pamixer --set-volume "$val" |