From b9d5965cc53bfea0d419fe3b320cb43e164b324d Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 10 Jul 2015 17:08:10 +0100 Subject: Use includes in Xresources, and clean --- Xresources | 297 +---------------------------------------------------- Xresources.dark | 123 +++++----------------- Xresources.default | 26 +++++ Xresources.light | 124 +++++----------------- 4 files changed, 81 insertions(+), 489 deletions(-) create mode 100644 Xresources.default diff --git a/Xresources b/Xresources index 2ee512d..d291062 100644 --- a/Xresources +++ b/Xresources @@ -33,302 +33,11 @@ URxvt.keysym.M-v: perl:clipboard:paste URxvt.keysym.F11: perl:fullscreen:switch ! Appearance +! ! URxvt*font: xft:DejaVu Sans Mono:size=12 URxvt*font: xft:monaco:size=11:antialias=false URxvt*scrollBar: false -URxvt*cursorColor: Green URxvt*internalBorder: 0 -! True transparency -URxvt.depth: 32 - -! Colors -URxvt*background: [80]Black -URxvt*foreground: White -URxvt.color0 : #2E2E34343636 -URxvt.color8 : #555557575353 -URxvt.color1 : #CCCC00000000 -URxvt.color9 : #EFEF29292929 -URxvt.color2 : #4E4E9A9A0606 -URxvt.color10 : #8A8AE2E23434 -URxvt.color3 : #C4C4A0A00000 -URxvt.color11 : #FCFCE9E94F4F -URxvt.color4 : #34346565A4A4 -URxvt.color12 : #72729F9FCFCF -URxvt.color5 : #757550507B7B -URxvt.color13 : #ADAD7F7FA8A8 -URxvt.color6 : #060698209A9A -URxvt.color14 : #3434E2E2E2E2 -URxvt.color7 : #D3D3D7D7CFCF -URxvt.color15 : #EEEEEEEEECEC - -! Compile xft: Attempt to find a visual with the given bit depth; option -depth. -! URxvt*depth: bitdepth - -! Compile xft: Turn on/off double-buffering for xft (default enabled). On some card/driver combination enabling it -! URxvt*buffered: boolean - -! Create the window with the specified X window geometry [default 80x24]; option -geometry. -! URxvt*geometry: geom - -! Use the specified colour as the windows background colour [default White]; option -bg. -! URxvt*background: colour - -! Use the specified colour as the windows foreground colour [default Black]; option -fg. -! URxvt*foreground: colour - -! Use the specified colour for the colour value n, where 0-7 corresponds to low-intensity (normal) colours and 8-15 -! URxvt*colorn: colour - -! -! URxvt*colorBD: colour - -! Use the specified colour to display bold or italic characters when the foreground colour is the default. If font -! URxvt*colorIT: colour - -! Use the specified colour to display underlined characters when the foreground colour is the default. -! URxvt*colorUL: colour - -! If set, use the specified colour as the colour for the underline itself. If unset, use the foreground colour. -! URxvt*underlineColor: colour - -! If set, use the specified colour as the background for highlighted characters. If unset, use reverse video. -! URxvt*highlightColor: colour - -! If set and highlightColor is set, use the specified colour as the foreground for highlighted characters. -! URxvt*highlightTextColor: colour - -! Use the specified colour for the cursor. The default is to use the foreground colour; option -cr. -! URxvt*cursorColor: colour - -! Use the specified colour for the colour of the cursor text. For this to take effect, cursorColor must also be -! URxvt*cursorColor2: colour - -! True: simulate reverse video by foreground and background colours; option -rv. False: regular screen colours -! URxvt*reverseVideo: boolean - -! True: specify that jump scrolling should be used. When receiving lots of lines, urxvt will only scroll once a whole -! URxvt*jumpScroll: boolean - -! True: (the default) specify that skip scrolling should be used. When receiving lots of lines, urxvt will only scroll -! URxvt*skipScroll: boolean - -! Fade the text by the given percentage when focus is lost; option -fade. -! URxvt*fading: number - -! Fade to this colour, when fading is used (see fading:). The default colour is black; option -fadecolor. -! URxvt*fadeColor: colour - -! Set the application icon pixmap; option -icon. -! URxvt*iconFile: file - -! Use the specified colour for the scrollbar [default #B2B2B2]. -! URxvt*scrollColor: colour - -! Use the specified colour for the scrollbars trough area [default #969696]. Only relevant for rxvt (non XTerm/NeXT) -! URxvt*troughColor: colour - -! The colour of the border around the text area and between the scrollbar and the text. -! URxvt*borderColor: colour - -! Select the fonts to be used. This is a comma separated list of font names that are checked in order when trying to -! URxvt*font: fontlist - -! URxvt*boldFont: fontlist - -! -! URxvt*italicFont: fontlist - -! The font list to use for displaying bold, italic or bold italic characters, respectively. -! URxvt*boldItalicFont: fontlist - -! When font styles are not enabled, or this option is enabled (True, option -is, the default), bold/blink font styles -! URxvt*intensityStyles: boolean - -! Set window title string, the default title is the command-line specified after the -e option, if any, otherwise the -! URxvt*title: string - -! Set the name used to label the windows icon or displayed in an icon manager window, it also sets the windows title -! URxvt*iconName: string - -! True: de-iconify (map) on receipt of a bell character. False: no de-iconify (map) on receipt of a bell character -! URxvt*mapAlert: boolean - -! True: set the urgency hint for the wm on receipt of a bell character. False: do not set the urgency hint [default]. -! URxvt*urgentOnBell: boolean - -! True: use visual bell on receipt of a bell character; option -vb. False: no visual bell [default]; option +vb. -! URxvt*visualBell: boolean - -! True: start as a login shell by prepending a - to argv[0] of the shell; option -ls. False: start as a normal sub- -! URxvt*loginShell: boolean - -! Specify the maximum time in milliseconds between multi-click select events. The default is 500 milliseconds; option -! URxvt*multiClickTime: number - -! True: inhibit writing record into the system log file utmp; option -ut. False: write record into the system log file -! URxvt*utmpInhibit: boolean - -! Specify a command pipe for vt100 printer [default lpr(1)]. Use Print to initiate a screen dump to the printer and -! URxvt*print-pipe: string - -! Set scrollbar style to rxvt, plain, next or xterm. plain is the authors favourite. -! URxvt*scrollstyle: mode - -! Set the scrollbar width in pixels. -! URxvt*thickness: number - -! True: enable the scrollbar [default]; option -sb. False: disable the scrollbar; option +sb. -! URxvt*scrollBar: boolean - -! True: place the scrollbar on the right of the window; option -sr. False: place the scrollbar on the left of the -! URxvt*scrollBar_right: boolean - -! True: display an rxvt scrollbar without a trough; option -st. False: display an rxvt scrollbar with a trough; -! URxvt*scrollBar_floating: boolean - -! Align the top, bottom or centre [default] of the scrollbar thumb with the pointer on middle button press/drag. -! URxvt*scrollBar_align: mode - -! True: scroll to bottom when tty receives output; option -si. False: do not scroll to bottom when tty receives -! URxvt*scrollTtyOutput: boolean - -! True: scroll with scrollback buffer when tty receives new lines (i.e. try to show the same lines) and -! URxvt*scrollWithBuffer: boolean - -! True: scroll to bottom when a non-special key is pressed. Special keys are those which are intercepted by rxvt- -! URxvt*scrollTtyKeypress: boolean - -! Save number lines in the scrollback buffer [default 64]. This resource is limited on most machines to 65535; option -! URxvt*saveLines: number - -! Internal border of number pixels. This resource is limited to 100; option -b. -! URxvt*internalBorder: number - -! External border of number pixels. This resource is limited to 100; option -w, -bw, -borderwidth. -! URxvt*externalBorder: number - -! Set MWM hints to request a borderless window, i.e. if honoured by the WM, the rxvt-unicode window will not have -! URxvt*borderLess: boolean - -! Compile frills: Disable the usage of the built-in block graphics/line drawing characters and just rely on what the -! URxvt*skipBuiltinGlyphs: boolean - -! Specifies the terminal type name to be set in the TERM environment variable; option -tn. -! URxvt*termName: termname - -! Specifies number of lines (pixel height) to insert between each row of the display [default 0]; option -lsp. -! URxvt*lineSpace: number - -! True: handle Meta (Alt) + keypress to set the 8th bit. False: handle Meta (Alt) + keypress as an escape prefix -! URxvt*meta8: boolean - -! True: the mouse wheel scrolls a page full. False: the mouse wheel scrolls five lines [default]. -! URxvt*mouseWheelScrollPage: boolean - -! True: store tabs as wide characters. False: interpret tabs as cursor movement only; option "-ptab". -! URxvt*pastableTabs: boolean - -! True: blink the cursor. False: do not blink the cursor [default]; option -bc. -! URxvt*cursorBlink: boolean - -! True: Make the cursor underlined. False: Make the cursor a box [default]; option -uc. -! URxvt*cursorUnderline: boolean - -! True: blank the pointer when a key is pressed or after a set number of seconds of inactivity. False: the pointer is -! URxvt*pointerBlank: boolean - -! Mouse pointer foreground colour. -! URxvt*pointerColor: colour - -! Mouse pointer background colour. -! URxvt*pointerColor2: colour - -! Specifies number of seconds before blanking the pointer [default 2]. Use a large number (e.g. 987654321) to -! URxvt*pointerBlankDelay: number - -! The string to send when the backspace key is pressed. If set to DEC or unset it will send Delete (code 127) or, with -! URxvt*backspacekey: string - -! The string to send when the delete key (not the keypad delete key) is pressed. If unset it will send the sequence -! URxvt*deletekey: string - -! The characters used as delimiters for double-click word selection (whitespace delimiting is added automatically if -! URxvt*cutchars: string - -! -! URxvt*{|} - -! OverTheSpot, OffTheSpot, Root; option -pt. -! URxvt*preeditType: style - -! name of inputMethod to use; option -im. -! URxvt*inputMethod: name - -! The locale to use for opening the IM. You can use an "LC_CTYPE" of e.g. "de_DE.UTF-8" for normal text processing -! URxvt*imLocale: name - -! Specify the font-set used for XIM styles "OverTheSpot" or "OffTheSpot". It must be a standard X font set (XLFD -! URxvt*imFont: fontset - -! Change the meaning of triple-click selection with the left mouse button. Instead of selecting a full line it will -! URxvt*tripleclickwords: boolean - -! Enables "insecure" mode. Rxvt-unicode offers some escape sequences that echo arbitrary strings like the icon name or -! URxvt*insecure: boolean - -! Set the key to be interpreted as the Meta key to: alt, meta, hyper, super, mod1, mod2, mod3, mod4, mod5; option -! URxvt*modifier: modifier - -! Specify the reply rxvt-unicode sends to the shell when an ENQ (control-E) character is passed through. It may -! URxvt*answerbackString: string - -! Turn on/off secondary screen (default enabled). -! URxvt*secondaryScreen: boolean - -! Turn on/off secondary screen scroll (default enabled). If this option is enabled, scrolls on the secondary screen -! URxvt*secondaryScroll: boolean - -! Turn on/off hold window after exit support. If enabled, urxvt will not immediately destroy its window when the -! URxvt*hold: boolean - -! Sets the working directory for the shell (or the command specified via -e). The path must be an absolute path and it -! URxvt*chdir: path - -! Compile frills: Associate action with keysym sym. The intervening resource name keysym. cannot be omitted. -! URxvt*keysym.sym: action - -! URxvt*perl-ext-common: string - -! Comma-separated list(s) of perl extension scripts (default: "default") to use in this terminal instance; option -pe. -! URxvt*perl-ext: string - -! Perl code to be evaluated when all extensions have been registered. See the urxvtperl(3) manpage. -! URxvt*perl-eval: string - -! Colon-separated list of additional directories that hold extension scripts. When looking for perl extensions, urxvt -! URxvt*perl-lib: path - -! Additional selection patterns, see the urxvtperl(3) manpage for details. -! URxvt*selection.pattern-idx: perl-regex - -! Selection auto-transform patterns, see the urxvtperl(3) manpage for details. -! URxvt*selection-autotransform.idx: perl-transform - -! This resource is deprecated and will be removed. Use a keysym resource instead, e.g.: -! URxvt*searchable-scrollback: keysym *DEPRECATED* - -! Specifies the program to be started with a URL argument. Used by the "selection-popup" and "matcher" perl -! URxvt*url-launcher: string - -! Compile frills: Sets the WM_TRANSIENT_FOR property to the given window id. -! URxvt*transient-for: windowid - -! Compile frills: Sets override-redirect for the terminal window, making it almost invisible to window managers; -! URxvt*override-redirect: boolean - -! Turn on/off ISO 14755 (default enabled). -! URxvt*iso14755: boolean - -! Turn on/off ISO 14755 5.2 mode (default enabled). -! URxvt*iso14755_52: boolean +! Cursor color +URxvt*cursorColor: Green diff --git a/Xresources.dark b/Xresources.dark index e261a64..735f29a 100644 --- a/Xresources.dark +++ b/Xresources.dark @@ -1,97 +1,26 @@ -! XTERM ! - -! Appearance xterm -*xterm*faceName: Monaco -*xterm*faceSize: 11 - -! Copy-paste support -XTerm*selectToClipboard: true - -! URXVT ! - -! Custom META key -URxvt*modifier: alt - -! Copy-paste configuration -URxvt.clipboard.copycmd: xclip -i -selection clipboard -URxvt.clipboard.pastecmd: xclip -o -selection clipboard - -! Perl extensions configuration -URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select,fullscreen -URxvt.url-select.launcher: /usr/bin/uzbl -URxvt.url-select.underline: true - -! Key bindings for extensions -URxvt.keysym.M-Escape: perl:keyboard-select:activate -URxvt.keysym.M-s: perl:keyboard-select:search -URxvt.keysym.M-u: perl:url-select:select_next -URxvt.keysym.M-c: perl:clipboard:copy -URxvt.keysym.M-v: perl:clipboard:paste -URxvt.keysym.F11: perl:fullscreen:switch - -! Appearance -! URxvt*font: xft:DejaVu Sans Mono:size=12 -URxvt*font: xft:monaco:size=11:antialias=false -URxvt*scrollBar: false -URxvt*cursorColor: Green -URxvt*internalBorder: 0 - -! True transparency -URxvt.depth: 32 - -#define S_base03 #002b36 -#define S_base02 #073642 -#define S_base01 #586e75 -#define S_base00 #657b83 -#define S_base0 #839496 -#define S_base1 #93a1a1 -#define S_base2 #eee8d5 -#define S_base3 #fdf6e3 - -*background: S_base03 -*foreground: S_base0 -*fadeColor: S_base03 -*cursorColor: S_base1 -*pointerColorBackground:S_base01 -*pointerColorForeground:S_base1 - -#define S_yellow #b58900 -#define S_orange #cb4b16 -#define S_red #dc322f -#define S_magenta #d33682 -#define S_violet #6c71c4 -#define S_blue #268bd2 -#define S_cyan #2aa198 -#define S_green #859900 - -!! black dark/light -*color0: S_base02 -*color8: S_base03 - -!! red dark/light -*color1: S_red -*color9: S_orange - -!! green dark/light -*color2: S_green -*color10: S_base01 - -!! yellow dark/light -*color3: S_yellow -*color11: S_base00 - -!! blue dark/light -*color4: S_blue -*color12: S_base0 - -!! magenta dark/light -*color5: S_magenta -*color13: S_violet - -!! cyan dark/light -*color6: S_cyan -*color14: S_base1 - -!! white dark/light -*color7: S_base2 -*color15: S_base3 +# include "/home/urbain/.Xresources" + +*background: #002b36 +*foreground: #839496 +*fadeColor: #002b36 +*cursorColor: #93a1a1 + +*pointerColorBackground: #586e75 +*pointerColorForeground: #93a1a1 + +*color0: #073642 +*color8: #002b36 +*color1: #dc322f +*color9: #cb4b16 +*color2: #859900 +*color10: #586e75 +*color3: #b58900 +*color11: #657b83 +*color4: #268bd2 +*color12: #839496 +*color5: #d33682 +*color13: #6c71c4 +*color6: #2aa198 +*color14: #93a1a1 +*color7: #eee8d5 +*color15: #fdf6e3 diff --git a/Xresources.default b/Xresources.default new file mode 100644 index 0000000..480b1fa --- /dev/null +++ b/Xresources.default @@ -0,0 +1,26 @@ +# include "/home/urbain/.Xresources" + +! True transparency +URxvt.depth: 32 + +! Backgreund / Foreground +URxvt*background: [80]Black +URxvt*foreground: White + +! Colors +URxvt.color0 : #2E2E34343636 +URxvt.color8 : #555557575353 +URxvt.color1 : #CCCC00000000 +URxvt.color9 : #EFEF29292929 +URxvt.color2 : #4E4E9A9A0606 +URxvt.color10 : #8A8AE2E23434 +URxvt.color3 : #C4C4A0A00000 +URxvt.color11 : #FCFCE9E94F4F +URxvt.color4 : #34346565A4A4 +URxvt.color12 : #72729F9FCFCF +URxvt.color5 : #757550507B7B +URxvt.color13 : #ADAD7F7FA8A8 +URxvt.color6 : #060698209A9A +URxvt.color14 : #3434E2E2E2E2 +URxvt.color7 : #D3D3D7D7CFCF +URxvt.color15 : #EEEEEEEEECEC diff --git a/Xresources.light b/Xresources.light index ebe7a31..0657e91 100644 --- a/Xresources.light +++ b/Xresources.light @@ -1,98 +1,26 @@ -! XTERM ! - -! Appearance xterm -*xterm*faceName: Monaco -*xterm*faceSize: 11 - -! Copy-paste support -XTerm*selectToClipboard: true - -! URXVT ! - -! Custom META key -URxvt*modifier: alt - -! Copy-paste configuration -URxvt.clipboard.copycmd: xclip -i -selection clipboard -URxvt.clipboard.pastecmd: xclip -o -selection clipboard - -! Perl extensions configuration -URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select,fullscreen -URxvt.url-select.launcher: /usr/bin/uzbl -URxvt.url-select.underline: true - -! Key bindings for extensions -URxvt.keysym.M-Escape: perl:keyboard-select:activate -URxvt.keysym.M-s: perl:keyboard-select:search -URxvt.keysym.M-u: perl:url-select:select_next -URxvt.keysym.M-c: perl:clipboard:copy -URxvt.keysym.M-v: perl:clipboard:paste -URxvt.keysym.F11: perl:fullscreen:switch - -! Appearance -! URxvt*font: xft:DejaVu Sans Mono:size=12 -URxvt*font: xft:monaco:size=11:antialias=false -URxvt*scrollBar: false -URxvt*cursorColor: Green -URxvt*internalBorder: 0 - -! True transparency -URxvt.depth: 32 - -! Colors -#define S_base03 #002b36 -#define S_base02 #073642 -#define S_base01 #586e75 -#define S_base00 #657b83 -#define S_base0 #839496 -#define S_base1 #93a1a1 -#define S_base2 #eee8d5 -#define S_base3 #fdf6e3 - -*background: S_base3 -*foreground: S_base00 -*fadeColor: S_base3 -*cursorColor: S_base01 -*pointerColorBackground:S_base1 -*pointerColorForeground:S_base01 - -#define S_yellow #b58900 -#define S_orange #cb4b16 -#define S_red #dc322f -#define S_magenta #d33682 -#define S_violet #6c71c4 -#define S_blue #268bd2 -#define S_cyan #2aa198 -#define S_green #859900 - -!! black dark/light -*color0: S_base02 -*color8: S_base03 - -!! red dark/light -*color1: S_red -*color9: S_orange - -!! green dark/light -*color2: S_green -*color10: S_base01 - -!! yellow dark/light -*color3: S_yellow -*color11: S_base00 - -!! blue dark/light -*color4: S_blue -*color12: S_base0 - -!! magenta dark/light -*color5: S_magenta -*color13: S_violet - -!! cyan dark/light -*color6: S_cyan -*color14: S_base1 - -!! white dark/light -*color7: S_base2 -*color15: S_base3 +# include "/home/urbain/.Xresources" + +*background: #fdf6e3 +*foreground: #657b83 +*fadeColor: #fdf6e3 +*cursorColor: #586e75 + +*pointerColorBackground: #93a1a1 +*pointerColorForeground: #586e75 + +*color0: #073642 +*color8: #002b36 +*color1: #dc322f +*color9: #cb4b16 +*color2: #859900 +*color10: #586e75 +*color3: #b58900 +*color11: #657b83 +*color4: #268bd2 +*color12: #839496 +*color5: #d33682 +*color13: #6c71c4 +*color6: #2aa198 +*color14: #93a1a1 +*color7: #eee8d5 +*color15: #fdf6e3 -- cgit v1.2.3