Skip to content

Commit

Permalink
Update README and firefox.css
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 a1f12f6 commit 761064f
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@
url = https://github.com/tmux-plugins/tmux-open
[submodule "lib/shell/zim"]
path = lib/shell/zim
url = https://github.com/deathbeam/zim
url = https://github.com/Eriner/zim/
34 changes: 5 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,55 +76,31 @@ https://raw.githubusercontent.com/deathbeam/dotfiles/master/lib/firefox/firefox.

## How to update?

You can use

```
dottool --update
```

what was made exactly for this. It will fetch latest changes from remote, then runs rebase and at end run installation
script to update links and installed stuff. Or, if you want, you can use Git like this:

You can just use Git:

```shell
git -C $DOTHOME pull --rebase
```

## How to inlude your own stuff?

After you have installed dotfiles, you can start including your own stuff by using the `dottool --open` command:

```shell
dottool --open bashrc
dottool --open vimrc
dottool --open tmux.conf
dottool --open gitconfig
```

or manually without helper:
After you have installed dotfiles, you can start including your own stuff by creating appropriate dotfiles in usr
directory:

```shell
vim $DOTHOME/usr/bashrc
vim $DOTHOME/usr/zshrc
vim $DOTHOME/usr/vimrc
vim $DOTHOME/usr/tmux.conf
vim $DOTHOME/usr/gitconfig
```

To add your own Vim plugin you can use `dottool --vim-plugin` command. For example to add
To add your own Vim plugin you can use clone it to proper directory. For example to add
[SuperTab](https://github.com/ervandew/supertab), all you need to do is run this command:

```shell
dottool --vim-plugin https://github.com/ervandew/supertab.git
```

or you can do the same just with Git:

```shell
git clone https://github.com/ervandew/supertab.git $DOTHOME/usr/vim/supertab
```

To see all helper commands, run `dottool --help`.

## Included stuff

### Shell
Expand Down
2 changes: 1 addition & 1 deletion dotfiles/sxhkdrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ super + Return

# program launcher
super + space
st -c fzf-menu -g 80x15 -e bash -li -c 'nohup $(compgen -c | fzf --prompt "Run> " --bind "ctrl-x:print-query")'
st -c fzf-menu -g 80x15 -e zsh -li -c 'nohup $(print -lr -- $^path/*$^@*(N:t) | sort -u | fzf --prompt "Run> " --bind "ctrl-x:print-query")'

# make sxhkd reload its configuration files:
super + Escape
Expand Down
2 changes: 1 addition & 1 deletion dotfiles/zimrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Select what modules you would like enabled.
zmodules=(directory environment fasd git git-info history input utility meta \
zmodules=(archive directory environment fasd git git-info history input utility \
syntax-highlighting history-substring-search prompt completion)

# Set your desired prompt here
Expand Down
5 changes: 5 additions & 0 deletions dotfiles/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
$EDITOR --servername "$1" +Session +"ProjectOpen $1"
}

# Super cool gource alias (requires gource)
alias gource="gource -1280x720 --key --stop-at-end -e 0.5 -c 1.7 -a 1 -r 60 -i 0 --highlight-dirs
--highlight-all-users --max-file-lag 0.5 --hide mouse,progress --camera-mode track --bloom-multiplier 1.7
--bloom-intensity 1.2 --no-vsync"

# }}}

# Plugins {{{
Expand Down
37 changes: 22 additions & 15 deletions lib/firefox/firefox.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
--fg-light: #e8e8e8; --fg-dark: #e8e8e8;
--tab-triangle-correction: -1px;
--tab-height: 22px; --tab-icon-size: 10px; --tab-strip-margin: 0px -15px 0 -11px; --tab-overlap: -5px;
--tab-fonts: "Hack","Droid Sans","Source Sans Pro","Lemon",monospace,"Dejavu Sans"; --tab-font-size: 10pt;
--tab-fonts: "Terminus","Droid Sans","Source Sans Pro","Lemon",monospace,"Dejavu Sans"; --tab-font-size: 10pt;
--tab-text-align: left; /* left | center | right */
--tab-triangle: block; /* block | none */

/* URL VARIABLES */
--url-background: var(--bg-light); --url-color: var(--fg-dark);
--url-height: 22px; --url-right-margin: 6px;
--url-fonts: "Hack","Droid Sans", "Source Sans Pro", "Lemon",monospace,"Dejavu Sans"; --url-font-size: 10pt;
--url-text-align: center; /* left | center | right */
--url-fonts: "Terminus","Droid Sans", "Source Sans Pro", "Lemon",monospace,"Dejavu Sans"; --url-font-size: 10pt;
--url-text-align: left; /* left | center | right */
--url-position: absolute; /* absolute == top (under tabs) || fixed == bottom of browser */
}

Expand All @@ -53,6 +53,7 @@
position: var(--url-position) !important; bottom: 0 !important;
width: 100% !important; height: var(--url-height) !important;
margin: 0 !important; background: transparent !important;
border: none !important;
}

#nav-bar-customization-target, #urlbar-container, #urlbar {
Expand All @@ -65,28 +66,26 @@
position: absolute !important; top: -1px !important; left: 0 !important; height: calc(100% - 1px) !important; /* (bottom margin - height switch +/- to fix line) */
}

#urlbar {
border: none !important; padding: 0 2px 0 8px !important;
#urlbar, .urlbar-textbox-container .urlbar-input-box .textbox-input {
border: none !important;
padding: 0px !important;;
background: var(--url-background) !important; color: var(--url-color) !important;
font-family: var(--url-fonts) !important; font-size: var(--url-font-size) !important;
text-align: var(--url-text-align) !important;
height: 100% !important;
}

#urlbar * { -moz-appearance: none !important; }
#urlbar {
padding: 0 5px !important;
}

#urlbar * { -moz-appearance: none !important; border: none !important; }

.urlbar-textbox-container .urlbar-input-box .textbox-input {
margin-top: -2px !important;;
height: var(--url-height) !important;
}

/* --- Comment out the section below to make the url-bar visible --- */
#nav-bar {
width: 0 !important; height: 0 !important;
position: fixed !important; left: -1px !important; top: -1px !important;
overflow: hidden !important; visibility: hidden !important;
}
/**/

/* TABS */
.tabbrowser-tab[fadein]:not([pinned]) { min-width: 100px !important; max-width: /*180px*/ 100% !important; }
tab {
Expand All @@ -96,7 +95,10 @@
font-size: var(--tab-font-size); text-shadow: none !important; text-align: var(--tab-text-align) !important;
}

.tabbrowser-tab label { padding: 0 10px 0 10px !important; }
.tabbrowser-tab label {
padding: 0 10px 0 10px !important;
text-align: var(--tab-text-align) !important;
}

#tabbrowser-tabs .tabbrowser-tab[pinned] { width: 48px !important; }
#tabbrowser-tabs .tabbrowser-tab[pinned] label { display: none !important; }
Expand Down Expand Up @@ -201,6 +203,11 @@
img.decoded { background-color: transparent !important; }
}

/* About:Blank background */
@-moz-document url(about:home) {
html,body { background: var(--bg-light) !important; }
}

/* About:Blank background */
@-moz-document url(about:blank) {
html,body { background: var(--bg-light) !important; }
Expand Down
2 changes: 1 addition & 1 deletion lib/shell/zim
Submodule zim updated from d5536d to 61ff60

0 comments on commit 761064f

Please sign in to comment.