Archlinux 配置文件
- .Xinitrc
export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS=@im=fcitx exec openbox-session
- .Xdefaults
! urxvt color set URxvt.background: #000000 URxvt.foreground: #ffffff URxvt.colorBD:yellow URxvt.colorUL:Green
! color setting ! black URxvt.color0: #000000 URxvt.color8: #555753 ! red URxvt.color1: #CC0000 URxvt.color9: #EF2929 ! green URxvt.color2: #4E9A06 URxvt.color10: #8AE234 ! yellow URxvt.color3: #C4A000 URxvt.color11: #FCE94F ! blue URxvt.color4: #3465A4 URxvt.color12: #729FCF ! magenta URxvt.color5: #75507B URxvt.color13: #AD7FA8 ! cyan URxvt.color6: #06989A URxvt.color14: #34E2E2 ! white URxvt.color7: #D3D7CF URxvt.color15: #EEEEEC
! scroll set URxvt.scrollBar:true URxvt.secondaryScroll:True URxvt.scrollBar_right:True URxvt.scrollBar_floating:false URxvt.scrollstyle:plain URxvt.thickness:9 URxvt.scrollWithBuffer:false URxvt.saveLines:2500 URxvt.cursorBlink:True !URxvt.urgentOnBell:true
! fonts URxvt.font:xft:WenQuanYi Micro Hei Mono:size=11:style=Regular:antialias=true,xft:WenQuanYi Micro Hei Mono:size=10:style=Regular:antialias=true URxvt.boldfont:xft:WenQuanYi Micro Hei Mono:size=11:style=Bold:antialias=true,xft:WenQuanYi Micro Hei Mono:size=10:style=Bold:antialias=true
! Extensions URxvt.urlLauncher: /usr/bin/firefox URxvt.matcher.button: 1
! Input Method set !URxvt.inputMethod:fcitx !URxvt.imFont:Liberation Mono !URxvt.preeditType: Root
! window geometry set URxvt.geometry: 80x30 URxvt.title:Rxvt-Unicode
! bg transparent set !URxvt.inheritPixmap: true !URxvt.tintCddolor: white !URxvt.shading: 80
! Tab set URxvt.perl-ext-common: default,tabbed URxvt.tabbed.tab-fg: 12 URxvt.tabbed.tab-bg: 0 URxvt.tabbed.tabbar-fg: 4
!Rxvt.menu:/etc/X11/rxvt.menu Rxvt.preeditType:Root !Rxvt.transparency:255
-
sshproxy
#!/bin/bash
ssh -CfNg -D 7070 UID@IP
-
.conkyrc
set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 1 net_avg_samples 2
out_to_console no
X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12 #font 6x10 #font 7x13 #font 8x13 #font 7x12 #font mintsmild.se #font -------34-------* #font -artwiz-snap-normal-r-normal---100---p-*-iso8859-1
Use Xft?
use_xft yes
Xft font when Xft is enabled
xftfont wqy-zenhei:size=9
own_window_transparent no #own_window_colour hotpink
Text alpha when using Xft
xftalpha 0.8
on_bottom yes
mail spool
#mail_spool $MAIL
Update interval in seconds
update_interval 2
Create own window instead of using desktop (required in nautilus)
own_window yes own_window_transparent yes own_window_hints undecorated,below,skip_taskbar own_window_type override
Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
Minimum size of text area
minimum_size 220 5 maximum_width 220
Draw shades?
draw_shades no
Draw outlines?
draw_outline no
Draw borders around text
draw_borders no
Stippled borders?
stippled_borders no
border margins
border_margin 4
border width
border_width 1
Default colors and also border colors
default_color grey default_shade_color grey default_outline_color grey
Text alignment, other possible values are commented
#alignment top_left #minimum_size 10 10 gap_x 5 gap_y 30 alignment top_right #alignment bottom_left #alignment bottom_right
Gap between borders of screen and text
Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
Subtract file system buffers from used memory?
no_buffers yes
set to yes if you want all text to be in uppercase
uppercase no
none, xmms, bmp, audacious, infopipe (default is none)
xmms_player bmp
boinc (seti) dir
seti_dir /opt/seti
TEXT ${voffset 2}${font OpenLogos:size=16}SYSTEM${font} ${hr 1}${color} HOSTNAME: $alignr$nodename KERNEL: $alignr$kernel UPTIME: $alignr$uptime TEMP: ${alignr}${acpitemp}°C
${font StyleBats:size=16}CPU${font} ${alignr}${freq} MHz Processes: ${alignr}$processes ($running_processes running) Load: $loadavg${alignr}${cpu cpu}% ${cpubar 4 cpu} ${font StyleBats:size=16}RAM${font} ${alignr}$mem / $memmax ($memperc%) ${membar 4} ${font StyleBats:size=16}SWAP${font} ${alignr}$swap / $swapmax ($swapperc%) ${swapbar 4} ${font StyleBats:size=16}BATTERY${font} ${alignr}$battery_percent % ${battery_bar 4}
${voffset 2}${font PizzaDude Bullets:size=14}DATE${font} ${hr 1} ${alignc 35}${font DotMatrix:size=24}${time %H:%M}${font} ${alignc}${time %A %m/%d/%Y}
${voffset 4}${font PizzaDude Bullets:size=14}NETWORK${font}${hr 1}
${font StyleBats:size=16}CABLE${font} IP:${addr enp0s25} DS: ${downspeed enp0s25} ${alignr}US: ${upspeed enp0s25} ${downspeedgraph enp0s25 15,107} ${alignr}${upspeedgraph enp0s25 15,107} ${font StyleBats:size=16}WIFI${font} IP:${addr wlp3s0} DS: ${downspeed wlp3s0} ${alignr}US: ${upspeed wlp3s0} ${downspeedgraph wlp3s0 15,107} ${alignr}${upspeedgraph wlp3s0 15,107}
${voffset 4}${font PizzaDude Bullets:size=14}DISK${font}${hr 1} Root :${fs_free /} /${fs_size /} ${fs_bar /} Var : ${fs_free /var} /${fs_size /var} ${fs_bar /var} Home: ${fs_free /home} /${fs_size /home} ${fs_bar /home} Disk C: ${fs_free /mnt/C} /${fs_size /mnt/C}${fs_bar /mnt/C} Disk D : ${fs_free /mnt/D} /${fs_size /mnt/D} ${fs_bar /mnt/D}
-
Openbox Autostart
volumeicon & tint2 & fcitx & conky -d & feh --bg-scale ~/wallpaper.jpg &