mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 07:01:36 +01:00
various changes
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -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/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -64,8 +64,8 @@ def battery():
|
||||
return color_panel("Discharging",RED,seper=False) + color_panel(bat.lstrip("Discharging ,").strip('\n'),get_color(plain,0,100))
|
||||
else:
|
||||
return color_panel(bat.strip('\n'),get_color(plain,0,100))
|
||||
except ValueError as e:
|
||||
return color_panel(str(e),RED)
|
||||
except ValueError as e:
|
||||
return color_panel(str(e),RED)
|
||||
|
||||
def battery_status():
|
||||
if is_laptop:
|
||||
|
||||
11
herbstluftwm/test_cal.py
Normal file
11
herbstluftwm/test_cal.py
Normal 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()
|
||||
@@ -1,3 +1,4 @@
|
||||
xrdb ~/.Xressources
|
||||
xset r rate 300 25
|
||||
eval `ssh-agent`
|
||||
exec herbstluftwm
|
||||
|
||||
8
zshrc
8
zshrc
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user