From: Amin Bandali Date: Wed, 23 Nov 2022 02:20:49 +0000 (-0500) Subject: Set font to Source Code Pro Medium 10.5 across the board X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/29b4e620468ca8163721b54b045fd4a576c7fca8 Set font to Source Code Pro Medium 10.5 across the board --- 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"