|
- test -n "$DISPLAY" || return
- test -z "$ROXTERM_PID" || return
-
- test "`hostname`" == "arch-aspireone" &&
- setxkbmap -model "acer_laptop" -layout "jp"
-
- setxkbmap -option "ctrl:nocaps,ctrl:menu_rctrl"
- xmodmap -e 'keycode 101 = Alt_R Meta_R'
-
-
-
- type synclient >/dev/null 2>&1 && {
- synclient MaxSpeed=1.6
- synclient MinSpeed=0.2
- synclient TouchpadOff=2
- }
-
- xset s 1800
- xset dpms 1810 1820 1830
-
- unset LC_MESSAGES
- export LANG=ja_JP.utf8
- export BROWSER=firefox
- export DMENU_FONT='-*-dejavu sans mono-*-r-*-*-11-*-*-*-*-*-*-*'
-
- __upper(){
- echo $1 | tr '[:lower:]' '[:upper:]'
- }
-
- XDG_DIRS=$HOME/.xdg-dirs
-
- for f in Desktop Download Templates Publicshare Documents Music Pictures Videos
- do
- export XDG_`__upper $f`_DIR=$XDG_DIRS/$f
- mkdir -p $XDG_DIRS/$f
- done
-
- if [ -d /etc/X11/xinit/xinitrc.d ]; then
- for f in /etc/X11/xinit/xinitrc.d/*; do
- [ -x "$f" ] && . "$f"
- done
- unset f
- fi
|