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

Is possible to make only the clock font in tray to be bold (or even to change the font)? #276

Closed
blconde opened this Issue Jan 29, 2016 · 12 comments

Comments

Projects
None yet
7 participants
@blconde

blconde commented Jan 29, 2016

I know the 'thickness' of a font can be set in ~/.jwm/theme , ie:

<TrayStyle decorations="flat">
    <Font>Roboto-10:**bold**</Font>

[...]

But if set as it this, all tray fonts, including the Root Menu (if assigned), the TaskList, etc. would become bold.

It would be nice to set only a parameter to a single component of the tray (or whatever you are configuring in JWM), maybe something to set in ~/.jwm/tray like this (the following is 'syntax mock up'):

[...]
< Clock font="Roboto-10:bold" format="%H : %M">

Just an idea.

@holmeslinux

This comment has been minimized.

Show comment
Hide comment
@holmeslinux

holmeslinux Jan 29, 2016

hello @Blonde, interesting this request! not whether it is possible to implement, only Joe can tell us.

it would be nice to have this feature....;)

vlw fwi, Holmes :)

holmeslinux commented Jan 29, 2016

hello @Blonde, interesting this request! not whether it is possible to implement, only Joe can tell us.

it would be nice to have this feature....;)

vlw fwi, Holmes :)

@joewing

This comment has been minimized.

Show comment
Hide comment
@joewing

joewing Feb 2, 2016

Owner

In older versions of JWM, it was possible to specify the font of the clock using the ClockStyle tag. While simplifying the JWM configuration, I removed that ability to make the configuration and code simpler. I suppose I could be persuaded to add the ability back, but I don't personally find it useful.

Another way to accomplish the goal is to use Swallow with xclock (or equivalent).

Owner

joewing commented Feb 2, 2016

In older versions of JWM, it was possible to specify the font of the clock using the ClockStyle tag. While simplifying the JWM configuration, I removed that ability to make the configuration and code simpler. I suppose I could be persuaded to add the ability back, but I don't personally find it useful.

Another way to accomplish the goal is to use Swallow with xclock (or equivalent).

@joewing joewing added the enhancement label Feb 2, 2016

@technosaurus

This comment has been minimized.

Show comment
Hide comment
@technosaurus

technosaurus Feb 2, 2016

Contributor

+1 for restoring some of the removed styles ... I like an LCD style font for my clock, but not for menus, etc...

I also kinda liked having tray-button styles that were different from the tray (it makes the buttons more obvious ... especially with a flat tray and gradient buttons)

For small devices it would be nice to be able to configure the pagerstyle to have different backgrounds per desktop to use as sort of notebook tabs for different app types.

Contributor

technosaurus commented Feb 2, 2016

+1 for restoring some of the removed styles ... I like an LCD style font for my clock, but not for menus, etc...

I also kinda liked having tray-button styles that were different from the tray (it makes the buttons more obvious ... especially with a flat tray and gradient buttons)

For small devices it would be nice to be able to configure the pagerstyle to have different backgrounds per desktop to use as sort of notebook tabs for different app types.

@blconde

This comment has been minimized.

Show comment
Hide comment
@blconde

blconde Feb 2, 2016

Hmmm, interesting.
Sure I can understand that having a simpler syntax for config files is a good thing, but at a cost of loosing some features... and I mean not just to set the clock, but also other elements of JWM tray (even elsewhere, if applicable).

Anyway, this is a thing that could be asked to the community, no?

I mean, this other user @technosaurus (ahaha, pretty nice username) is up to have this feature. Maybe this question I asked here could became a poll (or just a stick question) here in this JWM github page (for a couple of days or a week or so).
Also I could open a poll (or just a thread) in Manjaro JWM sub-forum, there's a few folks there that could give their opinions.

I guess this is the best way I can think how to go in this situation.

blconde commented Feb 2, 2016

Hmmm, interesting.
Sure I can understand that having a simpler syntax for config files is a good thing, but at a cost of loosing some features... and I mean not just to set the clock, but also other elements of JWM tray (even elsewhere, if applicable).

Anyway, this is a thing that could be asked to the community, no?

I mean, this other user @technosaurus (ahaha, pretty nice username) is up to have this feature. Maybe this question I asked here could became a poll (or just a stick question) here in this JWM github page (for a couple of days or a week or so).
Also I could open a poll (or just a thread) in Manjaro JWM sub-forum, there's a few folks there that could give their opinions.

