You are not logged in.
Using script above (much better than one I used to use).
*background: #060606
*foreground: #a9a6af
!black
*color0: #050505
*color8: #555753
!red
*color1: #9c8093
*color9: #ffadcc
!green
*color2: #7ac4ad
*color10: #9ed7ca
!yellow
*color3: #adaa8d
*color11: #c4c497
!blue
*color4: #3f4f60
*color12: #98a7b6
!magenta
*color5: #a488d9
*color13: #b7a7bc
!cyan
*color6: #8d9fa6
*color14: #b8ddea
!white
*color7: #665c64
*color15: #787a76
# vim:enc=utf-8:nu:ai:si:et:ts=4:sw=4:ft=xdefaults:
Figured I'd "snapshot" the ~/.Xdefault colors in case I change them later on github, making the screenshot invalid.
Offline
Offline
Colorscheme created with help of agave to fit arch blue (#1793d1); easier on the eyes I think than bright colors on a very black (#000) background.
.Xdefaults colors:
URxvt.color0: #333333
URxvt*color8: #666666
URxvt.color1: #d15517
URxvt*color9: #d11723
URxvt.color2: #36b217
URxvt*color10: #00d56a
URxvt.color3: #d1b217
URxvt*color11: #ffea55
URxvt*color4: #55aaff
URxvt*color12: #1793d1
URxvt*color5: #b217d1
URxvt*color13: #d11793
URxvt.color6: #93d1b2
URxvt*color14: #17d1b2
URxvt*color7: #eeeeee
URxvt*color15: #ffffff
Last edited by VCoolio (2010-03-21 20:54:58)
Offline
Colorscheme created with help of agave to fit arch blue (#1793d1); easier on the eyes I think than bright colors on a very black (#000) background.
.Xdefaults colors:
URxvt.color0: #333333 URxvt*color8: #666666 URxvt.color1: #d15517 URxvt*color9: #d11723 URxvt.color2: #36b217 URxvt*color10: #00d56a URxvt.color3: #d1b217 URxvt*color11: #ffea55 URxvt*color4: #55aaff URxvt*color12: #1793d1 URxvt*color5: #b217d1 URxvt*color13: #d11793 URxvt.color6: #93d1b2 URxvt*color14: #17d1b2 URxvt*color7: #eeeeee URxvt*color15: #ffffff
Could you please post your whole .Xdefaults?
Offline
Uhm, sure. Only reason I can think of why you ask is because of the prompt. That is with a zsh shell though. Bash can do something similar, only not the part on the right.
Difficult prompt in bash:
PROMPT_COMMAND='RET=$?;'
RET_VALUE='$(echo $RET)' #Ret value not colorized - you can modify it.
RET_SMILEY='$(if [[ $RET = 0 ]]; then echo -ne "\[\033[01;32m\]:)"; else echo -ne "\[\033[01;31m\]:("; fi;)'
if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ] && [ -n "$PS1" ]
then
if [ `/usr/bin/whoami` = 'root' ]
then
export PS1="$RET_SMILEY \[\033[01;31m\]\u\[\033[01;32m\][\W]\[\033[01;31m\]>> \[\033[0m\]"
else
export PS1="\[\033[01;34m\][\w]\n$RET_SMILEY \[\033[01;33m\]\u \[\033[01;32m\]>> \[\033[0m\]"
fi
fi
Offline
Thanks, love it
Offline
Offline
What's 'd' ?
alias a='cd $HOME/devel/trunk'
alias b='cd $HOME/bin'
alias c='cd $HOME/configs'
alias d='cd $HOME/devel'
alias g='cd $HOME/devel/golf'
alias p='cd $HOME/devel/pimpd'
alias t='cd $HOME/temp'
alias q='cd $HOME/devel/begperl'
alias x='cd $XDG_CONFIG_HOME'
alias z='cd $HOME/.zsh'
Not for porn... if that was what you thought!
((define-key *top-map* (kbd "KP_Up") "exec mplayer -slave -input file=$HOME/.mplayer/fifo /mnt/Porn/*/* /mnt/Porn/* -shuffle"))
Offline
I still don't get it
If 'd' is just a 'cd /some/dir/' where does that colorfull 'ls -l' like list comes from ?
I have this function for auto-ls on cd:
cd() {
builtin cd $@; ls
}
pimpd' ?
Offline
ok, that makes more sense, but it won't give you a list with perms and such
except if that's zsh's behavior.
I only use the builtin cd, not the builtin ls... cause there aint none.
Last edited by dmz (2010-03-29 14:20:58)
Offline
Where do I find all these scripts to display terminal colors?
Thanks!
rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686
Offline
They are scattered throughout this thread, or on the Xdefaults page of the wiki: http://wiki.archlinux.org/index.php/Xde … me_scripts
Offline
Thanks, don't know how I missed them!
rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686
Offline
I just want to expand on my post here about changing the linux console colors outside of X. A more compact and readable way of doing it is like this:
if [ "$TERM" = "linux" ]; then
colors=(0f0f0f 803232 5b762f cdc673 324c80 706c9a 92b19e cccccc
333333 982b2b 89b83f efe58b 2b4f98 826ab1 a1cdcd dedede)
for n in $(seq 0 15); do
printf '\e]P%x%s' $n ${colors[$n]}
done
clear; unset colors
fi
This lets you put all the colors in a table-like format, with the corresponding normal and bright colors lined up in columns. And because it's an array, you could define several "themes" without cluttering your bashrc too much. Then you'd just change the variable name in the for loop to change themes or something.
Also, the scripts people are using to show off their themes are overkill! All they do is print the same output every single time they're run, even when you change your colors. Instead, I found one I liked, ran it once and then deleted it like so:
$ colortheme.sh > color_table
$ rm colortheme.sh
$ cat color_table
Offline
I don't really get it. If I login to the Linux console I still have colors even without that ^
I think that's because of .Xdefaults ... oh, that's 'X'defaults, hmmm ?!
.:[dotfiles]:.
Offline
it's too bad it affects vim colors... means I need to find a new theme.
Offline
I just want to expand on my post here about changing the linux console colors outside of X. A more compact and readable way of doing it is like this:
...[SNIP]
Thank you for this! I googled this some time ago but found nothing. If someone experiences trouble (like me) getting the right colors, try messing with the vga= line in grub's menu.lst file. I had vga=773, but got a white bg with strange colors; on vga=791 it did what I expected.
Offline
I stole my greens and reds (which are closer to a pinks) from this thread and the others from previous desktop threads.
http://github.com/mason-larobina/dotfil … Xresources
Last edited by mason.larobina (2010-04-13 12:44:19)
Offline
I just want to expand on my post here about changing the linux console colors outside of X. A more compact and readable way of doing it is like this:
if [ "$TERM" = "linux" ]; then colors=(0f0f0f 803232 5b762f cdc673 324c80 706c9a 92b19e cccccc 333333 982b2b 89b83f efe58b 2b4f98 826ab1 a1cdcd dedede) for n in $(seq 0 15); do printf '\e]P%x%s' $n ${colors[$n]} done clear; unset colors fi
This lets you put all the colors in a table-like format, with the corresponding normal and bright colors lined up in columns. And because it's an array, you could define several "themes" without cluttering your bashrc too much. Then you'd just change the variable name in the for loop to change themes or something.
Also, the scripts people are using to show off their themes are overkill! All they do is print the same output every single time they're run, even when you change your colors. Instead, I found one I liked, ran it once and then deleted it like so:
$ colortheme.sh > color_table $ rm colortheme.sh $ cat color_table
what I did is this:
if [ "$TERM" = "linux" ]; then
## set the theme name
local THEME=console_c00kiez
## read the theme, remove comments
local colors=($(cat $HOME/.color_schemes/$THEME | sed 's/#.*//'))
## apply the colors
for index in ${!colors[@]}
do
printf '\e]P%x%s' $index ${colors[$index]}
done
clear #for background artifacting
fi
the "console_c00kiez" file contents are
222222 #black
F60606 #darkred
72F91D #darkgreen
FF971F #brown
0071FF #darkblue
9E6FFE #darkmagenta
5E7175 #darkcyan
FFFFFF #lightgrey
454545 #darkgrey
F60606 #red
93FF00 #green
FFBF00 #yellow
44A7EE #blue
B18CFE #magenta
A3BABF #cyan
FFFFFF #white
So I also have console_fflarex and console_phraktured
and I can switch just by that.
Last edited by JesusSuperstar (2010-04-14 21:25:58)
.:[dotfiles]:.
Offline
Threw together a little something for guys.
!---------------------------------------------------
! file: .colours/sicp
! author: marcus lauver <sicpsnake@gmail.com>
!---------------------------------------------------
*background: #171717
*foreground: #ffffff
! Black --------------------------------------------
*color0: #292929
*color8: #3d3d3d
! Red ----------------------------------------------
*color1: #DE6951
*color9: #c56a47
! Green --------------------------------------------
*color2: #bcda55
*color10: #9dbf60
! Yellow -------------------------------------------
*color3: #E2A564
*color11: #EC8A25
! Blue ---------------------------------------------
*color4: #2187F6
*color12: #5495DC
! Magenta ------------------------------------------
*color5: #875C8D
*color13: #E41F66
! Cyan ---------------------------------------------
*color6: #4390B1
*color14: #276CC2
! White --------------------------------------------
*color7: #D2D2D2
*color15: #ffffff
! EOD ----------------------------------------------
Offline