Skip to content

Instantly share code, notes, and snippets.

@alepmaros
Created January 26, 2017 16:55
Show Gist options
  • Save alepmaros/847020a2e40972e178648a4dc2288e83 to your computer and use it in GitHub Desktop.
Save alepmaros/847020a2e40972e178648a4dc2288e83 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