You are not logged in.

#1 2013-11-03 18:41:04

xorgx3
Member
From: Poland
Registered: 2011-11-29
Posts: 197

[SOLVED]Awesome copycat widget markup and textbox.lua

Hi!
I've got a problem with AwesomeWM. I was using https://github.com/copycat-killer/aweso … .blackburn this rc.lua before. Today I want modern a little with new changes(use lain).

But when i try add this code:

-- MPD
mpdwidget = lain.widgets.mpd({
    settings = function()
        mpd_notification_preset.fg = white
        artist = mpd_now.artist .. " "
        title  = mpd_now.title  .. " "

        if mpd_now.state == "pause" then
            artist = "mpd "
            title  = "paused "
        elseif mpd_now.state == "stop" then
            artist = ""
            title  = ""
        end

        widget:set_markup(markup(gray, artist) .. markup(white, title))
    end
})

I've got an error:

/usr/share/awesome/lib/wibox/widget/textbox.lua:61: value of foreground attribute on span tag on line 1 could not be parsed should be a color specification 

I've got installed awesome-git and all dependencies.


EDIT:
I fix this myself.

Last edited by xorgx3 (2013-11-04 08:04:28)

Offline

#2 2014-01-03 17:51:10

steffenomak
Member
Registered: 2010-08-23
Posts: 11

Re: [SOLVED]Awesome copycat widget markup and textbox.lua

So how did you fix it? I just encountered this problem

Offline

Board footer

Powered by FluxBB