Skip to content

Instantly share code, notes, and snippets.

@yevgenko
Created August 24, 2011 02:58
Show Gist options
  • Select an option

  • Save yevgenko/1167205 to your computer and use it in GitHub Desktop.

Select an option

Save yevgenko/1167205 to your computer and use it in GitHub Desktop.
URxvt settings with solarized theme
!-------------------------------------------------------------------------------
! Xft settings
!-------------------------------------------------------------------------------
Xft.dpi: 96
Xft.antialias: false
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight
!-------------------------------------------------------------------------------
! URxvt settings
! Colours lifted from Solarized (http://ethanschoonover.com/solarized)
! More info at:
! http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.1.pod
!-------------------------------------------------------------------------------
URxvt.depth: 32
URxvt.geometry: 90x30
URxvt.transparent: false
URxvt.fading: 0
! URxvt.urgentOnBell: true
! URxvt.visualBell: true
URxvt.loginShell: true
URxvt.saveLines: 50
URxvt.internalBorder: 3
URxvt.lineSpace: 0
! Fonts
URxvt.allow_bold: false
/* URxvt.font: -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1 */
URxvt*font: xft:Monospace:pixelsize=14
URxvt*boldFont: xft:Monospace:pixelsize=14
! Fix font space
URxvt*letterSpace: -1
! Scrollbar
URxvt.scrollStyle: rxvt
URxvt.scrollBar: false
! Perl extensions
URxvt.perl-ext-common: default,matcher
URxvt.matcher.button: 1
URxvt.urlLauncher: firefox
! Cursor
URxvt.cursorBlink: true
URxvt.cursorColor: #657b83
URxvt.cursorUnderline: false
! Pointer
URxvt.pointerBlank: true
!!Source http://github.com/altercation/solarized
*background: #002b36
*foreground: #657b83
!!*fading: 40
*fadeColor: #002b36
*cursorColor: #93a1a1
*pointerColorBackground: #586e75
*pointerColorForeground: #93a1a1
!! black dark/light
*color0: #073642
*color8: #002b36
!! red dark/light
*color1: #dc322f
*color9: #cb4b16
!! green dark/light
*color2: #859900
*color10: #586e75
!! yellow dark/light
*color3: #b58900
*color11: #657b83
!! blue dark/light
*color4: #268bd2
*color12: #839496
!! magenta dark/light
*color5: #d33682
*color13: #6c71c4
!! cyan dark/light
*color6: #2aa198
*color14: #93a1a1
!! white dark/light
*color7: #eee8d5
*color15: #fdf6e3
@oconnor663

Copy link
Copy Markdown

When I try this, the foreground text seems too dark. I think you have it at base00, when it should be at base0. This change it for me:
*foreground: #839496

@speedlight

Copy link
Copy Markdown

Basic, clean and solarized urxvt ;)
Thanks

@ak5

ak5 commented Jun 19, 2013

Copy link
Copy Markdown

I have an issue with color8 being the same color as the background. Some CLI apps I use (notably node/npm/express/grunt and everything from that stack), use that color text on the background, making it unreadable.

I just got rid of color8 and renamed color9->8, color10->9 etc.

ghost commented Sep 16, 2013

Copy link
Copy Markdown

amazing! nice job.

@stjhimy

stjhimy commented Oct 15, 2013

Copy link
Copy Markdown

Awesome.

@aut0

aut0 commented Apr 17, 2014

Copy link
Copy Markdown

URxvt.urlLauncher is now URxvt.url-launcher

@sbergandy

Copy link
Copy Markdown

Great job. Thanks 👍

ghost commented Jul 29, 2015

Copy link
Copy Markdown

Awesome.

@Sonique

Sonique commented Nov 19, 2015

Copy link
Copy Markdown

Thanks. Works amazing. But with this config image preview in ranger doesn't work anymore, is it occurs only on my laptop?

@bitswarming

Copy link
Copy Markdown

run htop. :( needs a fix. (user column unvisible)

ghost commented Jan 13, 2016

Copy link
Copy Markdown

@bitswarming, this is not problem of .Xresources. The problem of Solarized color scheme (i. e. her implementation):
See colors of my terminal
Check dark green or dark yellow colors.

If you want to get correct colors in htop, see this page: Htop with patches.

ghost commented Jan 13, 2016

Copy link
Copy Markdown

BTW, I don't understand why everyone likes this config. Nothing unusual, I think.

@vnznznz

vnznznz commented Jan 19, 2016

Copy link
Copy Markdown

@kalterfive This gist is on the first page when you google "rxvt-unicode color schemes" ;)

@sixtyfive

Copy link
Copy Markdown

Wow, people find this readable at all?

@ColinGilbert

Copy link
Copy Markdown

Sorry for being completely retentive, but is there a formal license for this code? I wouldn't mind using it in a distro. X license would be fine :)

@valda

valda commented Mar 26, 2021

Copy link
Copy Markdown

👍

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