Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dubcl/301312f114417b3c31c594c8ec63a50b to your computer and use it in GitHub Desktop.
Save dubcl/301312f114417b3c31c594c8ec63a50b to your computer and use it in GitHub Desktop.
Change the size of the Spotify notification on awesomewm 4.x
-- Changing spotify notifications.
naughty.config.presets.spotify = {
-- if you want to disable Spotify notifications completely, return false
callback = function(args)
return true
end,
-- Adjust the size of the notification
height = 100,
width = 400,
-- Guessing the value, find a way to fit it to the proper size later
icon_size = 90
}
table.insert(naughty.dbus.config.mapping, {{appname = "Spotify"}, naughty.config.presets.spotify})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment