diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2020-11-22 04:20:04 +0300 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2020-11-22 15:45:32 +0000 |
commit | d9fa8b1f7f3ef95a48f180a3eef408cf9582e7eb (patch) | |
tree | 900af0f6148eef6142fcf46742666b7ae7755f41 | |
parent | 2d781b5e38ab749908f03fbfacddf75bca9ff14c (diff) | |
download | alacritty-d9fa8b1f7f3ef95a48f180a3eef408cf9582e7eb.tar.gz alacritty-d9fa8b1f7f3ef95a48f180a3eef408cf9582e7eb.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.rs | 4 |
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 { |