From e0878e9eba1e71ce7cd3e223843a7258d43e34ff Mon Sep 17 00:00:00 2001 From: PHO Date: Sun, 7 Dec 2008 23:11:41 +0900 Subject: [PATCH] Auto commit by The Sugar System. --- dot-files/_xinitrc | 42 ++++++++++++++++++++++++++++++++++++++++++ tools/list-files.pl | 6 +++--- 2 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 dot-files/_xinitrc diff --git a/dot-files/_xinitrc b/dot-files/_xinitrc new file mode 100644 index 0000000..292ac23 --- /dev/null +++ b/dot-files/_xinitrc @@ -0,0 +1,42 @@ +#!/bin/sh +# $Id: xinitrc,v 1.2 2003/02/27 19:03:30 jharper Exp $ + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps + +xset fp+ /usr/local/lib/X11/fonts/Unicode +xset fp rehash + +if [ -f $sysresources ]; then + xrdb -merge $sysresources +fi + +if [ -f $sysmodmap ]; then + xmodmap $sysmodmap +fi + +if [ -f $userresources ]; then + xrdb -merge $userresources +fi + +if [ -f $usermodmap ]; then + xmodmap $usermodmap +fi + +# setup environments +if [ -d "/usr/pkg/bin" ]; then + PATH="/usr/pkg/bin:$PATH"; export PATH +fi + +LANG="ja_JP.UTF-8"; export LANG +GTK_IM_MODULE="uim"; export GTK_IM_MODULE + +# start the window manager +if which quartz-wm 2>&1 >/dev/null; then + quartz-wm --only-proxy & +fi +exec fluxbox diff --git a/tools/list-files.pl b/tools/list-files.pl index 673d43b..c736839 100644 --- a/tools/list-files.pl +++ b/tools/list-files.pl @@ -44,7 +44,7 @@ sub find { my $rel = File::Spec->abs2rel($abs, $base); next if any { $rel =~ m/$_/ } @RE_IGNORED; - next if !-f $abs; + next if !-e $abs; if (-d $abs) { push @d, find($base, $rel); @@ -92,7 +92,8 @@ __DATA__ .localized .mozilla .mpd -.mplayer +.mplayer/DVDKeys* +.mplayer/skins* .nautilus .navi2ch .nh-todo @@ -112,7 +113,6 @@ __DATA__ .uim.d .unison .viminfo -.w3m .xchat2* .zcomp* .zfunc -- 2.40.0