lain icon indicating copy to clipboard operation
lain copied to clipboard

Calendar is not being displayed.

Open sprnza opened this issue 5 years ago • 5 comments

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 avatar Nov 28 '19 05:11 sprnza

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 avatar Nov 28 '19 05:11 sprnza

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

sprnza avatar Dec 15 '19 17:12 sprnza

Is there any workaround?

ctsiaousis avatar Apr 05 '20 16:04 ctsiaousis

@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.

quizzmaster avatar Jun 10 '20 12:06 quizzmaster

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)

negativeExponent avatar Jul 07 '20 04:07 negativeExponent