Can these .sh scripts be edited for more font options? [SOLVED]

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Can these .sh scripts be edited for more font options?

Post by Logansfury »

Hot damn!!!

These are beautiful :D I love how much of the Neon 80s font you squeezed in!

It originally appeared on my 2nd monitor, I got the gapx and y edited to place the calendar where I want it:

Image

How would I edit the script to make current month name white instead of red? I have also edited the deep red you set to the red I use in minimalis and the mizar clock :)
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Can these .sh scripts be edited for more font options?

Post by Koentje »

Line 33 of the script, change ${color4} to 0.

Code: Select all

  cat "$calcurr" | head -n1 | tail  -n1 | awk '{print "${font}${goto 180}${color4}"$1" ${color0}"$2}'
                                                                           ^^^^^^
Image
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Can these .sh scripts be edited for more font options?

Post by Koentje »

Or if you want it a slightly other color you can set it to 5 and make a new color rule in conky..
Image
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Can these .sh scripts be edited for more font options?

Post by Koentje »

You can also try and set transparency to false.. maybe the font is better visible.

Code: Select all

 own_window_transparent = false,
 own_window_colour = '000000',
 own_window_argb_visual = true,
 own_window_argb_value = 0,
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Can these .sh scripts be edited for more font options?

Post by Logansfury »

Koentje wrote: Tue Jan 30, 2024 2:51 pm You can also try and set transparency to false.. maybe the font is better visible.

Code: Select all

 own_window_transparent = false,
 own_window_colour = '000000',
 own_window_argb_visual = true,
 own_window_argb_value = 0,
I can't believe I just came up with another question after all the work you've done >.<

I definitely dont want background or boarders

How difficult would it be to put a black underscore on the displayed font?
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Can these .sh scripts be edited for more font options? [SOLVED]

Post by Koentje »

What exactly do you mean?
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Can these .sh scripts be edited for more font options? [SOLVED]

Post by Logansfury »

Koentje wrote: Tue Jan 30, 2024 2:55 pm What exactly do you mean?
putting a larger black character 1 pixel larger in scale under text. Note the black background around the red and white text:

Image

similar to a drop shadow, but it surrounds the entire char
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Can these .sh scripts be edited for more font options? [SOLVED]

Post by Koentje »

Yeah... that's possible, but good luck with that one! :lol:
You get a script with everything double and a loooooooot of offsets!
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Can these .sh scripts be edited for more font options? [SOLVED]

Post by Logansfury »

Koentje wrote: Tue Jan 30, 2024 3:02 pm Yeah... that's possible, but good luck with that one! :lol:
You get a script with everything double and a lot of ofsets!
bleaugh! Sounds horrendous. Of course, the formatting depended on the monospace font and underscore would alter that by 1 or 2 pixels. I should have realized that.

So for better visibility im going dual color here, all the greys made white. I am REALLY impressed with what you build for me. What a ridiculous amount of work just to get month/year in Neon 80's across all three calendars! You are a warrior for staying with this til solution :D
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Can these .sh scripts be edited for more font options? [SOLVED]

Post by Koentje »

As i said earlier.. conky is an addiction! Once i start i can't stop untill it works! ;)
Even when work lays still for 4 hours... :oops:
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Can these .sh scripts be edited for more font options? [SOLVED]

Post by Logansfury »

Koentje wrote: Tue Jan 30, 2024 3:14 pm As i said earlier.. conky is an addiction! Once i start i can't stop untill it works! ;)
Even when work lays still for 4 hours... :oops:
I feel you, I've lost a lot of sleep since I put Mint on one of my PC's.

BTW is there some transparency going on with the month and year display? The text is looking see-thru
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Can these .sh scripts be edited for more font options?

Post by Koentje »

Koentje wrote: Tue Jan 30, 2024 2:51 pm You can also try and set transparency to false.. maybe the font is better visible.

Code: Select all

 own_window_transparent = false,
 own_window_colour = '000000',
 own_window_argb_visual = true,
 own_window_argb_value = 0,
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Can these .sh scripts be edited for more font options?

Post by Logansfury »

Koentje wrote: Tue Jan 30, 2024 3:35 pm
Koentje wrote: Tue Jan 30, 2024 2:51 pm You can also try and set transparency to false.. maybe the font is better visible.

Code: Select all

 own_window_transparent = false,
 own_window_colour = '000000',
 own_window_argb_visual = true,
 own_window_argb_value = 0,
gave this a shot but the red month-name text didn't become any sharper. It's a small thing, I am so freaking happy with the custom font month/year.
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Can these .sh scripts be edited for more font options? [SOLVED]

Post by Koentje »

Can you mark or circel in a screenshot what the problem is?
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Can these .sh scripts be edited for more font options? [SOLVED]

Post by Logansfury »

Koentje wrote: Tue Jan 30, 2024 3:46 pm Can you mark or circel in a screenshot what the problem is?
To my eyes the January and February seem to be a bit transparentized and are showing wallpaper thru them. Am I nuts?

Image
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Can these .sh scripts be edited for more font options? [SOLVED]

Post by Koentje »

I have set these values and it seems a bit better..

Code: Select all

own_window_type = 'desktop',
own_window_transparent = true,
own_window_colour = '000000',
own_window_argb_visual = true,
own_window_argb_value = 0,

use_xft = true,
xftalpha = 1,
Especially the xftalpha
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Can these .sh scripts be edited for more font options? [SOLVED]

Post by Logansfury »

Koentje wrote: Tue Jan 30, 2024 4:03 pm I have set these values and it seems a bit better..

Code: Select all

own_window_type = 'desktop',
own_window_transparent = true,
own_window_colour = '000000',
own_window_argb_visual = true,
own_window_argb_value = 0,

use_xft = true,
xftalpha = 1,
Especially the xftalpha
Most definitely an improvement! I believe we can stick a fork in this one, just looking at the 3 month display brings a smile to my face.
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Can these .sh scripts be edited for more font options? [SOLVED]

Post by Koentje »

Glad your happy! I'm also satisfied, so i uploaded the script to my website. :)
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Can these .sh scripts be edited for more font options? [SOLVED]

Post by Logansfury »

Koentje wrote: Tue Jan 30, 2024 5:08 pm Glad your happy! I'm also satisfied, so i uploaded the script to my website. :)
Great move, I noted the thread being followed by quite a few people I wouldn't be surprised if many of them tried the scripts that have posted here.
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
Post Reply

Return to “Compiz, Conky, Docks & Widgets”