Created
January 26, 2017 16:55
-
-
Save alepmaros/847020a2e40972e178648a4dc2288e83 to your computer and use it in GitHub Desktop.
Change the size of the Spotify notification on awesomewm 4.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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