Xresources/Xdefaults colors
Re: Xresources/Xdefaults colors
@frank, those are really nice! I especially like the "Year of the Horse." Would you be cool with those being shared in our xcolors git, and ported to other terms?
- franksinistra
- Ivana Fukalot
- Posts: 1093
- Joined: Mon Jan 27, 2014 2:03 am
- Location: 印尼国
Re: Xresources/Xdefaults colors
...then I'll have the xcolor_code and st patches up in about 30 minutes. ;)
Thanks frank!
@dkeg: if you get time, would you like to add them to the .png section using whatever color script you normally use? I just have a bunch of ansi-escapes in a script for showing off colors.
Thanks frank!
@dkeg: if you get time, would you like to add them to the .png section using whatever color script you normally use? I just have a bunch of ansi-escapes in a script for showing off colors.
- franksinistra
- Ivana Fukalot
- Posts: 1093
- Joined: Mon Jan 27, 2014 2:03 am
- Location: 印尼国
Re: Xresources/Xdefaults colors
Ok, diffs for the above two themes pushed.
Also, Pids offered up an awk rewrite of my sed script. We're both having issues with some of the themes being formatted totally different (such as solarized), but with that being said, the awk script provides much more clean output. I'm adding it as /xcolors/scripts/fbgen_pids_mix. For our themes, I'll make sure that we have working scripts. For any created using the existing scripts, then I think I'll leave it up to the user to sanitize their own work. It's simply not reasonable to try to compensate for all edge cases.
Also, fb-colors use ONLY a 16 color palette (it's a hex limitation...0-F), while most of the .Xresources actually use 18-19 (background, foreground, cursor). I have added 3 ints in the st diffs above 255 which allows us to define these in exactly the same manner, but I don't have a good solution for making it work on console. In fb-term, the background is set on launch, so no issue there. At a pure console, some of the themes are pretty difficult to read with some ncurses interfaces or if you use a colorizing shell (antigen's zsh colorized output, fish). Once I get caught up, I may have some requests for color re-tweaks for console use.
Also, Pids offered up an awk rewrite of my sed script. We're both having issues with some of the themes being formatted totally different (such as solarized), but with that being said, the awk script provides much more clean output. I'm adding it as /xcolors/scripts/fbgen_pids_mix. For our themes, I'll make sure that we have working scripts. For any created using the existing scripts, then I think I'll leave it up to the user to sanitize their own work. It's simply not reasonable to try to compensate for all edge cases.
Also, fb-colors use ONLY a 16 color palette (it's a hex limitation...0-F), while most of the .Xresources actually use 18-19 (background, foreground, cursor). I have added 3 ints in the st diffs above 255 which allows us to define these in exactly the same manner, but I don't have a good solution for making it work on console. In fb-term, the background is set on launch, so no issue there. At a pure console, some of the themes are pretty difficult to read with some ncurses interfaces or if you use a colorizing shell (antigen's zsh colorized output, fish). Once I get caught up, I may have some requests for color re-tweaks for console use.
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: Xresources/Xdefaults colors
Thank you both for your additions, sounds reasonable.
As for those fbcolors that are pretty eye-tearing in a whiptail/dialog, the .dialogrc can be configured to _not_ use a colour (default BLUE) for the background. It's even possible to turn colours off completely. I might upload two .dialogrc files (one using the soothing black background, one being colorless) in a few minutes :)
As for those fbcolors that are pretty eye-tearing in a whiptail/dialog, the .dialogrc can be configured to _not_ use a colour (default BLUE) for the background. It's even possible to turn colours off completely. I might upload two .dialogrc files (one using the soothing black background, one being colorless) in a few minutes :)
..gnutella..
- ivanovnegro
- Minister of Truth
- Posts: 5450
- Joined: Wed Oct 17, 2012 11:12 pm
Re: Xresources/Xdefaults colors
^ Do it. And thanks for that clarification!
Edit:
Fantastic:
Edit:
Fantastic:
Code: Select all
To customize ~/.dialogrc, enter:
vi ~/.dialogrc
Turn on shadow dialog boxes
use_shadow = ON
Turn on color support ON
use_colors = ON
Change default blue background color to BLACK
screen_color = (CYAN,BLACK,ON)
Re: Xresources/Xdefaults colors
Here's mine! bluemoss! (random name ftw)
UPDATE: I changed the color for the background so you might want to update my file for xcolor_code in github! Thanks!
Code: Select all
!!!! bluemoss !!!!
*background: #171717
*foreground: #A3CCCC
*transparent: 0
*shading: 70
*fading: 10
*fadeColor: #2E5C8A
*color0: #001931
*color1: #193046
*color2: #304558
*color3: #1A334C
*color4: #31475E
*color5: #003333
*color6: #194747
*color7: #334C4C
*color8: #475E5E
*color9: #1A4C33
*color10: #315E47
*color11: #003D00
*color12: #195019
*color13: #477347
*color14: #477347
*color15: #7DAD4C
Last edited by elixir on Sat Mar 01, 2014 8:19 am, edited 1 time in total.
Out of the corner of your eye you spot him... Shia LaBeouf.
https://www.youtube.com/watch?v=o0u4M6vppCI
https://www.youtube.com/watch?v=o0u4M6vppCI
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: Xresources/Xdefaults colors
Thank you, added to -> https://github.com/linuxbbq/xcolors/tre ... color_code
..gnutella..
Re: Xresources/Xdefaults colors
Awesome! Thank you my good sir :)
Added the tremendous pic, look at my update on that post.
Added the tremendous pic, look at my update on that post.
Out of the corner of your eye you spot him... Shia LaBeouf.
https://www.youtube.com/watch?v=o0u4M6vppCI
https://www.youtube.com/watch?v=o0u4M6vppCI
- franksinistra
- Ivana Fukalot
- Posts: 1093
- Joined: Mon Jan 27, 2014 2:03 am
- Location: 印尼国
Re: Xresources/Xdefaults colors
my new xresources :
Rhetorical Clit
what it looks like :
Rhetorical Clit
Code: Select all
*background: #0f0e0f
*foreground: #b89c63
!black
*color0: #141314
*color8: #29231e
!red
*color1: #704232
*color9: #916255
!green
*color2: #665534
*color10: #85785e
!yellow
*color3: #996c43
!*color3: #9c7650
*color11: #b58d65
!blue
*color4: #717d4c
!*color4: #52473e
*color12: #899959
!magenta
*color5: #5c4a3a
*color13: #755e4a
!cyan
!*color6: #353a3b
*color6: #544838
*color14: #665744
!white
*color7: #b89c63
*color15: #9a875f
Last edited by franksinistra on Sat Mar 01, 2014 9:36 am, edited 1 time in total.
rice no more.
Re: Xresources/Xdefaults colors
^ I didn't get denied.
Out of the corner of your eye you spot him... Shia LaBeouf.
https://www.youtube.com/watch?v=o0u4M6vppCI
https://www.youtube.com/watch?v=o0u4M6vppCI
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: Xresources/Xdefaults colors
^ it's the mullet full access 8)
well nearly, you see the '#'? means 'as root', it's a bit obscure, and a little confusing - to me I see it as commented out...
as opposed to '$ cmd' which means 'as user' ;)
well nearly, you see the '#'? means 'as root', it's a bit obscure, and a little confusing - to me I see it as commented out...
as opposed to '$ cmd' which means 'as user' ;)
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: Xresources/Xdefaults colors
Elixir: about the cock-touching -> cd /dev -> touch cock
..gnutella..
Re: Xresources/Xdefaults colors
Darnit, I am still a noob remember? ;)
Out of the corner of your eye you spot him... Shia LaBeouf.
https://www.youtube.com/watch?v=o0u4M6vppCI
https://www.youtube.com/watch?v=o0u4M6vppCI
- ChefIronBelly
- Approved BBQer
- Posts: 1044
- Joined: Mon Jan 13, 2014 6:01 am
- Location: Michigan
Re: Xresources/Xdefaults colors
per Ivan's request
Code: Select all
## Purple Rain;
*background: #482562
*foreground: #B88FE7
*color0: #060119
*color1: #130429
*color2: #250B39
*color3: #2B0B19
*color4: #32144D
*color5: #3A205A
*color6: #482562
*color7: #502E6E
*color8: #603C83
*color9: #61427A
*color10: #6F4D8F
*color11: #75549C
*color12: #853140
*color13: #8A64AC
*color14: #A075CB
*color15: #B88FE7
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: Xresources/Xdefaults colors
Damned, that's a soothing scheme. Must be fbcolorized! (yesh yesh I do it in a moment)
..gnutella..
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: Xresources/Xdefaults colors
Code: Select all
## Console colors - chefironbelly - purple rain
echo -en "\e]P0060119" #background
echo -en "\e]P8130429" #darkgrey
echo -en "\e]P1250b39" #darkred
echo -en "\e]P92b0b19" #red
echo -en "\e]P232144d" #darkgreen
echo -en "\e]PA3a205a" #green
echo -en "\e]P3483562" #brown
echo -en "\e]PB502e6e" #yellow
echo -en "\e]P4603c83" #darkblue
echo -en "\e]PC61427a" #blue
echo -en "\e]P56f4d8f" #darkmagenta
echo -en "\e]PD75549c" #magenta
echo -en "\e]P6853140" #darkcyan
echo -en "\e]PE8a64ac" #cyan
echo -en "\e]P7a075cd" #lightgrey
echo -en "\e]PFb88fe7" #white
clear #for background artifacting
;;
..gnutella..