-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with calendar.lua in ubuntu 12.04 / 14.04 #49
Comments
I can fix the problem doing this sed previously:
|
You mean modifying the line like this? /usr/bin/cal | sed -r -e "s/_\\x08//g" | sed -r -e "s/(^| )(27)($| )/\1<b><span foreground=\"#000000\" background=\"#aaaaaa\">\2<\/span><\/b>\3/" |
The widget can take custom Try with lain.widgets.calendar:attach(mytextclock, {cal = '/usr/bin/cal | sed -r -e "s/_\\x08//g"'}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! I'm using the calendar.lua in ubuntu 14.04 and i have a issue when the script try to do the sed in the output of /usr/bin/cal for hightlight the current day, take a look to this images:
But when the day is not selected:
This is the sed that tries to do:
Thank you!
The text was updated successfully, but these errors were encountered: