xresources: move URxvt configuration into ~/.Xresources

This commit is contained in:
Vincent Bernat 2012-07-16 11:30:55 +02:00
parent 966d341c7c
commit e3fd83eab4
2 changed files with 43 additions and 34 deletions

42
Xresources Normal file
View file

@ -0,0 +1,42 @@
!! Xft
Xft.antialias: true
Xft.hinting: true
Xft.hintstyle: hintlight
Xft.rgba: rgb
!! Colors, stolen from http://xcolors.net/dl/colorfulcolors
*color0: #151515
*color8: #696969
*color1: #FF8EAF
*color9: #ED4C7A
*color2: #A6E25F
*color10: #A6E179
*color3: #F8E578
*color11: #FFDF6B
*color4: #A6E2F0
*color12: #79D2FF
*color5: #E85B92
*color13: #BB5D79
*color6: #5F868F
*color14: #87A8AF
*color7: #D5F1F2
*color15: #E2F1F6
!! rxvt configuration
URxvt.foreground: white
URxvt.background: rgba:0000/0000/0000/eeee
URxvt.cursorColor: green
URxvt.depth: 32
URxvt.cursorBlink: True
URxvt.scrollBar: False
URxvt.scrollTtyOutput: False
URxvt.scrollWithBuffer: False
URxvt.jumpScroll: True
URxvt.saveLines: 5000
URxvt.font: xft:DejaVu Sans Mono-8
URxvt.letterSpace: -1
URxvt.iso14755: False
URxvt.perl-ext-common: default,-option-popup,-selection-popup

35
rc.lua
View file

@ -41,40 +41,7 @@ loadrc("errors") -- errors and debug stuff
-- Global configuration
modkey = "Mod4"
config = {}
config.terminal = table.concat(
{
"urxvtcd",
"++iso14755", -- Disable ISO 14755 mode
"+sb", -- Disable scrollbar
"-si -sw", -- Don't scroll to bottom
"-j", -- Enable jump scrolling
"-sl 2000", -- Scrollback buffer
"-bc", -- Blink cursor
"-cr green", -- Cursor color
"-depth 32",
-- Color stuff
"-bg rgba:0000/0000/0000/eeee",
"-fg white",
-- See: http://xcolors.net/ ; colorful theme
"--color0 rgb:15/15/15",
"--color8 rgb:69/69/69",
"--color1 rgb:FF/8E/AF",
"--color9 rgb:ED/4C/7A",
"--color2 rgb:A6/E2/5F",
"--color10 rgb:A6/E1/79",
"--color3 rgb:F8/E5/78",
"--color11 rgb:FF/DF/6B",
"--color4 rgb:A6/E2/F0",
"--color12 rgb:79/D2/FF",
"--color5 rgb:E8/5B/92",
"--color13 rgb:BB/5D/79",
"--color6 rgb:5F/86/8F",
"--color14 rgb:87/A8/AF",
"--color7 rgb:D5/F1/F2",
"--color15 rgb:E2/F1/F6",
"-fn xft:DejaVuSansMono-8", -- Font
"-letsp -1", -- Fix font width
}, " ")
config.terminal = "urxvtcd"
config.layouts = {
awful.layout.suit.tile,
awful.layout.suit.tile.left,