Merge branch 'master' of git.barakmich.com:barak/dotfiles
This commit is contained in:
commit
48360b9169
6 changed files with 29 additions and 7 deletions
11
.i3/config
11
.i3/config
|
|
@ -55,6 +55,7 @@ bindsym $mod+d exec i3-dmenu-desktop --dmenu='rofi -dmenu'
|
|||
bindsym $mod+F12 exec xscreensaver-command -lock
|
||||
bindsym $mod+Shift+y exec xinput-toggle -r yubikey -n -e -t 10
|
||||
bindsym $mod+Shift+f exec --no-startup-id xmodmap ~/.Xmodmap
|
||||
bindsym $mod+Shift+s exec xfce4-screenshooter
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
|
|
@ -197,6 +198,16 @@ mode "moveworkspace" {
|
|||
|
||||
bindsym $mod+t mode "moveworkspace"
|
||||
|
||||
mode "goremote" {
|
||||
bindsym g exec "remmina -c ~/.local/share/remmina/1523485448993.remmina"; mode "default"
|
||||
bindsym t exec "run_terminal -x ssh -p 2222 barak@rack.0b100.net"; mode "default"
|
||||
bindsym p exec "run_terminal -x ssh -p 2222 barak@barakmich.com"; mode "default"
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+Shift+Control+r mode "goremote"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
#bar {
|
||||
|
|
|
|||
|
|
@ -58,4 +58,4 @@ setw -g monitor-activity on
|
|||
set -g visual-activity on
|
||||
|
||||
# Highlighting the active window in status bar
|
||||
#setw -g window-status-current-bg red
|
||||
setw -g window-status-current-bg red
|
||||
|
|
|
|||
|
|
@ -26,6 +26,10 @@ augroup less
|
|||
autocmd BufNewFile,BufRead *.less set filetype=less
|
||||
augroup END
|
||||
|
||||
augroup pcal
|
||||
au BufNewFile,BufRead *.pcal setf tla
|
||||
augroup END
|
||||
|
||||
|
||||
au! BufNewFile,BufRead *.pde setf arduino
|
||||
|
||||
|
|
|
|||
1
.vimrc
1
.vimrc
|
|
@ -158,6 +158,7 @@ Plug 'posva/vim-vue'
|
|||
Plug 'Shougo/context_filetype.vim'
|
||||
Plug 'idris-hackers/idris-vim', {'for': 'idris'}
|
||||
Plug 'derekwyatt/vim-scala', {'for': 'scala'}
|
||||
Plug 'hwayne/tla.vim'
|
||||
|
||||
" Plugins that autocomplete
|
||||
Plug 'Shougo/deoplete.nvim'
|
||||
|
|
|
|||
6
.zshrc
6
.zshrc
|
|
@ -86,8 +86,14 @@ fi
|
|||
|
||||
if [ -f /usr/local/bin/virtualenvwrapper_lazy.sh ]; then
|
||||
source /usr/local/bin/virtualenvwrapper_lazy.sh
|
||||
else
|
||||
if [ -f /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh ]; then
|
||||
source /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
||||
fasd_cache="$HOME/.fasd-init-zsh"
|
||||
if [ "$(command -v fasd)" -nt "$fasd_cache" -o ! -s "$fasd_cache" ]; then
|
||||
fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcompinstall >| "$fasd_cache"
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ -n "`which terminator`" ]; then
|
||||
terminator
|
||||
elif [ -n "`which gnome-terminal`" ]; then
|
||||
gnome-terminal
|
||||
if [ -n "`which gnome-terminal`" ]; then
|
||||
gnome-terminal $@
|
||||
elif [ -n "`which terminator`" ]; then
|
||||
terminator $@
|
||||
elif [ -n "`which urxvt`" ]; then
|
||||
urxvt
|
||||
urxvt $@
|
||||
else
|
||||
xterm
|
||||
xterm $@
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue