Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # global colors ("colors" file is in PATH)
- . colors
- # my monitors (as seen by xrandr)
- . screens
- ###################
- ### .Xresources ###
- ###################
- cat > ~/.Xresources <<EOF
- Xft.antialias: 1
- Xft.autohint: 0
- Xft.hinting: 1
- Xft.hintstyle: hintfull
- XTerm*metaSendsEscape: true
- XTerm*allowBoldFonts: false
- XTerm*cutNewline: false
- XTerm*font: -*-fixed-medium-r-normal-*-13-*-*-*-*-80-iso10646-1
- XTerm*internalBorder: 5
- XTerm*saveLines: 1000
- XTerm*utf8: true
- XTerm*iconBorderWidth: 0
- XTerm*borderWidth: 0
- XTerm*foreground: $XTERM7
- XTerm*background: $XTERM0
- XTerm*cursorColor: $XTERM1
- XTerm*pointerColor: $XTERM1
- !black
- XTerm*color0: $XTERM0
- XTerm*color8: $XTERM8
- !red
- XTerm*color1: $XTERM1
- XTerm*color9: $XTERM9
- !green
- XTerm*color2: $XTERM2
- XTerm*color10: $XTERM10
- !brown/yellow
- XTerm*color3: $XTERM3
- XTerm*color11: $XTERM11
- !blue
- XTerm*color4: $XTERM4
- XTerm*color12: $XTERM12
- !magenta
- XTerm*color5: $XTERM5
- XTerm*color13: $XTERM13
- !cyan
- XTerm*color6: $XTERM6
- XTerm*color14: $XTERM14
- !white
- XTerm*color7: $XTERM7
- XTerm*color15: $XTERM15
- EOF
- ################
- ### .inputrc ###
- ################
- cat > ~/.inputrc <<EOF
- # command completion with colors
- set colored-stats on
- EOF
- #################
- ### .xprofile ###
- #################
- cat > ~/.xprofile <<EOF
- source ~/.bash_profile
- setxkbmap es
- xrandr --dpi 96
- xrandr --output $PRIMARY --primary
- xrandr --output $HDMI --off
- EOF
- #####################
- ### .bash_profile ###
- #####################
- cat > ~/.bash_profile <<EOF
- export PATH=\$PATH:/home/tigre/Scripts
- export EDITOR="nano"
- source ~/.bashrc
- EOF
- ###############
- ### .bashrc ###
- ###############
- cat > ~/.bashrc <<EOF
- alias ls="/bin/ls --group-directories-first -v --color=auto"
- alias ll="/bin/ls --group-directories-first -lvh --color=auto"
- eval \$(dircolors -b ~/.dircolors)
- shopt -s checkwinsize
- if [[ \$UID == "0" ]]
- then
- PS1='\[\e[1;31m\]\u@\h \w \\$\[\e[0m\] '
- else
- PS1='\[\e[1;32m\]\u@\h \w \\$\[\e[0m\] '
- fi
- EOF
- ########################
- ### .cmus/cmus.theme ###
- ########################
- mkdir ~/.cmus
- cat > ~/.cmus/cmus.theme <<EOF
- set color_cmdline_bg=0
- set color_cmdline_fg=1
- set color_error=3
- set color_info=3
- set color_separator=15
- set color_statusline_bg=0
- set color_statusline_fg=5
- set color_titleline_bg=0
- set color_titleline_fg=5
- set color_win_bg=0
- set color_win_cur=1
- set color_win_cur_sel_bg=1
- set color_win_cur_sel_fg=0
- set color_win_dir=4
- set color_win_fg=15
- set color_win_inactive_cur_sel_bg=0
- set color_win_inactive_cur_sel_fg=6
- set color_win_inactive_sel_bg=0
- set color_win_inactive_sel_fg=6
- set color_win_sel_bg=0
- set color_win_sel_fg=6
- set color_win_title_bg=0
- set color_win_title_fg=0
- EOF
- ###############
- ### .nanorc ###
- ###############
- cat > ~/.nanorc <<EOF
- set autoindent
- set const
- set nowrap
- set smarthome
- set smooth
- set softwrap
- set tabsize 2
- set tabstospaces
- include "/usr/share/nano/nanorc.nanorc"
- include "/usr/share/nano/c.nanorc"
- include "/usr/share/nano/makefile.nanorc"
- include "/usr/share/nano/css.nanorc"
- include "/usr/share/nano/html.nanorc"
- include "/usr/share/nano/perl.nanorc"
- include "/usr/share/nano/python.nanorc"
- include "/usr/share/nano/ruby.nanorc"
- include "/usr/share/nano/awk.nanorc"
- include "/usr/share/nano/sh.nanorc"
- include "/usr/share/nano/xml.nanorc"
- EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement