SwayNotificationCenter icon indicating copy to clipboard operation
SwayNotificationCenter copied to clipboard

Notification alignments

Open JaKooLit opened this issue 1 year ago • 2 comments

Describe the bug I couldnt figure out a way to center the notifications. Including warping of the messages to fit into the notification window.

A help or guide where and which config should I edit.

Expected behavior center of notification text

Screenshots Screenshot_05-Jul_10-33-56_5195 Screenshot_05-Jul_10-34-14_31864

Desktop (please complete the following information):

  • OS: Gentoo, Arch Linux, Fedora

Additional context Just wanted to know where should I edit to center the notification text

JaKooLit avatar Jul 05 '24 01:07 JaKooLit

did you find any solutions?q edit: i just went through the gtk docs and it seems like there is no css rule for text-align / Justify center

psynyde avatar Sep 01 '24 01:09 psynyde

Unfortunately no.. I gave up actually cause what ever I change on configs or css, I couldnt figure out.

JaKooLit avatar Sep 03 '24 06:09 JaKooLit

Sadly GTK doesn't support setting text justification through CSS :/

But I'll push a change to center the title/summary vertically if the body is empty :)

ErikReider avatar Mar 02 '25 15:03 ErikReider