kev392
Crew Member
Posts: 356
Likes: 474
|
Post by kev392 on Aug 11, 2021 6:39:55 GMT
I updated the new themes. Moksha Arc Green is one I've been using a lot. The date at the bottom right got smaller though. It was pretty small to begin with, but now it's barely readable. I already have the pixel height set to 40 which is higher than what I would normally want. I'd prefer 36. I also can't figure out how to drop the leading 0 from clock, like when it's 1 am or 1 pm. I've included a screenshot.
|
|
|
Post by thewaiter on Aug 11, 2021 8:01:38 GMT
Hello
Dropping leading 0 is not possible without changing edj script. So you as user are not able to do it. I can suggest using tclock module instead and trying to play with strftime parameters. Date text is a real annoyance. The gadget is made the way its size is related to the upper line (time). The second line (date) respects the gadget size. It mean the more text you will add via strftime, the smaller text will be shown and vice versa.
Stefan
|
|
enigma9o7
Crew Member
Posts: 1,427
Likes: 1,336
|
Post by enigma9o7 on Aug 11, 2021 16:03:02 GMT
I updated the new themes. Moksha Arc Green is one I've been using a lot. The date at the bottom right got smaller though. It was pretty small to begin with, but now it's barely readable. I already have the pixel height set to 40 which is higher than what I would normally want. I'd prefer 36. I also can't figure out how to drop the leading 0 from clock, like when it's 1 am or 1 pm. I've included a screenshot. View Attachment
As the waiter explained, reducing the length of your date string is one way to increase it's size.
For example, removing the commas, leading zeros, and year would be shorter, i.e. "%A %-d %B". Or abbreviate some stuff like "%a%-d%b" is even shorter than that.
man strftime
|
|
kev392
Crew Member
Posts: 356
Likes: 474
|
Post by kev392 on Aug 12, 2021 5:12:12 GMT
Hello Dropping leading 0 is not possible without changing edj script. So you as user are not able to do it. I can suggest using tclock module instead and trying to play with strftime parameters. Date text is a real annoyance. The gadget is made the way its size is related to the upper line (time). The second line (date) respects the gadget size. It mean the more text you will add via strftime, the smaller text will be shown and vice versa. Stefan Is there any way to reduce the digital clock size. I don't need it that large. If reducing its size will increase the size of the date, that would be perfect. I will see what I can do with tclock. I can't find the strftime manual on Bodhi 6 but I have a webpage saved that shows the commands. So far reducing the length of day and getting rid of the year has no effect on its size.
|
|
|
Post by thewaiter on Aug 12, 2021 5:41:23 GMT
Reducing time size is possible of course. Switch to 24hr mode (without am/pm) Unfortunately digits are png pictures placed in gadget (gadcon) area on firm positions (ratio calculated for each time digit 1/16 for 1st digit, 2/16 for 2nd one etc.). It is defined in edc clock file. Changing gadcon size according date length is possible but will have a negative side effect. Time line will be spread hugely in whole gadcon area. I could try to play with this module again. But I already spent ages on it to be at least in shape it is now. So, no promises... man7.org/linux/man-pages/man3/strftime.3.htmlStefan EDIT: I installed tclock module to check its condition. I have found a bug. Gadget did not respect size according the strftime new config after apply. Issue fixed. EDIT: ylee could you update tclock package in repo pls? THX. If not, I will do in the evening. Stefan
|
|
|
Post by ylee on Aug 12, 2021 16:03:50 GMT
... EDIT: I installed tclock module to check its condition. I have found a bug. Gadget did not respect size according the strftime new config after apply. Issue fixed. EDIT: ylee could you update tclock package in repo pls? THX. If not, I will do in the evening. Stefan Update in BL6 repos. Will do BL5 within the next 20 minutes or so Thanks for the bug report and fix so fast
|
|
kev392
Crew Member
Posts: 356
Likes: 474
|
Post by kev392 on Aug 13, 2021 5:59:20 GMT
I had much better luck with the tclock module. It gave me the ability to adjust the size of both clock and date. Just had to fiddle with the color scheme. Default was white, but after a few minutes I got it pretty green. Clock is %l:%M %p (Lowercase L, an Uppercase I leaves the leading 0) Date is %A %B %d, %Y Attachments:
|
|
|
Post by thewaiter on Aug 13, 2021 6:24:02 GMT
I am glad you have sorted it out. Yes, I added an ability of changing text color for the theme purposes Unfortunately this module lacks calendar which is possible to solve with calendar module. Enjoy Stefan
|
|