small update

This commit is contained in:
Barak Michener 2019-06-16 19:24:06 -07:00
parent 4632b5d39b
commit b7f03054d4
3 changed files with 23 additions and 6 deletions

View file

@ -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.
@ -195,6 +196,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 {

6
.zshrc
View file

@ -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"

View file

@ -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