You are not logged in.

#1 2017-08-07 23:48:54

nicooga
Member
From: Buenos Aires, Argentina
Registered: 2013-04-22
Posts: 10

Awesome WM: Make all system notifications use a fixed image size

TL;DR: system notifications with images display the image in it's original size, yielding weird sized notifications. How to fix this?

Some screenshots to ilustrate my point:
http://i.imgur.com/FHNq3DW.png
http://i.imgur.com/EZEyubK.png

---

Hi there arch folk.

I know naughty is the go-to library for handling notifications, but I've been searching my Awesome config for some piece of code responsible of handling notifications and found nothing. Therefore, I assume notification handling is rigged into AwesomeWM somehow.

Is there some way I can config Awesome to display notification images in a fixed size?
Here is my config: https://github.com/nicooga/awesome_config

I've tried adding this to my theme.lua:

theme.notification_height = 10
theme.notification_width = 10

... following what's said here
https://stackoverflow.com/questions/454 … ifications
https://awesomewm.org/apidoc/documentat … tories.org

I'm on a fresh arch installation, running Awesome 4.2:

$ awesome -v
awesome v4.2 (Human after all)
 • Compiled against Lua 5.3.4 (running with Lua 5.3)
 • D-Bus support: ✔
 • execinfo support: ✔
 • xcb-randr version: 1.5
 • LGI version: 0.9.1

Hope anyone here has a lead on what to do.

Last edited by nicooga (2017-08-08 16:19:09)

Offline

#2 2017-08-08 00:05:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Awesome WM: Make all system notifications use a fixed image size

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-08-17 11:30:56

KhaimovMR
Member
Registered: 2019-05-30
Posts: 4

Re: Awesome WM: Make all system notifications use a fixed image size

I think we wouldn't get away this issue w/o some custom coding to the naughty.notify module.
If you found the solution - post here, pls. I'll try to fix it myself meanwhile.

Offline

Board footer

Powered by FluxBB