Update with mpris, Macchiato catppuccin colors and awesome_switcher

This commit is contained in:
Hydroxycarbamide 2022-09-14 19:25:13 +02:00
parent 64e9b9a3cb
commit 8d5ee408cf
22 changed files with 1038 additions and 79 deletions

View file

@ -44,17 +44,17 @@ naughty.connect_signal(
"request::display",
function(n)
if n.urgency == "critical" then
n.title = string.format("<span foreground='%s' font='Google Sans, ExtraBold 12'>%s</span>",
n.title = string.format("<span foreground='%s' font='Ubuntu, ExtraBold 12'>%s</span>",
cat["Red"], n.title) or ""
n.message = string.format("<span foreground='%s' font='Google Sans 12'>%s</span>", cat["Red"], n.message) or ""
n.app_name = string.format("<span foreground='%s' font='Google Sans, ExtraBold 12'>%s</span>", cat["Red"], n.app_name) or ""
n.message = string.format("<span foreground='%s' font='Ubuntu 12'>%s</span>", cat["Red"], n.message) or ""
n.app_name = string.format("<span foreground='%s' font='Ubuntu, ExtraBold 12'>%s</span>", cat["Red"], n.app_name) or ""
n.bg = cat["Surface0"]
else
n.title = string.format("<span foreground='%s' font='Google Sans, ExtraBold 12'>%s</span>",
n.title = string.format("<span foreground='%s' font='Ubuntu, ExtraBold 12'>%s</span>",
color["White"], n.title) or ""
n.message = string.format("<span foreground='%s' font='Google Sans 12'>%s</span>", cat['Text'], n.message) or ""
n.message = string.format("<span foreground='%s' font='Ubuntu 12'>%s</span>", cat['Text'], n.message) or ""
n.bg = cat["Surface0"]
n.timeout = n.timeout or 3
n.timeout = n.timeout or 5
end
local use_image = false
@ -117,7 +117,7 @@ naughty.connect_signal(
{
{
id = "text_role",
font = "Google Sans, Regular 12",
font = "Ubuntu, Regular 12",
widget = wibox.widget.textbox
},
id = "centered",