Forked from alepmaros/awesomewm_spotify_notification_fix
Last active
April 23, 2018 01:00
-
-
Save dubcl/301312f114417b3c31c594c8ec63a50b to your computer and use it in GitHub Desktop.
Change the size of the Spotify notification on awesomewm 4.x
This file contains 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