From da6f0a505e0d7da181b056c52f42b5a7f0bf29ed Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Sun, 22 Nov 2020 04:20:04 +0300 Subject: Increase font size in CSDs on Wayland Winit changed the default font size for CSDs from 17pt to 11pt, this patch reverts that since it is too small to be readable. --- alacritty/src/wayland_theme.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/alacritty/src/wayland_theme.rs b/alacritty/src/wayland_theme.rs index b9c4381e..c18044f9 100644 --- a/alacritty/src/wayland_theme.rs +++ b/alacritty/src/wayland_theme.rs @@ -67,6 +67,10 @@ impl WaylandTheme for AlacrittyWaylandTheme { (_, Button::Close) => self.hovered_close_icon, } } + + fn font(&self) -> Option<(String, f32)> { + Some((String::from("sans-serif"), 17.)) + } } trait IntoARGBColor { -- cgit v1.2.3-54-g00ecf