summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2025-01-30 16:30:12 -0500
committerAmin Bandali <bandali@kelar.org>2025-01-30 16:30:12 -0500
commitf44a20aca8c916dd599d92d5b2336eb88b40b8fa (patch)
tree26329c8349401a286c30c8d0539005810a1e9412
parent7b8b021044b9412894207127e0ea78ef9951f5d2 (diff)
downloadconfigs-f44a20aca8c916dd599d92d5b2336eb88b40b8fa.tar.gz
configs-f44a20aca8c916dd599d92d5b2336eb88b40b8fa.tar.xz
configs-f44a20aca8c916dd599d92d5b2336eb88b40b8fa.zip
Some font-related updates
Diffstat (limited to '')
-rw-r--r--.Xresources.d/emacs1
-rw-r--r--.config/fontconfig/fonts.conf5
-rw-r--r--.config/foot/foot.ini4
-rw-r--r--.config/sway/config1
-rw-r--r--.emacs.d/init.el21
5 files changed, 25 insertions, 7 deletions
diff --git a/.Xresources.d/emacs b/.Xresources.d/emacs
index 7bb97f9..424e048 100644
--- a/.Xresources.d/emacs
+++ b/.Xresources.d/emacs
@@ -4,4 +4,5 @@
!Emacs.cursorBlink: off
Emacs.FontBackend: ftcrhb,x
Emacs.font: Source Code Pro Medium-10.5
+!Emacs.font: Inconsolata Medium-12:hinting=true:autohint=true
! other sizes: 13, 14
diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf
index b6f868b..d8f1d26 100644
--- a/.config/fontconfig/fonts.conf
+++ b/.config/fontconfig/fonts.conf
@@ -46,6 +46,11 @@
</prefer>
</alias>
+ <alias>
+ <family>monospace</family>
+ <prefer><family>Source Code Pro</family></prefer>
+ </alias>
+
<match target="pattern">
<test name="lang" compare="contains">
<string>fa</string>
diff --git a/.config/foot/foot.ini b/.config/foot/foot.ini
index df361ca..07c8f2e 100644
--- a/.config/foot/foot.ini
+++ b/.config/foot/foot.ini
@@ -9,7 +9,8 @@ term=xterm-256color
# title=foot
# locked-title=no
-font=Source Code Pro Medium:size=10.5, Apple Color Emoji:size=10.5
+#font=Source Code Pro Medium:size=10, Apple Color Emoji:size=10
+font=Source Code Pro Medium:size=8, Apple Color Emoji:size=10
# font=monospace:size=8
# font-bold=<bold variant of regular font>
# font-italic=<italic variant of regular font>
@@ -29,6 +30,7 @@ font=Source Code Pro Medium:size=10.5, Apple Color Emoji:size=10.5
# initial-window-mode=windowed
# pad=0x0 # optionally append 'center'
# resize-delay-ms=100
+initial-window-size-chars=80x24
# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
diff --git a/.config/sway/config b/.config/sway/config
index f8c3801..9e859bb 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -1,4 +1,5 @@
set $font Source Code Pro Medium 10.5
+# set $font Inconsolata Medium 12
font pango:$font
# super
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 4b5dc0b..841a452 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1,6 +1,6 @@
;;; init.el --- bandali's emacs configuration -*- lexical-binding: t -*-
-;; Copyright (c) 2018-2024 Amin Bandali <bandali@gnu.org>
+;; Copyright (c) 2018-2025 Amin Bandali <bandali@gnu.org>
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -309,14 +309,23 @@ plain variables. This means that `setopt' will execute any
t 'emoji `(,emoji-font . "iso10646-1") nil 'prepend)))
(with-eval-after-load 'faces
(let ((grey "#e7e7e7"))
+ ;; (set-face-attribute 'default nil
+ ;; :font "Source Code Pro"
+ ;; :height 113 ; 130 ; 105
+ ;; :weight 'medium)
+ ;; (set-face-attribute 'fixed-pitch nil
+ ;; :font "Source Code Pro"
+ ;; :weight 'medium)
+ ;; (set-face-attribute 'default nil
+ ;; :font "Inconsolata Medium-12:hinting=true:autohint=true")
+ ;; (set-face-attribute 'fixed-pitch nil
+ ;; :font "Inconsolata Medium-12:hinting=true:autohint=true")
(set-face-attribute 'default nil
- :font "Source Code Pro"
- :height 105 ; 113
- :weight 'medium)
+ :font "Source Code Pro Medium-10.5")
(set-face-attribute 'fixed-pitch nil
- :font "Source Code Pro"
- :weight 'medium)
+ :font "Source Code Pro Medium-10.5")
(set-face-attribute 'mode-line nil
+ :box '(:line-width 2 :style released-button)
:background grey
:inherit 'fixed-pitch))))