Skip to content

Commit 6f27e8c

Browse files
committed
ignore files of .deb, .zip, .tar.gz, .tar.bz2.
Former-commit-id: 24c594e5098d6f72798eb7ad330e71c6d3983d8f
1 parent b42674c commit 6f27e8c

File tree

134 files changed

+47407
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+47407
-68
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*.deb
2+
*.zip
3+
*.tar.gz
4+
*.tar.bz2

Makefile

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
#TYPE=desktop
2+
TYPE=server
3+
4+
# Init.
5+
6+
DIR_BAK=${HOME}/.tuxENV.bak.${TIMESTAMP}
7+
TIMESTAMP=`date "+%Y-%m-%d-%H:%M:%S"`
8+
9+
DIR_BIN=${HOME}/bin
10+
DIR_VCS=${HOME}/vcs
11+
12+
# - Bash
13+
FILE_BASHRC=${HOME}/.bashrc
14+
FILE_BASH_ALIASES=${HOME}/.bash_aliases
15+
FILE_BASH_EXPORT=${HOME}/.bash_export
16+
FILE_BASH_PROFILE=${HOME}/.bash_profile
17+
18+
# - Tools
19+
FILE_SCREENRC=${HOME}/.screenrc
20+
FILE_TMUXRC=${HOME}/.tmux.conf
21+
22+
# - Desktop
23+
FILE_AWOKENRC=${HOME}/.AwOkenrc
24+
FILE_EVILWMRC=${HOME}/.xinitrc
25+
FILE_FONTSRC=${HOME}/.fonts.conf
26+
FILE_MUTTATORRC=${HOME}/.muttatorrc
27+
FILE_PENTADACTYLRC=${HOME}/.pentadactylrc
28+
29+
# - URxvt
30+
FILE_ICONS=${HOME}/.icons
31+
FILE_URXVT=${HOME}/.urxvt
32+
FILE_URXVTRC=${HOME}/.Xdefaults
33+
34+
35+
.PHONY: backup install update
36+
37+
all: backup install
38+
39+
backup:
40+
@echo '=> Backup start.'
41+
rm -rf ${HOME}/.tuxENV.bak/
42+
mkdir ${DIR_BAK}
43+
# Bash
44+
mv ${FILE_BASH_ALIASES} ${DIR_BAK}/
45+
mv ${FILE_BASH_EXPORT} ${DIR_BAK}/
46+
mv ${FILE_BASH_PROFILE} ${DIR_BAK}/
47+
mv ${FILE_BASHRC} ${DIR_BAK}/
48+
# Tools
49+
mv ${FILE_SCREENRC} ${DIR_BAK}/
50+
mv ${FILE_TMUXRC} ${DIR_BAK}/
51+
ifeq ($(TYPE), desktop)
52+
mv ${FILE_AWOKENRC} ${DIR_BAK}/
53+
mv ${FILE_EVILWMRC} ${DIR_BAK}/
54+
mv ${FILE_FONTSRC} ${DIR_BAK}/
55+
mv ${FILE_MUTTATORRC} ${DIR_BAK}/
56+
mv ${FILE_PENTADACTYLRC} ${DIR_BAK}/
57+
mv ${FILE_URXVTRC} ${DIR_BAK}/
58+
endif
59+
@echo '=> Done.'
60+
@echo ''
61+
62+
install:
63+
@echo '=> Install start.'
64+
cat home/_bash_aliases > ${FILE_BASH_ALIASES}
65+
cat home/_bash_export > ${FILE_BASH_EXPORT}
66+
cat home/_bash_profile > ${FILE_BASH_PROFILE}
67+
cat home/_bashrc > ${FILE_BASHRC}
68+
cat home/_screenrc > ${FILE_SCREENRC}
69+
cat home/_tmux.conf > ${FILE_TMUXRC}
70+
cp -a home/bin/ ${DIR_BIN}
71+
ifeq ($(TYPE), desktop)
72+
@echo '==> Install with desktop.'
73+
cat home/_fonts.conf > ${FILE_FONTSRC}
74+
cat home/_muttatorrc > ${FILE_MUTTATORRC}
75+
cat home/_pentadactylrc > ${FILE_PENTADACTYLRC}
76+
cat home/_xinitrc > ${FILE_EVILWMRC}
77+
cat home/_AwOkenrc > ${FILE_AWOKENRC}
78+
# URxvt
79+
cat home/_Xdefaults > ${FILE_URXVTRC}
80+
-rsync -aqz home/_urxvt/ ${FILE_URXVT}
81+
-rsync -aqz home/_icons/128x128terminal.png ${FILE_ICONS}/128x128terminal.png
82+
endif
83+
@echo '=> Done.'
84+
@echo ''
85+
86+
update:
87+
@echo '=> Updating start.'
88+
# - Bash.
89+
rsync -aqz home/_bash_aliases ${FILE_BASH_ALIASES}
90+
rsync -aqz home/_bash_export ${FILE_BASH_EXPORT}
91+
rsync -aqz home/_bash_profile ${FILE_BASH_PROFILE}
92+
rsync -aqz home/_bashrc ${FILE_BASHRC}
93+
# - Tools.
94+
rsync -aqz home/_screenrc ${FILE_SCREENRC}
95+
rsync -aqz home/_tmux.conf ${FILE_TMUXRC}
96+
rsync -aqz home/bin/ ${DIR_BIN}
97+
ifeq ($(TYPE), desktop)
98+
@echo '==> Updating with desktop.'
99+
rsync -aqz home/_AwOkenrc ${FILE_AWOKENRC}
100+
rsync -aqz home/_fonts.conf ${FILE_FONTSRC}
101+
rsync -aqz home/_muttatorrc ${FILE_MUTTATORRC}
102+
rsync -aqz home/_pentadactylrc ${FILE_PENTADACTYLRC}
103+
rsync -aqz home/_xinitrc ${FILE_EVILWMRC}
104+
# URxvt
105+
rsync -aqz home/_Xdefaults ${FILE_URXVTRC}
106+
rsync -aqz home/_urxvt/ ${FILE_URXVT}
107+
rsync -aqz home/_icons/128x128terminal.png ${FILE_ICONS}/128x128terminal.png
108+
endif
109+
@echo '=> Done.'
110+
@echo ''

