You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to use the font Anurati for the date format (%A) in background clock and I don't know how to make it all in uppercase. I also need each letter to have a space from each other.
As you can see, just placing %A doesn't showcase the full design of uppercase fonts like Anurati. I guess GNOME just provides the default lowercase fonts for custom fonts that don't have any?
Ideally, I would love to see it like this with a space in between each letter.
If there are no spaces, the Anurati font would look like this.
I would really like an option in the extension for these specific use cases. If there are workarounds in the meantime, I'd like to know about it.
The text was updated successfully, but these errors were encountered:
I am using GLib.DateTime.format which can't do things like this. You would need a function to return a custom string based on the day.
in ~/.local/share/gnome-shell/extensions/widgets@aylur/widgets/backgroundClock.js at line 165
_updateClock(){letclock=GLib.DateTime.new_now_local().format(this._clockFormat);// let date = GLib.DateTime.new_now_local().format(this._dateFormat);this._clock.set_text(clock);// this._date.set_text(date);this._date.set_text(this._formatDay());}_formatDay(){//number between 1-7 as stringletday=GLib.DateTime.new_now_local().format('%u');switch(day){case'1': return'M O N D A Y';case'2': return'T U E S D A Y';//default: return'';}}
Hello, I'm trying to use the font Anurati for the date format (%A) in background clock and I don't know how to make it all in uppercase. I also need each letter to have a space from each other.
As you can see, just placing %A doesn't showcase the full design of uppercase fonts like Anurati. I guess GNOME just provides the default lowercase fonts for custom fonts that don't have any?

Ideally, I would love to see it like this with a space in between each letter.

If there are no spaces, the Anurati font would look like this.

I would really like an option in the extension for these specific use cases. If there are workarounds in the meantime, I'd like to know about it.
The text was updated successfully, but these errors were encountered: