shell files added

This commit is contained in:
KAiZ 2019-11-07 09:52:38 +05:30
parent 48af1fafa9
commit c53a348af8
2 changed files with 156 additions and 0 deletions

79
w32-make.sh Executable file
View file

@ -0,0 +1,79 @@
#!/bin/sh
THEME=Suru
DIR="../"
# $@ is for the caller to be able to supply arguments to anicursorgen (-s, in particular)
GEN=../anicursorgen.py\ "$@"
# enter bitmaps folder
cd bitmaps
if [ ! -d "$DIR/$THEME/win" ]; then
mkdir -p $DIR/$THEME/win
fi
${GEN} --no-shadows tcross$s.in $DIR/$THEME/win/tcross.cur
${GEN} all-scroll$s.in $DIR/$THEME/win/all-scroll.cur
# ${GEN} based_arrow_down$s.in $DIR/$THEME/win/based_arrow_down.cur
# ${GEN} based_arrow_up$s.in $DIR/$THEME/win/based_arrow_up.cur
${GEN} bd_double_arrow$s.in $DIR/$THEME/win/bd_double_arrow.cur
${GEN} bottom_left_corner$s.in $DIR/$THEME/win/bottom_left_corner.cur
${GEN} bottom_right_corner$s.in $DIR/$THEME/win/bottom_right_corner.cur
${GEN} bottom_side$s.in $DIR/$THEME/win/bottom_side.cur
${GEN} bottom_tee$s.in $DIR/$THEME/win/bottom_tee.cur
# ${GEN} center_ptr$s.in $DIR/$THEME/win/center_ptr.cur
${GEN} circle$s.in $DIR/$THEME/win/circle.cur
${GEN} context-menu$s.in $DIR/$THEME/win/context-menu.cur
${GEN} copy$s.in $DIR/$THEME/win/copy.cur
${GEN} cross$s.in $DIR/$THEME/win/cross.cur
${GEN} crossed_circle$s.in $DIR/$THEME/win/crossed_circle.cur
${GEN} crosshair$s.in $DIR/$THEME/win/cell.cur
${GEN} dnd-ask$s.in $DIR/$THEME/win/dnd-ask.cur
${GEN} dnd-copy$s.in $DIR/$THEME/win/dnd-copy.cur
${GEN} dnd-link$s.in $DIR/$THEME/win/dnd-link.cur
${GEN} dnd-move$s.in $DIR/$THEME/win/dnd-move.cur
${GEN} dnd-no-drop$s.in $DIR/$THEME/win/dnd-no-drop.cur
${GEN} dnd-none$s.in $DIR/$THEME/win/dnd-none.cur
${GEN} dotbox$s.in $DIR/$THEME/win/dotbox.cur
${GEN} fd_double_arrow$s.in $DIR/$THEME/win/fd_double_arrow.cur
${GEN} grabbing$s.in $DIR/$THEME/win/grabbing.cur
${GEN} hand1$s.in $DIR/$THEME/win/hand1.cur
${GEN} hand2$s.in $DIR/$THEME/win/hand2.cur
${GEN} left_ptr$s.in $DIR/$THEME/win/left_ptr.cur
${GEN} left_ptr_watch$s.in $DIR/$THEME/win/left_ptr_watch.ani
${GEN} left_side$s.in $DIR/$THEME/win/left_side.cur
${GEN} left_tee$s.in $DIR/$THEME/win/left_tee.cur
${GEN} link$s.in $DIR/$THEME/win/link.cur
${GEN} ll_angle$s.in $DIR/$THEME/win/ll_angle.cur
${GEN} lr_angle$s.in $DIR/$THEME/win/lr_angle.cur
${GEN} move$s.in $DIR/$THEME/win/move.cur
${GEN} pencil$s.in $DIR/$THEME/win/pencil.cur
${GEN} plus$s.in $DIR/$THEME/win/plus.cur
${GEN} pointer-move$s.in $DIR/$THEME/win/pointer-move.cur
${GEN} question_arrow$s.in $DIR/$THEME/win/question_arrow.cur
${GEN} right_ptr$s.in $DIR/$THEME/win/right_ptr.cur
${GEN} right_side$s.in $DIR/$THEME/win/right_side.cur
${GEN} right_tee$s.in $DIR/$THEME/win/right_tee.cur
${GEN} sb_down_arrow$s.in $DIR/$THEME/win/sb_down_arrow.cur
${GEN} sb_h_double_arrow$s.in $DIR/$THEME/win/sb_h_double_arrow.cur
${GEN} sb_left_arrow$s.in $DIR/$THEME/win/sb_left_arrow.cur
${GEN} sb_right_arrow$s.in $DIR/$THEME/win/sb_right_arrow.cur
${GEN} sb_up_arrow$s.in $DIR/$THEME/win/sb_up_arrow.cur
${GEN} sb_v_double_arrow$s.in $DIR/$THEME/win/sb_v_double_arrow.cur
${GEN} top_left_corner$s.in $DIR/$THEME/win/top_left_corner.cur
${GEN} top_right_corner$s.in $DIR/$THEME/win/top_right_corner.cur
${GEN} top_side$s.in $DIR/$THEME/win/top_side.cur
${GEN} top_tee$s.in $DIR/$THEME/win/top_tee.cur
${GEN} ul_angle$s.in $DIR/$THEME/win/ul_angle.cur
${GEN} ur_angle$s.in $DIR/$THEME/win/ur_angle.cur
${GEN} vertical-text$s.in $DIR/$THEME/win/vertical-text.cur
${GEN} watch$s.in $DIR/$THEME/win/watch.ani
${GEN} X_cursor$s.in $DIR/$THEME/win/X_cursor.cur
${GEN} xterm$s.in $DIR/$THEME/win/xterm.cur
${GEN} zoom-in$s.in $DIR/$THEME/win/zoom-in.cur
${GEN} zoom-out$s.in $DIR/$THEME/win/zoom-out.cur
# go back up
cd ..

77
x11-make.sh Executable file
View file

@ -0,0 +1,77 @@
#!/bin/sh
THEME=Suru
DIR="../"
# enter bitmaps folder
cd bitmaps
# if cursors folder doesn't exist
if [ ! -d "$DIR/$THEME/cursors" ]; then
mkdir -p $DIR/$THEME/cursors
fi
xcursorgen all-scroll.in $DIR/$THEME/cursors/all-scroll
# xcursorgen based_arrow_down.in $DIR/$THEME/cursors/based_arrow_down
# xcursorgen based_arrow_up.in $DIR/$THEME/cursors/based_arrow_up
xcursorgen bd_double_arrow.in $DIR/$THEME/cursors/bd_double_arrow
xcursorgen bottom_left_corner.in $DIR/$THEME/cursors/bottom_left_corner
xcursorgen bottom_right_corner.in $DIR/$THEME/cursors/bottom_right_corner
xcursorgen bottom_side.in $DIR/$THEME/cursors/bottom_side
xcursorgen bottom_tee.in $DIR/$THEME/cursors/bottom_tee
# xcursorgen center_ptr.in $DIR/$THEME/cursors/center_ptr
xcursorgen circle.in $DIR/$THEME/cursors/circle
xcursorgen context-menu.in $DIR/$THEME/cursors/context-menu
xcursorgen copy.in $DIR/$THEME/cursors/copy
xcursorgen cross.in $DIR/$THEME/cursors/cross
xcursorgen crossed_circle.in $DIR/$THEME/cursors/crossed_circle
xcursorgen crosshair.in $DIR/$THEME/cursors/cell
# xcursorgen crosshair.in $DIR/$THEME/cursors/crosshair
xcursorgen dnd-ask.in $DIR/$THEME/cursors/dnd-ask
xcursorgen dnd-copy.in $DIR/$THEME/cursors/dnd-copy
xcursorgen dnd-link.in $DIR/$THEME/cursors/dnd-link
xcursorgen dnd-move.in $DIR/$THEME/cursors/dnd-move
xcursorgen dnd-no-drop.in $DIR/$THEME/cursors/dnd-no-drop
xcursorgen dnd-none.in $DIR/$THEME/cursors/dnd-none
xcursorgen dotbox.in $DIR/$THEME/cursors/dotbox
xcursorgen fd_double_arrow.in $DIR/$THEME/cursors/fd_double_arrow
xcursorgen grabbing.in $DIR/$THEME/cursors/grabbing
xcursorgen hand1.in $DIR/$THEME/cursors/hand1
xcursorgen hand2.in $DIR/$THEME/cursors/hand2
xcursorgen left_ptr.in $DIR/$THEME/cursors/left_ptr
xcursorgen left_ptr_watch.in $DIR/$THEME/cursors/left_ptr_watch
xcursorgen left_side.in $DIR/$THEME/cursors/left_side
xcursorgen left_tee.in $DIR/$THEME/cursors/left_tee
xcursorgen link.in $DIR/$THEME/cursors/link
xcursorgen ll_angle.in $DIR/$THEME/cursors/ll_angle
xcursorgen lr_angle.in $DIR/$THEME/cursors/lr_angle
xcursorgen move.in $DIR/$THEME/cursors/move
xcursorgen pencil.in $DIR/$THEME/cursors/pencil
xcursorgen plus.in $DIR/$THEME/cursors/plus
xcursorgen pointer-move.in $DIR/$THEME/cursors/pointer-move
xcursorgen question_arrow.in $DIR/$THEME/cursors/question_arrow
xcursorgen right_ptr.in $DIR/$THEME/cursors/right_ptr
xcursorgen right_side.in $DIR/$THEME/cursors/right_side
xcursorgen right_tee.in $DIR/$THEME/cursors/right_tee
xcursorgen sb_down_arrow.in $DIR/$THEME/cursors/sb_down_arrow
xcursorgen sb_h_double_arrow.in $DIR/$THEME/cursors/sb_h_double_arrow
xcursorgen sb_left_arrow.in $DIR/$THEME/cursors/sb_left_arrow
xcursorgen sb_right_arrow.in $DIR/$THEME/cursors/sb_right_arrow
xcursorgen sb_up_arrow.in $DIR/$THEME/cursors/sb_up_arrow
xcursorgen sb_v_double_arrow.in $DIR/$THEME/cursors/sb_v_double_arrow
xcursorgen tcross.in $DIR/$THEME/cursors/tcross
xcursorgen top_left_corner.in $DIR/$THEME/cursors/top_left_corner
xcursorgen top_right_corner.in $DIR/$THEME/cursors/top_right_corner
xcursorgen top_side.in $DIR/$THEME/cursors/top_side
xcursorgen top_tee.in $DIR/$THEME/cursors/top_tee
xcursorgen ul_angle.in $DIR/$THEME/cursors/ul_angle
xcursorgen ur_angle.in $DIR/$THEME/cursors/ur_angle
xcursorgen vertical-text.in $DIR/$THEME/cursors/vertical-text
xcursorgen watch.in $DIR/$THEME/cursors/watch
xcursorgen X_cursor.in $DIR/$THEME/cursors/X_cursor
xcursorgen xterm.in $DIR/$THEME/cursors/xterm
xcursorgen zoom-in.in $DIR/$THEME/cursors/zoom-in
xcursorgen zoom-out.in $DIR/$THEME/cursors/zoom-out
# go back up one
cd ..