I guess this is the best way I can think how to go in this situation.

@rdnvndr

This comment has been minimized.

Show comment
Hide comment
@rdnvndr

rdnvndr Feb 2, 2016

Contributor

+1 for restoring some of the removed styles

Contributor

rdnvndr commented Feb 2, 2016

+1 for restoring some of the removed styles

@holmeslinux

This comment has been minimized.

Show comment
Hide comment
@holmeslinux

holmeslinux Feb 2, 2016

Another way to accomplish the goal is to use Swallow with xclock (or equivalent).

how would this alternative? give an example?

vlw fwi, Holmes :)

holmeslinux commented Feb 2, 2016

Another way to accomplish the goal is to use Swallow with xclock (or equivalent).

how would this alternative? give an example?

vlw fwi, Holmes :)

@Israel-D

This comment has been minimized.

Show comment
Hide comment
@Israel-D

Israel-D Feb 3, 2016

Contributor

Here is an example using xload (I have this in my config)
Make sure the name="" part MATCHES the program name exactly.

<Swallow name="xload" width="64">xload -nolabel -bg DimGrey -fg Grey -hl DarkGrey</Swallow>

for xclock I'd suggest reading
man xclock
for a complete configuration....
but the option -face is what you will need to use to make a different font

Contributor

Israel-D commented Feb 3, 2016

Here is an example using xload (I have this in my config)
Make sure the name="" part MATCHES the program name exactly.

<Swallow name="xload" width="64">xload -nolabel -bg DimGrey -fg Grey -hl DarkGrey</Swallow>

for xclock I'd suggest reading
man xclock
for a complete configuration....
but the option -face is what you will need to use to make a different font

@holmeslinux

This comment has been minimized.

Show comment
Hide comment
@holmeslinux

holmeslinux Feb 3, 2016

thank you @Ismael and i will prove here... ;)

vlw fwi, Holmes :)

holmeslinux commented Feb 3, 2016

thank you @Ismael and i will prove here... ;)

vlw fwi, Holmes :)

@joewing

This comment has been minimized.

Show comment
Hide comment
@joewing

joewing Feb 10, 2016

Owner

ClockStyle is back in snapshot 1381. I may restore TrayButtonStyle and TaskBarStyle since most of the machinery is already there and it's apparently useful to some people.

I opened a new issue to allow different pager background colors (issue #284).

Owner

joewing commented Feb 10, 2016

ClockStyle is back in snapshot 1381. I may restore TrayButtonStyle and TaskBarStyle since most of the machinery is already there and it's apparently useful to some people.

I opened a new issue to allow different pager background colors (issue #284).

@wosss

This comment has been minimized.

Show comment
Hide comment
@wosss

wosss Mar 27, 2016

Hi Joe, i'm a big fan of your window manager since the xdsl days in xbox classic, I updated to 2.3.5 to gain some handy features but one that I miss is: TaskListStyle tag, specially for different font change from other tray areas, please can you restore this one?

wosss commented Mar 27, 2016

Hi Joe, i'm a big fan of your window manager since the xdsl days in xbox classic, I updated to 2.3.5 to gain some handy features but one that I miss is: TaskListStyle tag, specially for different font change from other tray areas, please can you restore this one?

@joewing

This comment has been minimized.

Show comment
Hide comment
@joewing

joewing Mar 27, 2016

Owner

I plan to reinstate the TaskListStyle and TrayButtonStyle tags for v2.3.6. Thanks!

Owner

joewing commented Mar 27, 2016

I plan to reinstate the TaskListStyle and TrayButtonStyle tags for v2.3.6. Thanks!

@joewing joewing added this to the Version 2.3.6 milestone Apr 5, 2016

@joewing

This comment has been minimized.

Show comment
Hide comment
@joewing

joewing Apr 5, 2016

Owner

The TaskListStyle and TrayButtonStyle tags have been restored as of snapshot 1485. Please let me know/reopen if you run into any problems.

Owner

joewing commented Apr 5, 2016

The TaskListStyle and TrayButtonStyle tags have been restored as of snapshot 1485. Please let me know/reopen if you run into any problems.

@joewing joewing closed this Apr 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment