From 2cad1165fdd041233c0dc1919ab5c3a853bb846f Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Tue, 3 Apr 2018 11:22:16 -0500 Subject: [PATCH] Update to add nimble config, iTerm colors, fix bugs. --- .dailynotificationrc | 3 + .tmux.conf | 2 + jdb.itermcolors | 344 +++++++++++++++++++++++++++++++++++++++++++ nimble.ini | 3 + setup.sh | 19 ++- 5 files changed, 365 insertions(+), 6 deletions(-) create mode 100644 .dailynotificationrc create mode 100644 jdb.itermcolors create mode 100644 nimble.ini diff --git a/.dailynotificationrc b/.dailynotificationrc new file mode 100644 index 0000000..bae275c --- /dev/null +++ b/.dailynotificationrc @@ -0,0 +1,3 @@ +{ + "plansDirectory": "/Users/jbernard/projects/personal/personal-planning" +} diff --git a/.tmux.conf b/.tmux.conf index e599b97..68421b5 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -19,3 +19,5 @@ set -g status-left-length 70 set -g status-right '#[fg=green]][ #[fg=brightblue]%m-%d #[fg=brightgreen]%H:%M #[fg=green]]' set -g status-right-length 20 set -g repeat-time 0 + +new-session -s main diff --git a/jdb.itermcolors b/jdb.itermcolors new file mode 100644 index 0000000..d3957b4 --- /dev/null +++ b/jdb.itermcolors @@ -0,0 +1,344 @@ + + + + + Ansi 0 Color + + Alpha Component + 1 + Blue Component + 0.0 + Color Space + sRGB + Green Component + 0.0 + Red Component + 0.0 + + Ansi 1 Color + + Alpha Component + 1 + Blue Component + 0.15686275064945221 + Color Space + sRGB + Green Component + 0.094117648899555206 + Red Component + 0.61960786581039429 + + Ansi 10 Color + + Alpha Component + 1 + Blue Component + 0.54901963472366333 + Color Space + sRGB + Green Component + 0.73725491762161255 + Red Component + 0.48627451062202454 + + Ansi 11 Color + + Alpha Component + 1 + Blue Component + 0.58823531866073608 + Color Space + sRGB + Green Component + 0.9686274528503418 + Red Component + 1 + + Ansi 12 Color + + Alpha Component + 1 + Blue Component + 0.7450980544090271 + Color Space + sRGB + Green Component + 0.52549022436141968 + Red Component + 0.25490197539329529 + + Ansi 13 Color + + Alpha Component + 1 + Blue Component + 0.7450980544090271 + Color Space + sRGB + Green Component + 0.61960786581039429 + Red Component + 0.81176471710205078 + + Ansi 14 Color + + Alpha Component + 1 + Blue Component + 0.7450980544090271 + Color Space + sRGB + Green Component + 0.7450980544090271 + Red Component + 0.44313725829124451 + + Ansi 15 Color + + Alpha Component + 1 + Blue Component + 1 + Color Space + sRGB + Green Component + 1 + Red Component + 1 + + Ansi 2 Color + + Alpha Component + 1 + Blue Component + 0.0 + Color Space + sRGB + Green Component + 0.53333336114883423 + Red Component + 0.0 + + Ansi 3 Color + + Alpha Component + 1 + Blue Component + 0.21960784494876862 + Color Space + sRGB + Green Component + 0.54117649793624878 + Red Component + 0.58823531866073608 + + Ansi 4 Color + + Alpha Component + 1 + Blue Component + 0.44313725829124451 + Color Space + sRGB + Green Component + 0.25490197539329529 + Red Component + 0.25490197539329529 + + Ansi 5 Color + + Alpha Component + 1 + Blue Component + 0.3490196168422699 + Color Space + sRGB + Green Component + 0.23529411852359772 + Red Component + 0.58823531866073608 + + Ansi 6 Color + + Alpha Component + 1 + Blue Component + 0.47450980544090271 + Color Space + sRGB + Green Component + 0.5058823823928833 + Red Component + 0.25490197539329529 + + Ansi 7 Color + + Alpha Component + 1 + Blue Component + 0.7450980544090271 + Color Space + sRGB + Green Component + 0.7450980544090271 + Red Component + 0.7450980544090271 + + Ansi 8 Color + + Alpha Component + 1 + Blue Component + 0.40000000596046448 + Color Space + sRGB + Green Component + 0.40000000596046448 + Red Component + 0.40000000596046448 + + Ansi 9 Color + + Alpha Component + 1 + Blue Component + 0.44313725829124451 + Color Space + sRGB + Green Component + 0.3803921639919281 + Red Component + 0.81176471710205078 + + Background Color + + Alpha Component + 1 + Blue Component + 0.062745101749897003 + Color Space + sRGB + Green Component + 0.062745101749897003 + Red Component + 0.062745101749897003 + + Badge Color + + Alpha Component + 0.5 + Blue Component + 0.0 + Color Space + sRGB + Green Component + 0.1491314172744751 + Red Component + 1 + + Bold Color + + Alpha Component + 1 + Blue Component + 1 + Color Space + sRGB + Green Component + 1 + Red Component + 0.99999600648880005 + + Cursor Color + + Alpha Component + 1 + Blue Component + 0.83921569585800171 + Color Space + sRGB + Green Component + 0.83921569585800171 + Red Component + 0.83921569585800171 + + Cursor Guide Color + + Alpha Component + 0.25 + Blue Component + 1 + Color Space + sRGB + Green Component + 0.9268307089805603 + Red Component + 0.70213186740875244 + + Cursor Text Color + + Alpha Component + 1 + Blue Component + 1 + Color Space + sRGB + Green Component + 1 + Red Component + 0.99999600648880005 + + Foreground Color + + Alpha Component + 1 + Blue Component + 0.83921569585800171 + Color Space + sRGB + Green Component + 0.83921569585800171 + Red Component + 0.83921569585800171 + + Link Color + + Alpha Component + 1 + Blue Component + 0.73423302173614502 + Color Space + sRGB + Green Component + 0.35916060209274292 + Red Component + 0.0 + + Selected Text Color + + Alpha Component + 1 + Blue Component + 0.0 + Color Space + sRGB + Green Component + 0.0 + Red Component + 0.0 + + Selection Color + + Alpha Component + 1 + Blue Component + 1 + Color Space + sRGB + Green Component + 0.86970102787017822 + Red Component + 0.75813239812850952 + + + diff --git a/nimble.ini b/nimble.ini new file mode 100644 index 0000000..c3fb570 --- /dev/null +++ b/nimble.ini @@ -0,0 +1,3 @@ +[PackageList] +name = "git.jdb-labs.com" +url = "https://git.jdb-labs.com/jdb/nim-packages/raw/master/packages.json" diff --git a/setup.sh b/setup.sh index ae1c034..9afae39 100644 --- a/setup.sh +++ b/setup.sh @@ -1,12 +1,13 @@ #!env bash +DOTFILE_DIR="$(pwd)" + pushd ~ sudo apt-get update sudo apt-get install vim tmux git fluxbox aptitude default-jdk default-jdk-doc fontconfig apt-file thefuck libxft-dev python-setuptools vlc keepassx tree unison lilypond htop synaptic dmsetup suckless-tools sudo apt-file update mkdir ~/projects ~/programs ~/temp -git clone _git@git.jdb-labs.com:jdb/dotfile temp/dotfiles -cd ~/temp/dotfiles +cd "$DOTFILE_DIR" cp -r bin .fonts .tmux.conf .vimrc .vim .bash_aliases .gitconfig .screenrc .Xdefaults .config .gradle .xinitrc .wdiwtlt.properties .wdiwtlt.cli.properties ~ cat .bashrc >> ~/.bashrc @@ -20,13 +21,13 @@ git clone https://github.com/zah/nim.vim.git git clone https://github.com/tpope/vim-fugitive.git git clone https://github.com/isRuslan/vim-es6.git git clone https://github.com/airblade/vim-gitgutter.git -git clone https://github.com:akhaku/vim-java-unused-imports.git +git clone https://github.com/akhaku/vim-java-unused-imports.git ln -s /usr/share/lilypond/2.18.2/vim lilypond.vim # Setup ST git clone http://git.suckless.org/st programs/st cd ~/programs/st -cp ~/projects/dotfiles/st/* . +cp "$DOTFILE_DIR/st/*" . cp config.normal.h config.h && make && sudo make install cp config.large.h config.h && make && sudo cp st /usr/local/bin/st-large cp config.small.h config.h && make && sudo cp st /usr/local/bin/st-small @@ -58,13 +59,19 @@ cd .. bin/nim c koch ./koch boot -d:release +echo 'export NIM_HOME="$HOME/programs/nim"' >> ~/.profile +echo 'export PATH="$PATH:$NIM_HOME/bin:$HOME/.nimble/bin"' >> ~/.profile +export NIM_HOME="$HOME/programs/nim" +export PATH="$PATH:$NIM_HOME/bin:$HOME/.nimble/bin" + cd ~/programs git clone https://github.com/nim-lang/nimble cd nimble nim c -r src/nimble install +mkdir ~/.config/nimble +cp "$DOTFILE_DIR/nimble.ini" ~/.config/nimble +nimble update -echo 'export NIM_HOME="$HOME/programs/nim"' >> ~/.profile -echo 'export PATH="$PATH:$NIM_HOME/bin:$HOME/.nimble/bin"' >> ~/.profile source ~/.profile