summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-20 13:29:12 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-20 13:29:12 -0800
commit2b54931beee353f294fb9c1ffa0cb331d3a44181 (patch)
tree56d49c2d35ca3d7a255f56aed93e313abe54dc8d /emacs/custom
parentorg: new capture for bookmarks (diff)
downloademacs.d-2b54931beee353f294fb9c1ffa0cb331d3a44181.tar.gz
ui: set proper font size when running with pgkt
As I'm slowly moving to wayland for the X server, I need to add pgkt to
the possible list of window system (pgkt == pure gtk).
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/fcuny-ui.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/custom/fcuny-ui.el b/emacs/custom/fcuny-ui.el
index e7b0019..9b255f6 100644
--- a/emacs/custom/fcuny-ui.el
+++ b/emacs/custom/fcuny-ui.el
@@ -35,8 +35,8 @@
       (setq ns-use-native-fullscreen nil))
     (when (boundp 'mac-allow-anti-aliasing)
       (setq mac-allow-anti-aliasing t)))
-  (when (memq window-system '(x))
-    (set-frame-font "Source Code Pro-11")
+  (when (memq window-system '(x pgtk))
+    (set-frame-font "Source Code Pro-12")
     ;; this is a fall back in the case we have Unicode characters.
     ;; For example, with this settings, the following source is
     ;; rendered correctly 😇 😀 and 🤢