From d9fa8b1f7f3ef95a48f180a3eef408cf9582e7eb 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