various changes

This commit is contained in:
Sheppy
2017-09-26 11:40:36 +02:00
parent ba8478b064
commit 16d1a2309b
6 changed files with 23 additions and 6 deletions

3
.gitignore vendored
View File

@@ -36,6 +36,7 @@ herbstluftwm/restartpanels.sh
htop/
inkscape/
libfm/
spectaclerc
libvirt/
libreoffice
mc/
@@ -43,6 +44,7 @@ menus/
mimeapps.list
nautilus/
pulse/
unity3d/
pavucontrol.ini
pcmanfm/
ristretto/
@@ -65,6 +67,7 @@ eventviewsrc
herbstluftwm/__pycache__/
korgacrc
korganizerrc
kolourpaintrc
nohup.out
specialmailcollectionsrc
unity3d/tubus/

View File

@@ -74,7 +74,7 @@ hc keybind $Mod-p spawn pavucontrol
hc keybind $Mod-Shift-l spawn libreoffice
hc keybind $Mod-t spawn /bin/bash -c "LC_ALL=en_DK.utf8 && export LC_ALL && thunderbird"
hc keybind $Mod-Shift-i spawn urxvt -e ssh ik15ydit@ircbox.cs.fau.de -t 'tmux a -d'
hc keybind $Mod-Shift-t spawn urxvt -e ssh ik15ydit@faui06c.cs.fau.de -t "/proj/ciptmp/ik15ydit/Zeug/Telegram/tg/bin/telegram-cli -k tg-server.pub"
hc keybind $Mod-Shift-t spawn urxvt -e ssh telegram-sheppy@atlantishq.de -t "/home/telegram-sheppy/tg/bin/telegram-cli"
hc keybind $Mod-j spawn /bin/bash -c "rm $HOME/.config/herbstluftwm/irc.log && herbstclient spawn urxvt -e 'exit'"
hc keybind $Mod-e spawn rofi -combi-mode window,run -show combi -modi combi
hc keybind $Mod-Shift-e spawn rofi -show run

11
herbstluftwm/test_cal.py Normal file
View File

@@ -0,0 +1,11 @@
import urllib3
import socket
http = urllib3.PoolManager()
socket.setdefaulttimeout(5)
url = 'https://squarez.fauiwg.de:7001/radicale/testuser/cal.ics/'
headers = urllib3.util.make_headers(basic_auth='testuser:test')
r = http.request('GET', url, headers=headers)
f = open(test.log,'w')
f.write(r)
f.close()

View File

@@ -1,3 +1,4 @@
xrdb ~/.Xressources
xset r rate 300 25
eval `ssh-agent`
exec herbstluftwm

8
zshrc
View File

@@ -104,6 +104,7 @@ if [[ $HOST =~ atlantis* ]]; then
alias i3lock="i3lock --image=/home/ik15ydit/.config/i3lock/bg.png"
alias hlock="i3lock --image=/home/ik15ydit/.config/i3lock/bg.png -t"
alias -g sq="sheppy@squarez.fauiwg.de"
alias -g pine="sheppy@sheppy.chickenkiller.com"
else
alias transparent_xlock="xlock -mode blank -geometry 1x1"
fi
@@ -115,13 +116,12 @@ alias psearch="apt-cache search"
if [[ $HOST =~ atlantis* ]]; then
#alias gedit="gedit 2&>/dev/null &"
alias kpaint="kolourpaint 2&>/dev/null &"
alias telegram='ssh uni -t "/proj/ciptmp/ik15ydit/Zeug/Telegram/tg/bin/telegram-cli -k tg-server.pub"'
alias telegram='ssh telegram-sheppy@atlantishq.de -t "~/tg/bin/telegram-cli"'
alias telegram-plain='ssh uni -t "/proj/ciptmp/ik15ydit/Zeug/Telegram/tg/bin/telegram-cli --disable-colors --disable-readline -k tg-server.pub"'
alias x='exec startx'
alias vpn='sudo /usr/bin/openvpn_cip.sh'
else
alias telegram='/proj/ciptmp/ik15ydit/Zeug/Telegram/tg/bin/telegram-cli -k tg-server.pub'
alias burp=/home/cip/2013/ik15ydit/ciptmp/reps/WebScan/burpsuite/BurpSuiteFree
fi
alias rehash="source ~/.config/zshrc"
@@ -244,7 +244,7 @@ ssh_func(){
ssh $@;
printf '\033]708;black\007'
}
alias -g ssh="ssh_func"
alias ssh="ssh_func"
### REVERSE SEARCH ###
@@ -271,3 +271,5 @@ else
export FIRST_RUN
exec zsh
fi
alias hgrep="cat ~/.config/zshhistory.log | grep"