LivingInTheConsole/Urxvt: Difference between revisions

From base48
imported>Rmarko
No edit summary
imported>Merlyn
(comment # -> !)
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
URxvt.loginShell:          true
URxvt.loginShell:          true
!URxvt.depth:                32
!URxvt.depth:                32
#URxvt.background:          black
!URxvt.background:          black
URxvt.depth: 32
URxvt.depth: 32
URxvt*background: rgba:0000/0000/0000/cccc
URxvt*background: rgba:0000/0000/0000/cccc
Line 97: Line 97:


=Client/Server usage=
=Client/Server usage=
''cat ~/bin/terminal''
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
#!/bin/sh
#!/bin/sh

Latest revision as of 10:52, 23 May 2012

Back to Project page

Basic configuration

Sane urxvt configuration with zooming and url matching. Save to ~/.Xdefaults.

<syntaxhighlight lang="bash"> URxvt.jumpScroll: true URxvt.multiScroll: true URxvt.scrollKey: true URxvt.secondaryScroll: true URxvt.loginShell: true !URxvt.depth: 32 !URxvt.background: black URxvt.depth: 32 URxvt*background: rgba:0000/0000/0000/cccc URxvt.foreground: green URxvt.scrollBar: false URxvt.scrollBar_right: false URxvt.scrollTtyOutput: false URxvt.scrollWithBuffer: true URxvt.scrollTtyKeypress: true URxvt.transparent: true URxvt.shading: 40 URxvt.fading: 15 URxvt.font: xft:Monospace:size=11 URxvt.boldFont: xft:Monospace:bold:size=11 URxvt.italicFont: xft:Monospace:italic:autohint=true:size=11 URxvt.boldItalicFont: xft:Monospace:bold:italic:autohint=true:size=11 URxvt.internalBorder: 6 URxvt.externalBorder: 0 URxvt.saveLines: 12000 URxvt.mapAlert: true URxvt.tintColor: grey30 !URxvt.geometry: 100x80 URxvt.termName: rxvt URxvt.tripleclickwords: true !URxvt.pastableTabs: true URxvt.pointerBlank: true URxvt.urgentOnBell: true

! perl stuff !URxvt.perl-ext-common: default,matcher URxvt.perl-ext-common: matcher URxvt.colorUL: #86a2be URxvt.urlLauncher: xdg-open URxvt.underlineURLs: true URxvt.matcher.button: 1

! Black + DarkGrey URxvt*color0: #000000 URxvt*color8: #666666

! DarkRed + Red URxvt*color1: #b45151 URxvt*color9: #fe8686

! DarkGreen + Green URxvt*color2: #aece92 URxvt*color10: #c5ee83

! DarkYellow + Yellow !URxvt*color3: Khaki3 !URxvt*color11: #efe58b

! DarkBlue + Blue URxvt*color4: #0000bb URxvt*color12: #86cdea

! DarkMangenta + Mangenta URxvt*color5: #aa6eaf URxvt*color13: #cb96ce

!DarkCyan + Cyan URxvt*color6: #418179 URxvt*color14: #71bebe

! LightGrey + White !URxvt*color7: #bebebe !URxvt*color15: #ffffff

URxvt.keysym.C-Up: \033[1;5A URxvt.keysym.C-Down: \033[1;5B URxvt.keysym.C-Right: \033[1;5C URxvt.keysym.C-Left: \033[1;5D

URxvt.keysym.C-0: command:\033]710;xft:Monospace:size=11\007\033]711;xft:Monospace:bold:size=11\007 URxvt.keysym.C-minus: command:\033]710;xft:Monospace:size=8\007\033]711;xft:Monospace:bold:size=8\007 URxvt.keysym.C-equal: command:\033]710;xft:Monospace:size=18\007\033]711;xft:Monospace:bold:size=18\007

Xft.dpi: 96 Xft.antialias: true Xft.hinting: true Xft.hintstyle: hintfull Xft.rgba: rgb </syntaxhighlight>

Client/Server usage

cat ~/bin/terminal <syntaxhighlight lang="bash">

  1. !/bin/sh

urxvtc "$@" > /dev/null if [ $? -eq 2 ]; then

 urxvtd -q -o -f
 urxvtc "$@"

fi </syntaxhighlight>