conky,urxvt,vim 配置文件

写点Archlinux下的软件配置,以后直接复制就行了,懒得重新配置!

需要配置的软件有dwm, conky, urxvt, vim, acpi

DWM的配置请看这里:Archlinux 安装dwm

首先我们需要安装好这些软件!

[michellgaby@K-on ~]$ sudo pacman -S conky rxvt-unicode vim acpi

Conky配置文件($HOME/.conkyrc)

own_window yes
own_window_type override
own_window_colour 000000
own_window_transparent no
own_window_hints undecorated below sticky skip_taskbar skip_pager
double_buffer yes
cpu_avg_samples 2
net_avg_samples 2
use_xft no
xftfont Terminus:size=8
update_interval 0.1
minimum_size 1680 10
maximum_width 1680
border_width 1
draw_outline no
default_color white
alignment bottom_left
use_spacer right
no_buffers yes
uppercase no

TEXT
${alignc}$nodename ${color #0100ff}Uptime:${color white} $uptime ${color #0077ff}| CPU:${color #0077ff} ${color white}${cpu}%${color #0077ff} | FS: ${color lightgrey}${fs_used /}/${fs_size /}${color #0077ff} | /home: ${color lightgrey}${fs_used /home}/${fs_size /home}${color #0077ff} | RAM: ${color white}$mem ${color #0077ff}| Network:${color white} ${wireless_essid wlp16s0} ${color #0077ff}| Down: ${color white}${downspeed wlp16s0} ${color #0077ff}| Up: ${color white}${upspeed wlp16s0} ${color #0077ff}| Battery: ${color white} ${exec acpi |cut -d " " -f4} ${color #0077ff}| Volume:${color white} ${exec amixer get Master | egrep -o "[0-9]+%" | head -1 | egrep -o "[0-9]*"}%

urxvt配置文件($HOME/.Xdefaults)

!!$HOME/.Xdefaults
URxvt.preeditType:Root
!!调整此处设置输入法
URxvt.inputMethod:ibus
!!颜色设置
URxvt.depth:32
!!中括号内数表示透明度
URxvt.background:[90]#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:True
URxvt.scrollBar_right:True
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:96
URxvt.font:xft:文泉驿等宽微米黑:size=9:style=Regular:antialias=true,xft:文泉驿等宽微米黑:size=8:style=Regular:antialias=true
URxvt.boldfont:xft:文泉驿等宽微米黑:size=9:style=BOld:antialias=true,xft:文泉驿等宽微米黑:size=8:style=Bold:antialias=true

VIM配置文件($HOME/.vimrc)

set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set bg=dark
colorscheme lucius
set nu
set hlsearch
set backspace=2
set autoindent
set ruler
set showmode
syntax on
set tabstop=4
set history=50
set nolinebreak
set backspace=indent,eol,start
set t_Co=256
原文地址:https://www.cnblogs.com/GentlemanMod/p/3255015.html