From 636f222881dd0427a82908cf0afb0e3f828048cd Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Mon, 27 Mar 2023 08:40:47 -0400 Subject: [PATCH] Separate Font & Size for Notifications --- README.org | 5 ++++- theme.lua | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 37e674a..80928f6 100644 --- a/README.org +++ b/README.org @@ -868,6 +868,9 @@ local border_size = dpi(2) local menu_height = dpi(20) local menu_width = dpi(200) local taglist_square_size = dpi(5) + +local notification_font = "Ubuntu Nerd Font" +local notification_font_size = dpi(12) local notification_border_color = xrdb.color2 local notification_shape = shape.rounded_rect local notification_max_width = dpi(700) @@ -902,7 +905,7 @@ theme.gap_single_client = true ** Notifications #+BEGIN_SRC lua :tangle theme.lua -theme.notification_font = font +theme.notification_font = notification_font .. " " .. tostring(notification_font_size) theme.notification_bg = xrdb.background theme.notification_fg = xrdb.foreground theme.notification_border_width = border_size diff --git a/theme.lua b/theme.lua index dd8d282..63ed095 100644 --- a/theme.lua +++ b/theme.lua @@ -16,6 +16,9 @@ local border_size = dpi(2) local menu_height = dpi(20) local menu_width = dpi(200) local taglist_square_size = dpi(5) + +local notification_font = "Ubuntu Nerd Font" +local notification_font_size = dpi(12) local notification_border_color = xrdb.color2 local notification_shape = shape.rounded_rect local notification_max_width = dpi(700) @@ -42,7 +45,7 @@ theme.border_focus = theme.bg_focus theme.border_marked = xrdb.color10 theme.gap_single_client = true -theme.notification_font = font +theme.notification_font = notification_font .. " " .. tostring(notification_font_size) theme.notification_bg = xrdb.background theme.notification_fg = xrdb.foreground theme.notification_border_width = border_size