Makefile.REMOVED.git-id

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# My Linux Environment
2+
3+
- Author: [Chu-Siang Lai (凍仁翔)](http://note.drx.tw/)
4+
- Build Date: 2013/02/07
5+
- Version: 1.1
6+
7+
If you like Vim, you can see my [vimrc](https://github.com/chusiang/vimrc).
8+
9+
## Setup
10+
11+
Clone tuxENV.
12+
13+
git clone [email protected]:chusiang/tuxENV.git
14+
cd tuxENV/
15+
16+
Install
17+
18+
make install
19+
20+
Update
21+
22+
make update
23+
24+
Backup
25+
26+
make backup
27+
28+
## Files List
29+
30+
bash
31+
- _bash_aliases
32+
- _bash_export
33+
- _bash_profile
34+
- _bashrc
35+
36+
Vim-like
37+
- _muttatorrc
38+
- _pentadactylrc
39+
- _screenrc
40+
41+
rxvt-unicode
42+
- _Xdefaults
43+
- _urxvt/ext/fullscreen
44+
- _icon/128x128terminal.png
45+
46+
xinput
47+
- .xinput.d/
48+
- marble-scrolling.sh
49+
- trackpoint-scrolling.sh
50+
- wheel-scrolling.sh
51+
52+
Other
53+
- _AwOkenrc - AwOken Icon theme.
54+
- .xinitrc - EvilWM
55+

README.md.REMOVED.git-id

Lines changed: 0 additions & 1 deletion
This file was deleted.

etc/X11/xorg.conf-docking.20130412

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# nvidia-settings: X configuration file generated by nvidia-settings
2+
# nvidia-settings: version 304.64 (buildd@brahms) Wed Nov 7 10:32:05 UTC 2012
3+
4+
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
5+
# nvidia-xconfig: version 304.48 (pbuilder@cake) Wed Sep 12 10:54:51 UTC 2012
6+
7+
Section "ServerLayout"
8+
Identifier "Default Layout"
9+
Screen 0 "Screen0" 0 0
10+
InputDevice "TPPS/2 IBM TrackPoint"
11+
Option "Xinerama" "0"
12+
EndSection
13+
14+
Section "Files"
15+
EndSection
16+
17+
Section "InputDevice"
18+
Identifier "TPPS/2 IBM TrackPoint"
19+
Option "EmulateWheel" "true"
20+
Option "EmulateWheelButton" "2"
21+
Option "Emulate3Buttons" "true"
22+
Option "ZAxisMapping" "4 5"
23+
EndSection
24+
25+
Section "Monitor"
26+
Identifier "Monitor0"
27+
VendorName "Unknown"
28+
ModelName "Lenovo Group Limited"
29+
HorizSync 51.8 - 55.8
30+
VertRefresh 50.0 - 60.0
31+
Option "DPMS"
32+
EndSection
33+
34+
Section "Device"
35+
Identifier "Device0"
36+
Driver "nvidia"
37+
VendorName "NVIDIA Corporation"
38+
BoardName "NVS 3100M"
39+
Option "RegistryDwords" "EnableBrightnessControl=1"
40+
EndSection
41+
42+
Section "Screen"
43+
44+
# Removed Option "metamodes" "DFP: nvidia-auto-select +1920+0, CRT: nvidia-auto-select +0+0"
45+
# Removed Option "metamodes" "DFP: 1440x900_60 +1920+0, CRT: 1920x1080_60 +0+0"
46+
Identifier "Screen0"
47+
Device "Device0"
48+
Monitor "Monitor0"
49+
DefaultDepth 24
50+
Option "Stereo" "0"
51+
Option "nvidiaXineramaInfoOrder" "CRT-0"
52+
Option "metamodes" "DFP: 1440x900_60 +1920+0, CRT: 1920x1080_60 +0+0; DFP: nvidia-auto-select +0+0; DFP: 1440x900 +0+0; DFP: 1440x900_60 +0+0; DFP: 1440x900_50 +0+0; DFP: nvidia-auto-select +0+0; DFP: nvidia-auto-select +0+0; DFP: nvidia-auto-select +0+0; DFP: nvidia-auto-select +0+0; DFP: nvidia-auto-select +0+0"
53+
SubSection "Display"
54+
Depth 24
55+
EndSubSection
56+
EndSection
57+

etc/X11/xorg.conf-docking.20130412.REMOVED.git-id

Lines changed: 0 additions & 1 deletion
This file was deleted.

etc/X11/xorg.conf-docking.20130831

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# nvidia-settings: X configuration file generated by nvidia-settings
2+
# nvidia-settings: version 304.88 (pbuilder@cake) Wed Apr 3 08:58:25 UTC 2013
3+
4+
Section "ServerLayout"
5+
Identifier "Layout0"
6+
Screen 0 "Screen0" 0 0
7+
InputDevice "Keyboard0" "CoreKeyboard"
8+
InputDevice "Mouse0" "CorePointer"
9+
Option "Xinerama" "0"
10+
EndSection
11+
12+
Section "Files"
13+
EndSection
14+
15+
Section "InputDevice"
16+
# generated from default
17+
Identifier "Mouse0"
18+
Driver "mouse"
19+
Option "Protocol" "auto"
20+
Option "Device" "/dev/psaux"
21+
Option "Emulate3Buttons" "no"
22+
Option "ZAxisMapping" "4 5"
23+
EndSection
24+
25+
Section "InputDevice"
26+
# generated from default
27+
Identifier "Keyboard0"
28+
Driver "kbd"
29+
EndSection
30+
31+
Section "Monitor"
32+
# HorizSync source: edid, VertRefresh source: edid
33+
Identifier "Monitor0"
34+
VendorName "Unknown"
35+
ModelName "Lenovo Group Limited"
36+
HorizSync 51.8 - 55.8
37+
VertRefresh 50.0 - 60.0
38+
Option "DPMS"
39+
EndSection
40+
41+
Section "Device"
42+
Identifier "Device0"
43+
Driver "nvidia"
44+
VendorName "NVIDIA Corporation"
45+
BoardName "NVS 3100M"
46+
Option "RegistryDwords" "EnableBrightnessControl=1"
47+
EndSection
48+
49+
Section "Screen"
50+
Identifier "Screen0"
51+
Device "Device0"
52+
Monitor "Monitor0"
53+
DefaultDepth 24
54+
Option "Stereo" "0"
55+
Option "nvidiaXineramaInfoOrder" "CRT-0"
56+
Option "metamodes" "DFP: nvidia-auto-select +0+0, CRT: nvidia-auto-select +1440+0; DFP: 1440x900_50 +0+0; DFP: nvidia-auto-select +0+0; DFP: nvidia-auto-select +0+0; DFP: 1440x900 +0+0; DFP: nvidia-auto-select +0+0; DFP: nvidia-auto-select +0+0; DFP: 1440x900_60 +0+0; DFP: nvidia-auto-select +0+0; DFP: nvidia-auto-select +0+0; DFP: 1440x900 +1920+0, CRT: 1920x1080 +0+0"
57+
SubSection "Display"
58+
Depth 24
59+
EndSubSection
60+
EndSection
61+

etc/X11/xorg.conf-docking.20130831.REMOVED.git-id

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)