-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e5da92b
Showing
8 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "dotbot"] | ||
path = dotbot | ||
url = https://github.com/anishathalye/dotbot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# | ||
# ~/.bash_logout | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# ~/.bash_profile | ||
# | ||
|
||
[[ -f ~/.extend.bash_profile ]] && . ~/.extend.bash_profile | ||
[[ -f ~/.bashrc ]] && . ~/.bashrc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# | ||
# ~/.bashrc | ||
# | ||
|
||
|
||
[[ $- != *i* ]] && return | ||
|
||
colors() { | ||
local fgc bgc vals seq0 | ||
|
||
printf "Color escapes are %s\n" '\e[${value};...;${value}m' | ||
printf "Values 30..37 are \e[33mforeground colors\e[m\n" | ||
printf "Values 40..47 are \e[43mbackground colors\e[m\n" | ||
printf "Value 1 gives a \e[1mbold-faced look\e[m\n\n" | ||
|
||
# foreground colors | ||
for fgc in {30..37}; do | ||
# background colors | ||
for bgc in {40..47}; do | ||
fgc=${fgc#37} # white | ||
bgc=${bgc#40} # black | ||
|
||
vals="${fgc:+$fgc;}${bgc}" | ||
vals=${vals%%;} | ||
|
||
seq0="${vals:+\e[${vals}m}" | ||
printf " %-9s" "${seq0:-(default)}" | ||
printf " ${seq0}TEXT\e[m" | ||
printf " \e[${vals:+${vals+$vals;}}1mBOLD\e[m" | ||
done | ||
echo; echo | ||
done | ||
} | ||
|
||
[[ -f ~/.extend.bashrc ]] && . ~/.extend.bashrc | ||
|
||
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion | ||
|
||
alias fixit="sudo rm -f /var/lib/pacman/db.lck && sudo pacman -Syyuu && sudo pacman -Suu" | ||
|
||
#fish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
CONFIG="install.conf.yaml" | ||
DOTBOT_DIR="dotbot" | ||
|
||
DOTBOT_BIN="bin/dotbot" | ||
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
|
||
cd "${BASEDIR}" | ||
git submodule update --init --recursive "${DOTBOT_DIR}" | ||
|
||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- clean: ['~'] | ||
|
||
- link: | ||
~/.bash_profile: bash_profile | ||
~/.bashrc: bashrc | ||
~/.bash_logout: bash_logout | ||
~/.xinitrc: xinitrc | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
#!/bin/sh | ||
|
||
# | ||
# ~/.xinitrc | ||
# | ||
# Executed by startx (run your window manager from here) | ||
# | ||
|
||
export GTK2_RC_FILES="$HOME/.gtkrc-2.0" | ||
|
||
DEFAULT_SESSION=xfce4-session | ||
case $1 in | ||
xfce) exec dbus-launch xfce4-session ;; | ||
*) exec dbus-launch $DEFAULT_SESSION ;; | ||
esac |