Skip to content

Commit a85b0e4

Browse files
committed
[hidpi] Rely on (X)Wayland scaling
I am currently running [sway-hidpi-git][1] on my laptop that applies [a patch][2] for managing XWayland scaling at the compositor level. This works well enough for me except for the cursor size issue outlined in the pull request. It has proven to be much more stable than the various environment variable hacks. It's important to note that the Emacs text scale also requires the GTK build of Emacs so that it no longer runs under XWayland. I am using the [emacs-pgtk-native-comp-git][3] package for this. [1]: https://aur.archlinux.org/packages/sway-hidpi-git/ [2]: swaywm/sway#5090 [3]: https://aur.archlinux.org/packages/emacs-pgtk-native-comp-git/
1 parent 71bb4cb commit a85b0e4

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

tag-emacs/config/doom/config.org

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ The variable pitch font is for when I'm writing in Org. I really enjoy the varia
8989
(let ((font-family (if IS-LINUX "FuraCode Nerd Font" "Fira Code"))
9090
(font-size (pcase (system-name)
9191
("michael-herold" 24) ;; Work laptop - Macbook Pro
92-
("ramuh" 32) ;; Personal laptop - 4K
9392
("zeromus" 16) ;; Personal desktop - 1080p
9493
(_ 16)))) ;; Safe fallback
9594
(setq doom-font (font-spec :family font-family :size font-size))
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
QT_SCALE_FACTOR=2

0 commit comments

Comments
 (0)