From 7a652473bc9602752e0b11259c198f9dd1d395e9 Mon Sep 17 00:00:00 2001 From: atlantispc_sheppy Date: Fri, 29 Sep 2017 02:51:25 +0200 Subject: [PATCH] at --- herbstluftwm/autostart | 2 +- zshrc | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 76881d1..94a9454 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -26,7 +26,7 @@ if [[ "$HOST" == "atlantispc" ]]; then /usr/bin/xrandr --output DVI-D-1 --left-of HDMI-1 #hc detect_monitors hc set swap_monitors_to_get_tag 0 - hc set_monitors 3840x1080+0+0 +# hc set_monitors 3840x1080+0+0 hc keybind $Mod-o spawn /bin/bash -c "/home/sheppy/.config/i3lock/piclock.sh && sudo s2disk" fi ### Atlantislaptop specific setup ### diff --git a/zshrc b/zshrc index 7784329..de9de97 100644 --- a/zshrc +++ b/zshrc @@ -88,7 +88,6 @@ alias -g L='2>&1 | less' alias -g G='| grep' alias -g S='| sort' alias -g ...='../..' -alias -g D='| dot -Tpng >' alias mv='mv -i' alias cp='cp -i' alias ..='cd ..' @@ -247,7 +246,7 @@ fi alias unfuck="printf '\033]708;black\007'" ssh_func(){ printf '\033]708;red\007'; - ssh $@; + /usr/bin/ssh $@; printf '\033]708;black\007' } alias -g ssh="ssh_func" @@ -280,3 +279,5 @@ bindkey '^[[5~' history-substring-search-up bindkey '^[[6~' history-substring-search-down alias genserverkey='openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 100000' +alias hq="ssh -4 root@atlantishq.de" +alias sync-atlantishq="rsync -avz -r -P root@atlantishq.de:/home/home_backup/ /home/sheppy/archive"