Compare commits

...

4 Commits

Author SHA1 Message Date
sheppy 480de8fec5 add: new hypervisor + atlantis-array 2025-01-18 14:25:22 +01:00
sheppy 67bda46b84 Merge branch 'master' of github.com:FAUSheppy/config 2024-10-05 21:55:37 +02:00
sheppy 37b9439ba3 fix: set new url for ipcheck 2024-10-05 21:55:09 +02:00
sheppy 8ce8bc1550 fix: audio keys in hl 2024-10-03 10:21:23 +02:00
3 changed files with 6 additions and 7 deletions
+3 -6
View File
@@ -163,12 +163,9 @@ hc keybind $Mod-Shift-Tab cycle_all -1
#hc keybind $Mod-i jumpto urgent #hc keybind $Mod-i jumpto urgent
#pulseaudio #pulseaudio
#hc keybind XF86AudioRaiseVolume spawn /bin/sh -c 'pactl set-sink-volume @DEFAULT_SINK@ +5%' #increase sound volume hc keybind XF86AudioMute spawn amixer set Master toggle
#hc keybind $Mod-u spawn /bin/sh -c 'pactl set-sink-volume @DEFAULT_SINK@ +5%' hc keybind XF86AudioRaiseVolume spawn amixer set Master 10%+
#hc keybind XF86AudioLowerVolume spawn /bin/sh -c 'pactl set-sink-volume @DEFAULT_SINK@ -5%' #decrease sound volume hc keybind XF86AudioLowerVolume spawn amixer set Master 10%-
#hc keybind $Mod-Shift-u spawn /bin/sh -c 'pactl set-sink-volume @DEFAULT_SINK@ -5%'
#hc keybind XF86AudioMute spawn /bin/sh -c 'pactl set-sink-mute @DEFAULT_SINK@ toggle && pactl set-sink-volume @DEFAULT_SINK@ 100%' #toggle mute
#hc keybind $Mod-m spawn /bin/sh -c 'pactl set-sink-mute @DEFAULT_SINK@ toggle'
# theme # theme
hc attr theme.tiling.reset 1 hc attr theme.tiling.reset 1
+1 -1
View File
@@ -213,7 +213,7 @@ last_ip="LOL"
def ip_status(): def ip_status():
global last_ip global last_ip
try: try:
ip="Public IP: "+ hl_utils.shexec("wget -4 --no-proxy --timeout=3 -O- --quiet ipcheck.atlantishq.de") ip="Public IP: "+ hl_utils.shexec("wget -4 --no-proxy --timeout=3 -O- --quiet https://ipcheck.atlantishq.de:10443")
if last_ip == ip: if last_ip == ip:
return return
else: else:
+2
View File
@@ -197,6 +197,7 @@ alias sshconf="vim ~/.ssh/config"
## /dev/zsh/random ## ## /dev/zsh/random ##
alias hq="ssh -4 root@atlantishq.de" alias hq="ssh -4 root@atlantishq.de"
alias hqk="ssh -4 root@katzencluster.atlantishq.de"
alias ths="ssh root@ths.atlantishq.de" alias ths="ssh root@ths.atlantishq.de"
alias pcolor='for i in {0..255} ; do printf "\x1b[38;5;${i}mcolour${i} "; if [[ $(((($i+3)/6)*6)) -eq $(($i+3)) ]]; then echo; fi; done' alias pcolor='for i in {0..255} ; do printf "\x1b[38;5;${i}mcolour${i} "; if [[ $(((($i+3)/6)*6)) -eq $(($i+3)) ]]; then echo; fi; done'
@@ -227,3 +228,4 @@ alias connect_synology="ssh -f -o ExitOnForwardFailure=yes -i ~/.ssh/sheppy-mast
#alias tcpdump_http=stdbuf -oL -eL /usr/bin/tcpdump -A -s 10240 "tcp port 8000 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)" | egrep -a --line-buffered ".+(GET |HTTP\/|POST )|^[A-Za-z0-9-]+: " | perl -nle 'BEGIN{$|=1} { s/.*?(GET |HTTP\/[0-9.]* |POST )/\n$1/g; print }' #alias tcpdump_http=stdbuf -oL -eL /usr/bin/tcpdump -A -s 10240 "tcp port 8000 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)" | egrep -a --line-buffered ".+(GET |HTTP\/|POST )|^[A-Za-z0-9-]+: " | perl -nle 'BEGIN{$|=1} { s/.*?(GET |HTTP\/[0-9.]* |POST )/\n$1/g; print }'
ths_ssh="ssh -f -o ExitOnForwardFailure=yes -i .ssh/sheppy-master -L 8000:host.docker.internal:22 root@172.16.1.4 sleep 3600 && ssh cheffe@localhost -p 8000" ths_ssh="ssh -f -o ExitOnForwardFailure=yes -i .ssh/sheppy-master -L 8000:host.docker.internal:22 root@172.16.1.4 sleep 3600 && ssh cheffe@localhost -p 8000"
#trap ctrl_c INT; function ctrl_c() {}; #trap ctrl_c INT; function ctrl_c() {};
alias sss='ssh root@192.168.1.89 -t "systemctl suspend; exit"'