diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-06-21 15:08:50 +0200 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-06-21 15:08:50 +0200 |
commit | f6102b0dc71103b13107d76f451011154848ee72 (patch) | |
tree | a4d576d6ba7725cefc83a041cf8c3f8fb4e8ad01 | |
parent | 322857935ea04f9df09fd3d332fbce2fe40df52f (diff) |
Add perl extensions in urxvt config
-rw-r--r-- | Xresources | 457 | ||||
-rwxr-xr-x | install.sh | 2 |
2 files changed, 322 insertions, 137 deletions
@@ -1,146 +1,329 @@ +! XTERM ! + +! Appearance xterm *xterm*faceName: DejaVuSansMono *xterm*faceSize: 12 *xterm*background: Black *xterm*foreground: White *xterm*cursorColor: Green -urxvt*font: xft:DejaVu Sans Mono:size=12 +! Copy-paste support +XTerm*selectToClipboard: true + +! URXVT ! + +! Custom META key +URxvt*modifier: alt + +! Perl extensons configuration +URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select +URxvt.url-select.launcher: /usr/bin/uzbl +URxvt.url-select.underline: true +URxvt.clipboard.copycmd: xclip -i -selection clipboard +URxvt.clipboard.pastecmd: xclip -o -selection clipboard + +! 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 + +! Appearance +URxvt*font: xft:DejaVu Sans Mono:size=12 URxvt*scrollBar: false -URxvt*background: Black -URxvt*foreground: White +URxvt.depth: 32 URxvt*cursorColor: Green -! URxvt*termName: string -! URxvt*geometry: geometry -! URxvt*chdir: string -! URxvt*reverseVideo: boolean -! URxvt*loginShell: boolean -! URxvt*multiClickTime: number -! URxvt*jumpScroll: boolean -! URxvt*skipScroll: boolean -! URxvt*pastableTabs: boolean -! URxvt*scrollstyle: mode -! URxvt*scrollBar: boolean -! URxvt*scrollBar_right: boolean -! URxvt*scrollBar_floating: boolean -! URxvt*scrollBar_align: mode -! URxvt*thickness: number -! URxvt*scrollTtyOutput: boolean -! URxvt*scrollTtyKeypress: boolean -! URxvt*scrollWithBuffer: boolean -! URxvt*inheritPixmap: boolean -! URxvt*transparent: boolean -! URxvt*tintColor: color -! URxvt*shading: number -! URxvt*blurRadius: HxV -! URxvt*fading: number -! URxvt*fadeColor: color -! URxvt*utmpInhibit: boolean -! URxvt*urgentOnBell: boolean -! URxvt*visualBell: boolean -! URxvt*mapAlert: boolean -! URxvt*meta8: boolean -! URxvt*mouseWheelScrollPage: boolean -! URxvt*tripleclickwords: boolean -! URxvt*insecure: boolean -! URxvt*cursorUnderline: boolean -! URxvt*cursorBlink: boolean -! URxvt*pointerBlank: boolean -! URxvt*background: color -! URxvt*foreground: color -! URxvt*color0: color -! URxvt*color1: color -! URxvt*color2: color -! URxvt*color3: color -! URxvt*color4: color -! URxvt*color5: color -! URxvt*color6: color -! URxvt*color7: color -! URxvt*color8: color -! URxvt*color9: color -! URxvt*color10: color -! URxvt*color11: color -! URxvt*color12: color -! URxvt*color13: color -! URxvt*color14: color -! URxvt*color15: color -! URxvt*colorBD: color -! URxvt*colorIT: color -! URxvt*colorUL: color -! URxvt*colorRV: color -! URxvt*underlineColor: color -! URxvt*scrollColor: color -! URxvt*troughColor: color -! URxvt*highlightColor: color -! URxvt*highlightTextColor: color -! URxvt*cursorColor: color -! URxvt*cursorColor2: color -! URxvt*pointerColor: color -! URxvt*pointerColor2: color -! URxvt*borderColor: color -! URxvt*path: search path -! URxvt*backgroundPixmap: file[;geom] -! URxvt*iconFile: file -! URxvt*font: fontname -! URxvt*boldFont: fontname -! URxvt*italicFont: fontname -! URxvt*boldItalicFont: fontname -! URxvt*intensityStyles: boolean -! URxvt*inputMethod: name -! URxvt*preeditType: style -! URxvt*imLocale: string -! URxvt*imFont: fontname -! URxvt*title: string -! URxvt*iconName: string -! URxvt*saveLines: number -! URxvt*buffered: boolean -! URxvt*depth: number -! URxvt*visual: number -! URxvt*transient-for: windowid -! URxvt*override-redirect: boolean -! URxvt*hold: boolean -! URxvt*externalBorder: number -! URxvt*internalBorder: number -! URxvt*borderLess: boolean -! URxvt*lineSpace: number -! URxvt*letterSpace: number -! URxvt*skipBuiltinGlyphs: boolean -! URxvt*pointerBlankDelay: number -! URxvt*backspacekey: string -! URxvt*deletekey: string -! URxvt*print-pipe: string -! URxvt*modifier: modifier -! URxvt*cutchars: string -! URxvt*answerbackString: string -! URxvt*secondaryScreen: boolean -! URxvt*secondaryScroll: boolean -! URxvt*perl-lib: string -! URxvt*perl-eval: perl-eval -! URxvt*perl-ext-common: string -! URxvt*perl-ext: string -! URxvt*iso14755: boolean -! URxvt*iso14755_52: boolean -! URxvt*xrm: string -! URxvt*keysym.sym: keysym -! URxvt*background.border: boolean -! URxvt*background.expr: string -! URxvt*background.interval: seconds -! URxvt*bell-command: string -! URxvt*kuake.hotkey: string -! URxvt*matcher.button: string -! URxvt*matcher.launcher: string -! URxvt*matcher.launcher.*: string -! URxvt*matcher.pattern.*: string -! URxvt*matcher.rend.*: string -! URxvt*remote-clipboard.fetch: string -! URxvt*remote-clipboard.store: string -! URxvt*searchable-scrollback: string -! URxvt*selection-autotransform.*: string -! URxvt*selection-pastebin.cmd: string -! URxvt*selection-pastebin.url: string -! URxvt*selection.pattern-0: string -! URxvt*tab-bg: colour -! URxvt*tab-fg: colour -! URxvt*tabbar-bg: colour -! URxvt*tabbar-fg: colour -! URxvt*url-launcher: string +! 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 + + @@ -17,6 +17,7 @@ repodirs[junegunn/vim-plug]=$dir/nvim/vim-plug repodirs[seebi/dircolors-solarized]=$home/.solarized/dircolors-solarized repodirs[tmux-plugins/tpm]=$home/.tmux/plugins/tpm repodirs[uvaes/fzf-marks]=$home/github/fzf-marks +repodirs[muennich/urxvt-perls]=$home/.urxvt/ext function after_vimplug { cd .. @@ -39,6 +40,7 @@ actions[junegunn/vim-plug]='after_vimplug' actions[seebi/dircolors-solarized]='' actions[tmux-plugins/tpm]='' actions[uvaes/fzf-marks]='' +actions[muennich/urxvt-perls]='' function fetch_repo { cd $1 |