Commit ef553b77 by PotatoGim

perlsupport 주석 갱신

parent d8fbf6fe
......@@ -31,8 +31,10 @@ URxvt.preeditType: OnTheSpot
URxvt.imLocale: ko_KR.UTF-8
! Fonts
URxvt.font: xft:NanumGothicCoding:style=Regular:pixelsize=14
URxvt.boldFont: xft:NanumGothicCoding:style=Bold:pixelsize=14
URxvt.font: xft:NanumGothicCoding:style=Regular:pixelsize=17
URxvt*boldFont: xft:NanumGothicCoding:Style=Bold:pixelsize=17
URxvt*italicFont: xft:NanumGothicCoding:Style=Italic:pixelsize=17
URxvt*boldItalicFont: xft:NanumGothicCoding:Style=Bold\ Italic:pixelsize=17
! Scroll
URxvt.scrollBar: false
......
pointer = 1 2 3
pointer = 1 2 3 5 4 6 7 8 9 10 11 12
......@@ -34,10 +34,8 @@ fi
##### For UIM
export GTK_IM_MODULE="uim"
export QT_IM_MODULE="uim"
uim-xim &
uim-toolbar-gtk3-systray &
export XMODIFIERS="@im=uim"
export XIM="uim"
export XMODIFIERS="@im=uim"
##### Keymap
......@@ -54,12 +52,17 @@ xloadimage -onroot -fullscreen /home/potatogim/Theme/wallpapers/ArchLinux/arch-l
xscreensaver -no-splash &
##### Session
##### Tray
trayer --edge top --align right --SetDockType false --SetPartialStrut true \
--expand true --transparent true --alpha 0 --tint 0x1B1D1E --widthtype pixel \
--width 200 --height 20 --margin 520 &
##### Run UIM
uim-xim &
uim-toolbar-gtk3 &
##### Open the session
exec xmonad
# exec openbox-session
......
......@@ -4,10 +4,21 @@
#
# PotatoGim's bashrc
#
# Author : PotatoGim (potatogim@potatogim.net)
# Author : PotatoGim <potatogim@potatogim.net>
# Date : can't remember that, but maybe that around July 2013.
#
############################################################################
#---------------------------------------------------------------------------
# Functions
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
# Description : Make tags using ctags with C sources
# Authors : Gim Ji-Hyeon <potatogim@gluesys.com>
# Written at :
# Parameters : none
#---------------------------------------------------------------------------
function mkctags
{
rm -f tags cscope.files cscope.out
......@@ -25,6 +36,12 @@ function mkctags
cscope -i cscope.files
}
#---------------------------------------------------------------------------
# Description : Make tags using ctags with C++ sources
# Authors : Gim Ji-Hyeon <potatogim@gluesys.com>
# Written at :
# Parameters : none
#---------------------------------------------------------------------------
function mkcpptags
{
rm -f tags cscope.files cscope.out
......@@ -47,6 +64,12 @@ function mkcpptags
cscope -i cscope.files
}
#---------------------------------------------------------------------------
# Description : Make tags using ctags with perl sources
# Authors : Gim Ji-Hyeon <potatogim@gluesys.com>
# Written at :
# Parameters : none
#---------------------------------------------------------------------------
function mkperltags
{
rm -f tags cscope.files cscope.out
......@@ -62,6 +85,13 @@ function mkperltags
cscope -b -q -i cscope.files
}
#---------------------------------------------------------------------------
# Description : Make tags using ctags with default headers
# Authors : Gim Ji-Hyeon <potatogim@gluesys.com>
# Written at :
# Parameters : none
#---------------------------------------------------------------------------
function mkgtags
{
ctags --sort=yes --c++-kinds=+p --fields=+iaS --extra=+q --recurse -f${HOME}/.ctags/c++ /usr/include/c++
......@@ -69,47 +99,37 @@ function mkgtags
ctags --sort=yes --c++-kinds=+p --fields=+iaS --extra=+q --recurse -f${HOME}/.ctags/qt4 /usr/include/qt4
}
#---------------------------------------------------------------------------
# Description : Run vmplayer
# Authors : Gim Ji-Hyeon <potatogim@gluesys.com>
# Written at :
# Parameters : none
#---------------------------------------------------------------------------
function pg_runvm
{
vmrun -T player start "/mnt/potatovm/Windows\ 7\ x64/Windows\ 7\ x64.vmx" nogui
}
#---------------------------------------------------------------------------
# Description : Run x11vnc
# Authors : Gim Ji-Hyeon <potatogim@gluesys.com>
# Written at :
# Parameters : none
#---------------------------------------------------------------------------
function pg_runvnc
{
x11vnc -rfbauth /home/potatogim/.vnc/passwd -display :0 -shared -forever \
-solid red -ncache 10 -o ~/.vnc/log -bg &
}
function pg_hgpush
{
if [ -z "$1" ]; then
echo "Usage: $0 \"[Fixed] SegFault is fixed.\"\n
\rError: Must need a description for commiting."
exit
fi
for name in `ls -1`; do
if [ -d $name ]; then
cd ~/workspace/pgrepo/$name
hg addrem
hg commit -m ""
hg push
cd ~/workspace/pgrepo
echo "Finish to commit and push $name repo!"
echo
fi
done
}
############################################################################
#---------------------------------------------------------------------------
# Description : Rename VM on VMware ESXi Server
# Authors : Gim Ji-Hyeon (potatogim@gluesys.com)
# Authors : Gim Ji-Hyeon <potatogim@gluesys.com>
# Written at : Tue Aug 27 08:09:28 UTC 2013
# Parameters :
# $1 : from
# $2 : to
############################################################################
#---------------------------------------------------------------------------
function pg_renamevm
{
from_dir="$1"
......@@ -141,9 +161,10 @@ function pg_renamevm
############################################################################
#
# Environment Variables
#
############################################################################
export HISTSIZE=10240000
export HISTTIMEFORMAT="%Y-%m-%d [%T] "
export HISTCONTROL=ignoreboth:erasedups
......@@ -156,15 +177,16 @@ export PS4="+ "
export _JAVA_AWT_WM_NONREPARENTING=1
# Perl5 사용자 설정
export PATH="$HOME/.perl5/bin${PATH+:}$PATH"
export PERL5LIB="$HOME/.perl5/lib/perl5${PERL5LIB+:}$PERL5LIB"
export PERL_LOCAL_LIB_ROOT="$HOME/.perl5${PERL_LOCAL_LIB_ROOT+:}$PERL_LOCAL_LIB_ROOT"
export PERL_MB_OPT="--install_base \"$HOME/.perl5\""
export PERL_MM_OPT="INSTALL_BASE=$HOME/.perl5"
export PATH="$HOME/.perl5/bin${PATH+:}$PATH";
export PERL5LIB="$HOME/.perl5/lib/perl5${PERL5LIB+:}$PERL5LIB";
export PERL_LOCAL_LIB_ROOT="$HOME/.perl5${PERL_LOCAL_LIB_ROOT+:}$PERL_LOCAL_LIB_ROOT";
export PERL_MB_OPT="--install_base \"$HOME/.perl5\"";
export PERL_MM_OPT="INSTALL_BASE=$HOME/.perl5";
export PERLBREW_PATH="$HOME/.perl5/perlbrew/bin${PERLBREW_PATH+:}$PERLBREW_PATH";
export PERLBREW_ROOT="$HOME/.perl5/perlbrew${PERLBREW_ROOT+:}$PERLBREW_ROOT";
export PERLBREW_HOME="$HOME/.perl5/perlbrew${PERLBREW_HOME+:}$PERLBREW_HOME";
# mtpfs를 사용해서 안드로이드 기기를 마운트
alias android-connect="mtpfs -o allow_other /media/android"
alias android-disconnect="sudo umount -u /media/android"
[ -r $PERLBREW_ROOT/etc/bashrc ] && [ -n $BASH_VERSION ] && . $PERLBREW_ROOT/etc/bashrc;
alias l.="ls -d .* --color=auto"
alias ll="ls -l --color=auto"
......@@ -178,7 +200,7 @@ function cd()
builtin cd "$@";
if [[ "x$TMUX" != "x" ]]; then
tmux rename-window "${PWD##*/}";
tmux rename-window "${PWD/#${HOME}/~}";
fi;
}
......
......@@ -54,7 +54,7 @@ myFontStyle = " -fn 'xft: NanumGothicCoding:pixelsize=14:style=bold:antialia
myXmonadBar = "dzen2 -x '0' -y '0' -h '20' -w '1200' -ta 'l' -fg '#FFFFFF' -bg '#1B1D1E'" ++ myFontStyle
myStatusBar = "conky -c /home/potatogim/.xmonad/conky4dzen | dzen2 -x '1400' -y '0' -w '520' -h '20' -ta 'r' -bg '#1B1D1E' -fg '#FFFFFF'" ++ myFontStyle
myBitmapsDir = "/home/potatogim/.xmonad/dzen2"
myTerminal = "gnome-terminal"
myTerminal = "terminator"
myModMask = mod4Mask
myLayoutHook = avoidStruts $ smartBorders (tiled ||| Mirror tiled ||| Full ||| simpleFloat)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment