chore: remove spotify

This commit is contained in:
Wilfried OLLIVIER 2025-01-13 08:27:50 +01:00
parent 8f1f7fdcd9
commit 72c39d9c46

14
rc.lua
View file

@ -24,7 +24,6 @@ require("awful.hotkeys_popup.keys")
-- utils is the base of widgets
local yawl = require("yawl.base")
local date = require("yawl.widgets.date")
local spotify = require("yawl.widgets.spotify")
local battery = require("yawl.widgets.battery")
-- {{{ Error handling
@ -239,7 +238,6 @@ awful.screen.connect_for_each_screen(function(s)
layout = wibox.layout.fixed.horizontal,
wibox.widget.systray(),
yawl.separator(),
spotify(),
battery(),
date(),
},
@ -643,18 +641,6 @@ end
-- }}}
-- {{{ Notifications
-- Make Spotify notifications smaller
naughty.config.presets.spotify = {
callback = function(args)
return true
end,
height = 100,
width = 400,
icon_size = 90,
}
table.insert(naughty.dbus.config.mapping, { { appname = "Spotify" }, naughty.config.presets.spotify })
naughty.config.padding = 15
naughty.config.spacing = 10
naughty.config.defaults.border_width = 10