安装urxvt及设置

Posted on 2020-05-12 13:00  hulk190  阅读(604)  评论(0编辑  收藏  举报

urxvt

sudo pacman -S rxvt-unicode

配置

!!$HOME/dr/.Xresources
URxvt.preeditType:dr
!!调整此处设置输入法
URxvt.inputMethod:fcitx
!!颜色设置
URxvt.depth:50
!!中括号内数表示透明度
URxvt.inheritPixmap:true
URxvt.background:#000000
URxvt.foreground:#ffffff
URxvt.colorBD:Gray95
URxvt.colorUL:Green
URxvt.color1:Red2
URxvt.color4:RoyalBlue
URxvt.color5:Magenta2
URxvt.color8:Gray50
URxvt.color10:Green2
URxvt.color12:DodgerBlue
URxvt.color14:Cyan2
URxvt.color15:Gray95
!!URL操作
URxvt.urlLauncher:chromium
URxvt.matcher.button:1
Urxvt.perl-ext-common:matcher
!!滚动条设置
URxvt.scrollBar:False
URxvt.scrollBar_floating:False
URxvt.scrollstyle:plain
!!滚屏设置
URxvt.mouseWheelScrollPage:True
URxvt.scrollTtyOutput:False
URxvt.scrollWithBuffer:True
URxvt.scrollTtyKeypress:True
!!光标闪烁
URxvt.cursorBlink:True
URxvt.saveLines:3000
!!边框
URxvt.borderLess:False
!!字体设置
Xft.dpi:120
URxvt.font:xft:文泉驿等宽微米黑:size=13:style=Regular:antialias=true,xft:文泉驿等宽微米黑:size=13:style=Regular:antialias=true
URxvt.boldfont:xft:文泉驿等宽微米黑:size=13:style=BOld:antialias=true,xft:文泉驿等宽微米黑:size=13:style=Bold:antialias=true
!! perl扩展:支持Ctrl+ALT+C拷贝,支持终端链接可打开,支持快捷键调整字体大小
URxvt.perl-ext-common: selection-to-clipboard,matcher,resize-font,searchable-scrollback
URxvt.perl-ext: url-select
!!URL操作
URxvt.url-launcher: /usr/bin/vivaldi-stable
URxvt.matcher.button: 1
!!URxvt.matcher.rend.0: Uline Bold fg5
URxvt.matcher.rend.0: Uline Bold
URxvt.colorUL: #ff0000
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.url-select.launcher: /usr/local/bin/conkeror
URxvt.url-select.underline: true
URxvt.resize-font.smaller: C-Down
URxvt.resize-font.bigger: C-Up
!! 打开搜索功能
URxvt.keysym.M-s: searchable-scrollback:start
!!抗锯齿
Xft.antialias: true 
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight