Skip to content

Commit

Permalink
Cool stuff
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Slusny <[email protected]>
  • Loading branch information
deathbeam committed Jan 22, 2017
1 parent c31de32 commit 16672ef
Show file tree
Hide file tree
Showing 19 changed files with 238 additions and 295 deletions.
9 changes: 6 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
path = lib/bash/bash-it
url = https://github.com/Bash-it/bash-it
[submodule "lib/bash/fasd"]
path = lib/bash/fasd
path = lib/shell/fasd
url = https://github.com/clvv/fasd
[submodule "lib/bash/fzf"]
path = lib/bash/fzf
path = lib/shell/fzf
url = https://github.com/junegunn/fzf.git
[submodule "lib/vim-pathogen"]
path = lib/vim/vim-pathogen
Expand Down Expand Up @@ -38,7 +38,7 @@
path = lib/vim/base16-vim
url = https://github.com/chriskempson/base16-vim
[submodule "lib/bash/base16-shell"]
path = lib/bash/base16-shell
path = lib/shell/base16-shell
url = https://github.com/chriskempson/base16-shell
[submodule "lib/tmux/tmux-yank"]
path = lib/tmux/tmux-yank
Expand Down Expand Up @@ -91,3 +91,6 @@
[submodule "lib/tmux/tmux-open"]
path = lib/tmux/tmux-open
url = https://github.com/tmux-plugins/tmux-open
[submodule "lib/shell/zim"]
path = lib/shell/zim
url = https://github.com/Eriner/zim
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@

These are my configuration files for Linux and Mac. It is still work in progress, so expect a lot of changes, but I
think it is stable enough to be usable. I put this README together, because I (like most of other programmers) do not
have any life. I even added CI integration to this repo, because I was bored. Yes, you hear right, CI INTEGRATION TO
have any life. I even added CI to this repo, because I was bored. Yes, you hear right, COUNTINUOS INTEGRATION TO
FUCKING DOTFILES REPO. I doubt anyone will ever appreciate my effort, but [frankly, my dear, I don't give a
damn](https://en.wikipedia.org/wiki/Frankly,_my_dear,_I_don't_give_a_damn). Expect a lot of changes in this repo,
because most of the time I just cannot make up my mind, and I change my decisions very often.

## Requirements

* [python](https://www.python.org/downloads/) - Required for [dotbot](https://github.com/anishathalye/dotbot) to work properly. Python is installed by default on most Linux distributions and also on Mac.
* [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) - Most of the installation process is managed via Git, so you need this one.
* [python](https://www.python.org/downloads/) - Required for [dotbot](https://github.com/anishathalye/dotbot) to work
properly. Python is installed by default on most Linux distributions and also on Mac.
* [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) - Most of the installation process is managed via
Git, so you need this one.

## Optional requirements

Expand All @@ -27,9 +29,8 @@ because most of the time I just cannot make up my mind, and I change my decision
support for all plugins to work correctly. If you are just starting with Vim, then I recommend you to run `vimtutor`
from your CLI. Thank me later.
* [Firefox](https://www.mozilla.org/en-US/firefox/new/) - The only browser I found that can be properly styled to my
likings (for example, doing what I did with my Firefox is with browsers like Chrome just not possible). Also, has
Vimperator. Install latest Firefox stable version, Vimperator do not works with Developer Edition.
* [vimperator](https://addons.mozilla.org/en-US/firefox/addon/vimperator/) - Vim for your firefox. No need to say more.
likings (for example, doing what I did with my Firefox is with browsers like Chrome just not possible)
* [vimfx](https://addons.mozilla.org/en-US/firefox/addon/vimfx/) - Vim for your firefox. No need to say more.
* [Stylish](https://addons.mozilla.org/en-US/firefox/addon/stylish/) - Just cool extension that can style your browser.
I do not found nice solution how to store my custom Firefox style in some dotfile, so this is last thing I do not like
in this setup, you need to install my style manually from Addon menu (yes, I know, it is horrible, but it is only way
Expand All @@ -44,8 +45,9 @@ because most of the time I just cannot make up my mind, and I change my decision
instead of OSX? It is because Apple rebranded OSX to macOS in latest Sierra update. You can read more about it
[here](https://techcrunch.com/2016/06/13/os-x-is-now-macos-and-gets-support-for-siri-auto-unlock-and-more/). Great
stuff, right? Anyway, back to the point. Kwm is a lot better than Amethyst, if you are still using it. Are you asking
why? Because it can be
configured from dotfile, that is why. Also, it have nice focus borders, and is more similar to window managers on Linux, what I really miss on OSX, but I am not going to use XQuartz just to have i3 for my terminals here, lol.
why? Because it can be configured from dotfile, that is why. Also, it have nice focus borders, and is more similar to
window managers on
Linux, what I really miss on OSX, but I am not going to use XQuartz just to have i3 for my terminals here, lol.
* [khd](https://github.com/koekeishiya/khd) - Hotkey daemon for macOS, required to have keybindings in kwm. Originally
these two was one project, but they got split, what is imo great thing.
* [karabiner-elements](https://github.com/tekezo/Karabiner-Elements) - Can remap our Caps-Lock key to Hyper key, what I
Expand Down Expand Up @@ -127,7 +129,7 @@ To see all helper commands, run `dottool --help`.

## Included stuff

### Bash
### Shell
* [fasd](https://github.com/clvv/fasd): Command-line productivity booster, offers quick access to files and directories, inspired by autojump, z and v.
* [fzf](https://github.com/junegunn/fzf): A command-line fuzzy finder written in Go
* [base-16-shell](https://github.com/chriskempson/base16-shell): A shell script to change your shell's default ANSI colors but most importantly, colors 17 to 21 of your shell's 256 colorspace (if supported by your terminal)
Expand Down
8 changes: 4 additions & 4 deletions dotfiles/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
# [[ $TMUX = "" ]] && export TERM="xterm-256color"

# Base 16
BASE16_SHELL=$DOTHOME/lib/bash/base16-shell/
BASE16_SHELL=$DOTHOME/lib/shell/base16-shell/
[ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"
[ -z $BASE16_THEME ] && base16_tomorrow-night

Expand All @@ -186,8 +186,8 @@
# Plugins {{{

# Init fasd with cache to speed up startup
source "$DOTHOME/lib/bash/fasd/fasd" > /dev/null
fasd_cache=~/.fasd-init-cache
source "$DOTHOME/lib/shell/fasd/fasd" > /dev/null
fasd_cache=~/.fasd.cache.bash
if [ "$(command -v fasd)" -nt "$fasd_cache" -o ! -s "$fasd_cache" ]; then
fasd --init posix-alias bash-hook bash-ccomp bash-ccomp-install >| "$fasd_cache"
fi
Expand All @@ -203,7 +203,7 @@

# Use faster grep command if possible
if command -v rg >/dev/null 2>&1; then
export FZF_DEFAULT_COMMAND='rg --files --hidden --follow'
export FZF_DEFAULT_COMMAND='rg --files --hidden --follow --glob "!.git/*"'
elif command -v ag >/dev/null 2>&1; then
export FZF_DEFAULT_COMMAND='ag -g ""'
fi
Expand Down
1 change: 1 addition & 0 deletions dotfiles/mpv.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
border=no
2 changes: 1 addition & 1 deletion dotfiles/profile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
source ${HOME}/.dotconfig

# Adjust path to use bin in user/bin
export PATH="$DOTHOME/usr/bin:$HOME/.local/bin:$PATH"
export PATH="$DOTHOME/usr/bin:$HOME/.local/bin:$PATH:$HOME/.cargo/bin"

# Fix Java window resizing in TWM
export _JAVA_AWT_WM_NONREPARENTING=1
Expand Down
2 changes: 1 addition & 1 deletion dotfiles/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
# User interface {{{

# improve colors
set -g default-terminal 'tmux-256color'
set -g default-terminal 'screen-256color'

# disable annoying notifications
set-option -g visual-bell off
Expand Down
171 changes: 0 additions & 171 deletions dotfiles/vimperatorrc

This file was deleted.

Loading

0 comments on commit 16672ef

Please sign in to comment.