summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2020-11-22 04:20:04 +0300
committerGitHub <noreply@github.com>2020-11-22 01:20:04 +0000
commitda6f0a505e0d7da181b056c52f42b5a7f0bf29ed (patch)
treeeae8223708eae40996e785e8a95aa510f20aa0a4
parent768f9e22854231a95b96fea58c9e1a56bbc5ec89 (diff)
downloadalacritty-da6f0a505e0d7da181b056c52f42b5a7f0bf29ed.tar.gz
alacritty-da6f0a505e0d7da181b056c52f42b5a7f0bf29ed.zip
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.
-rw-r--r--alacritty/src/wayland_theme.rs4
1 files changed, 4 insertions, 0 deletions
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 {