Separate Font & Size for Notifications
This commit is contained in:
@@ -868,6 +868,9 @@ local border_size = dpi(2)
|
|||||||
local menu_height = dpi(20)
|
local menu_height = dpi(20)
|
||||||
local menu_width = dpi(200)
|
local menu_width = dpi(200)
|
||||||
local taglist_square_size = dpi(5)
|
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_border_color = xrdb.color2
|
||||||
local notification_shape = shape.rounded_rect
|
local notification_shape = shape.rounded_rect
|
||||||
local notification_max_width = dpi(700)
|
local notification_max_width = dpi(700)
|
||||||
@@ -902,7 +905,7 @@ theme.gap_single_client = true
|
|||||||
** Notifications
|
** Notifications
|
||||||
|
|
||||||
#+BEGIN_SRC lua :tangle theme.lua
|
#+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_bg = xrdb.background
|
||||||
theme.notification_fg = xrdb.foreground
|
theme.notification_fg = xrdb.foreground
|
||||||
theme.notification_border_width = border_size
|
theme.notification_border_width = border_size
|
||||||
|
@@ -16,6 +16,9 @@ local border_size = dpi(2)
|
|||||||
local menu_height = dpi(20)
|
local menu_height = dpi(20)
|
||||||
local menu_width = dpi(200)
|
local menu_width = dpi(200)
|
||||||
local taglist_square_size = dpi(5)
|
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_border_color = xrdb.color2
|
||||||
local notification_shape = shape.rounded_rect
|
local notification_shape = shape.rounded_rect
|
||||||
local notification_max_width = dpi(700)
|
local notification_max_width = dpi(700)
|
||||||
@@ -42,7 +45,7 @@ theme.border_focus = theme.bg_focus
|
|||||||
theme.border_marked = xrdb.color10
|
theme.border_marked = xrdb.color10
|
||||||
theme.gap_single_client = true
|
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_bg = xrdb.background
|
||||||
theme.notification_fg = xrdb.foreground
|
theme.notification_fg = xrdb.foreground
|
||||||
theme.notification_border_width = border_size
|
theme.notification_border_width = border_size
|
||||||
|
Reference in New Issue
Block a user