You are not logged in.

#1 2018-02-02 16:20:19

xVlaze
Member
Registered: 2017-01-08
Posts: 10

Is there a way to resize this notification?

I tend to listen to a lot of music on my laptop, which causes 'Now Playing' notifications to be displayed regularly. However, I find they are way too big for my screen, often disturbing my workflow.

I think I am using libnotify, or at least I'm able to send custom notifications to my own desktop with that library from the command line; unfortunately, I can't find any option to control the size of music notifications (Spotify in this case). Is there a way to do this or shall I install a replacement package?

Extra technical info: I am using AwesomeWM.

SCREENSHOT: https://i.stack.imgur.com/bCKI8.png

Offline

#2 2018-02-02 17:58:31

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Is there a way to resize this notification?

Ideally, the music player itself should have an option to adjust the notification settings. I doubt if other music players will display the same behaviour.

You might want to disable the notifications altogether: https://wiki.archlinux.org/index.php/sp … ifications

Offline

#3 2018-02-02 18:52:25

xVlaze
Member
Registered: 2017-01-08
Posts: 10

Re: Is there a way to resize this notification?

x33a wrote:

Ideally, the music player itself should have an option to adjust the notification settings. I doubt if other music players will display the same behaviour.

You might want to disable the notifications altogether: https://wiki.archlinux.org/index.php/sp … ifications

Spotify?

Offline

#4 2018-02-02 19:05:13

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: Is there a way to resize this notification?

https://github.com/awesomeWM/awesome/issues/1862

For the current release version something like this in rc.lua seems to be the way to go.

naughty.config.defaults['icon_size'] = 100

Maybe you could also use naughty.config.notify_callback to set a icon size depending on the specific notification.


xVlaze wrote:

Spotify?

What? You asked about changing notifications in spotify, x33a mentioned a way to disable only spotify notifications.

Last edited by progandy (2018-02-02 19:07:52)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2018-02-02 23:38:43

xVlaze
Member
Registered: 2017-01-08
Posts: 10

Re: Is there a way to resize this notification?

progandy wrote:

For the current release version something like this in rc.lua seems to be the way to go.

naughty.config.defaults['icon_size'] = 100

EXCELLENT! Works like a charm. Thank you very much!

Offline

Board footer

Powered by FluxBB