diff --git a/.i3/config b/.i3/config index c7d933d..f0ecebd 100644 --- a/.i3/config +++ b/.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 { diff --git a/.tmux.conf b/.tmux.conf index 9d4871c..6cef0d0 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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 diff --git a/.vim/filetype.vim b/.vim/filetype.vim index f59ded1..79d06b9 100644 --- a/.vim/filetype.vim +++ b/.vim/filetype.vim @@ -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 diff --git a/.vimrc b/.vimrc index 461eaa7..7a6fbe6 100644 --- a/.vimrc +++ b/.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' diff --git a/.zshrc b/.zshrc index ff7bdb9..f941bb1 100644 --- a/.zshrc +++ b/.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" diff --git a/bin/run_terminal b/bin/run_terminal index 3a5df40..de6d438 100755 --- a/bin/run_terminal +++ b/bin/run_terminal @@ -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