lcpz / lain

Awesome WM complements
GNU General Public License v2.0
1.06k stars 213 forks source link

Calendar is not being displayed. #446

Open sprnza opened 4 years ago

sprnza commented 4 years ago

I've tested with the default config adding just two lines:

local lain = require("lain")
cal = lain.widget.cal({attach_to = {mytextclock}})

and only the icon is being displayed.

dell ➜  ~ pacman -Qs lain-git
local/lain-git 1707.71ca1bd-1

dell ➜  ~ awesome -v
awesome v4.3-530-g76f8c1177 (Too long)
 • Compiled against Lua 5.3.5 (running with Lua 5.3)
 • D-Bus support: yes
 • xcb-errors support: no
 • execinfo support: yes
 • xcb-randr version: 1.6
 • LGI version: 0.9.2
sprnza commented 4 years ago

And it works here:

dell ➜  ~ awesome -v
awesome v4.3 (Too long)
 • Compiled against Lua 5.3.5 (running with Lua 5.3)
 • D-Bus support: ✔
 • execinfo support: ✔
 • xcb-randr version: 1.6
 • LGI version: 0.9.2
sprnza commented 4 years ago

It's because of deprecation of naughty's text object

ctsiaousis commented 4 years ago

Is there any workaround?

quizzmaster commented 4 years ago

@sprnza Where did you find the information about the text field being deprecated in the notification preset?

@ctsiaousis I made a PR (#457) with my workaround.

negativeExponent commented 4 years ago

PR https://github.com/lcpz/lain/pull/457 worked on my end (assuming this was about the calendar only showing current date in big characters)