Skip to content

Instantly share code, notes, and snippets.

Avatar

weakish weakish

View GitHub Profile
@weakish
weakish / xmodmap_file
Created Jul 5, 2010
swap Super and Ctrl #recycle
View xmodmap_file
remove Mod4 = Super_L
remove Mod4 = Super_R
remove Control = Control_L
remove Control = Control_R
keysym Control_L = Super_L
keysym Super_L = Control_L
keysym Control_R = Super_R
keysym Super_R = Control_R
add Mod4 = Super_L
add Mod4 = Super_R
@weakish
weakish / .awesomerc
Created Jul 5, 2010
#awesome2.3 #dmenu configs #recycle
View .awesomerc
- arg = "find /usr/bin -type f -executable ! -empty | awesome-menu -e 'exec ' Execute:"
+ arg = "exec $(ls /usr/bin | dmenu -b -fn '-*-*-medium-*-*-*-15-*-*-*-*-*-*-*' -nf '#000000' -nb '#c1c48b' -sf '#000000' -sb '#81654f' -p Execute:)"
@weakish
weakish / autostart.sh
Created Jul 5, 2010
#openbox #configs #recycle
View autostart.sh
# This shell script is run before Openbox launches.
# Environment variables set here are passed to the Openbox session.
# Set a background color
BG=""
if which hsetroot >/dev/null; then
BG=hsetroot
else
if which esetroot >/dev/null; then
BG=esetroot
@weakish
weakish / .docutils
Created Jul 5, 2010
#python-docutils configs #recycle
View .docutils
[general]
# Equivalent to --time command-line option, results in
# date/timestamp like "2001-12-21 18:43 UTC":
datestamp: %Y-%m-%d %H:%M UTC
title: on
source_link: on
# language_code:
[restructuredtext parser]
rfc_references: on
@weakish
weakish / .emacs
Created Jul 5, 2010
#emacs configs #recycle
View .emacs
;; larger fonts
(set-default-font "DejaVu Sans Mono:pixelsize=22")
(setq default-frame-alist
'((height . 23) (width . 74) (menu-bar-lines . 20) (tool-bar-lines . 0)))
;; Chinese font
(set-fontset-font "fontset-default"
'unicode '("AR PL UMing CN" . "unicode-bmp"))
;; for rcirc
;; default port
@weakish
weakish / default
Created Jul 5, 2010
#fbpanel #fvwm-crystal configs #recycle
View default
# fbpanel <profile> config file
# see http://fbpanel.sf.net/docs.html for complete configuration guide
Global {
edge = top
allign = left
margin = 0
widthtype = percent
width = 100
@weakish
weakish / config
Created Jul 5, 2010
#fcitx 4.3.3 (all files should in GBK) configs #recycle
View config
# note: this config file should saved in GBK encoding.
[程序]
显示字体(中)=AR PL ShanHeiSun Uni
显示字体(英)=Courier New
显示字体大小=12
主窗口字体大小=11
字体区域=zh_CN.UTF-8
是否使用AA字体=1
是否使用粗体=1
@weakish
weakish / startup
Created Jul 5, 2010
#fluxbox config files #recycle
View startup
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
# You can set your favourite wallpaper here if you don't want
# to do it from your style.
#
# bsetbg -f ~/pictures/wallpaper.png
#
# This sets a black background
@weakish
weakish / .Xresources
Created Jul 5, 2010
.Xresources #Emacs #xft #xterm #xvt #recycle
View .Xresources
Emacs.font: DejaVu Sans Mono:pixelsize=22
Emacs.geometry: 74x23
Emacs.FontBackend: xft
Xft.dpi: 126
Xft.hinting: None
xterm*font: -*-fixed-medium-r-*-*-18-*-*-*-*-*-iso8859-*
xterm*font1: -*-ar pl shanheisun uni-*-*-17-*-*-*-*-*-p-*-iso10646-*
XTerm*background: white
XTerm*foreground: black
XTerm*pointerColor: red