mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 07:01:36 +01:00
Merge branch 'master' of gitlab.cs.fau.de:ik15ydit/config
This commit is contained in:
@@ -27,15 +27,18 @@ if [[ "$HOST" == "atlantispc" ]]; then
|
|||||||
#hc detect_monitors
|
#hc detect_monitors
|
||||||
hc set swap_monitors_to_get_tag 0
|
hc set swap_monitors_to_get_tag 0
|
||||||
hc set_monitors 3840x1080+0+0
|
hc set_monitors 3840x1080+0+0
|
||||||
xautolock -time 15 -locker /home/ik15ydit/.config/i3lock/piclock.sh &
|
|
||||||
fi
|
fi
|
||||||
### Atlantislaptop specific setup ###
|
### Atlantislaptop specific setup ###
|
||||||
if [[ "$HOST" == "atlantislaptop" ]]; then
|
if [[ "$HOST" == "atlantislaptop" ]]; then
|
||||||
hc keybind XF86MonBrightnessUp spawn /bin/bash -c 'tee /sys/class/backlight/intel_backlight/brightness <<< "$(expr $(cat /sys/class/backlight/intel_backlight/brightness) + 5)"'
|
hc keybind XF86MonBrightnessUp spawn /bin/bash -c 'tee /sys/class/backlight/intel_backlight/brightness <<< "$(expr $(cat /sys/class/backlight/intel_backlight/brightness) + 5)"'
|
||||||
hc keybind XF86MonBrightnessDown spawn /bin/bash -c 'tee /sys/class/backlight/intel_backlight/brightness <<< "$(expr $(cat /sys/class/backlight/intel_backlight/brightness) - 5)"'
|
hc keybind XF86MonBrightnessDown spawn /bin/bash -c 'tee /sys/class/backlight/intel_backlight/brightness <<< "$(expr $(cat /sys/class/backlight/intel_backlight/brightness) - 5)"'
|
||||||
xautolock -time 15 -locker /home/ik15ydit/.config/i3lock/piclock.sh &
|
|
||||||
#/usr/bin/dunst &
|
#/usr/bin/dunst &
|
||||||
hc keybind $Mod-o spawn /bin/bash -c "/home/ik15ydit/.config/i3lock/piclock.sh & systemctl hibernate"
|
hc keybind $Mod-o spawn /bin/bash -c "/home/ik15ydit/.config/i3lock/piclock.sh & systemctl hibernate"
|
||||||
|
fi
|
||||||
|
|
||||||
|
### Atlantis general
|
||||||
|
if [[ ( "$HOST" == "atlantispc" ) || ( "$HOST" == "atlantislaptop" ) ]]; then
|
||||||
|
xautolock -time 15 -locker /home/ik15ydit/.config/i3lock/piclock.sh &
|
||||||
hc keybind $Mod-c spawn /bin/bash -c "sudo stopvpn.sh; sudo /usr/bin/openvpn_cip.sh & ~/.config/herbstluftwm/hl_status_deamon.py --refresh"
|
hc keybind $Mod-c spawn /bin/bash -c "sudo stopvpn.sh; sudo /usr/bin/openvpn_cip.sh & ~/.config/herbstluftwm/hl_status_deamon.py --refresh"
|
||||||
hc keybind $Mod-Shift-c spawn /bin/bash -c "sudo stopvpn.sh && ~/.config/herbstluftwm/hl_status_deamon.py --refresh"
|
hc keybind $Mod-Shift-c spawn /bin/bash -c "sudo stopvpn.sh && ~/.config/herbstluftwm/hl_status_deamon.py --refresh"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ traceroute ;#tracert/check route to host
|
|||||||
tree ;#show filesystemtree
|
tree ;#show filesystemtree
|
||||||
usbutils ;#usefullshit for usbdevices
|
usbutils ;#usefullshit for usbdevices
|
||||||
vim-nox ;#good consol texeditor with script support
|
vim-nox ;#good consol texeditor with script support
|
||||||
|
vim-python-jedi ;#python autocompletion
|
||||||
wget ;#download urls
|
wget ;#download urls
|
||||||
whois ;#lookup ips etc of DNS adresses
|
whois ;#lookup ips etc of DNS adresses
|
||||||
wicd-curses ;#good simple networkmanager
|
wicd-curses ;#good simple networkmanager
|
||||||
|
|||||||
5
vim/rc
5
vim/rc
@@ -153,3 +153,8 @@ endif
|
|||||||
|
|
||||||
" use x11 primary selection for yanking (yes, "unnamed" is the key for that..)
|
" use x11 primary selection for yanking (yes, "unnamed" is the key for that..)
|
||||||
set clipboard=unnamed
|
set clipboard=unnamed
|
||||||
|
|
||||||
|
|
||||||
|
" python-jedi config
|
||||||
|
"let g:jedi#popup_on_dot = 0
|
||||||
|
autocmd FileType python setlocal completeopt-=preview
|
||||||
|
|||||||
5
zshrc
5
zshrc
@@ -168,6 +168,10 @@ alias cipra="xpra start ssh:ik15ydit@faui00n.cs.fau.de:100 --start-child urxvt"
|
|||||||
alias mountcip="sshfs ik15ydit@faui00n.cs.fau.de:/ -o reconnect,idmap=user $CIP_MOUNTPOINT"
|
alias mountcip="sshfs ik15ydit@faui00n.cs.fau.de:/ -o reconnect,idmap=user $CIP_MOUNTPOINT"
|
||||||
alias umountcip="fusermount -u $CIP_MOUNTPOINT"
|
alias umountcip="fusermount -u $CIP_MOUNTPOINT"
|
||||||
|
|
||||||
|
## CONNECT Locally ##
|
||||||
|
alias -g atlantislaptop="ik15ydit@atlantislaptop.local"
|
||||||
|
alias -g atlantismedion="ik15ydit@atlantismedion.local"
|
||||||
|
|
||||||
## DIRECT TO CONFIG ##
|
## DIRECT TO CONFIG ##
|
||||||
alias hlconf="vim ~/.config/herbstluftwm/autostart"
|
alias hlconf="vim ~/.config/herbstluftwm/autostart"
|
||||||
alias zshconf="vim ~/.zshrc"
|
alias zshconf="vim ~/.zshrc"
|
||||||
@@ -258,3 +262,4 @@ bindkey ^R hhstest
|
|||||||
source ~/.config/other/zsh-history-substring-search.zsh
|
source ~/.config/other/zsh-history-substring-search.zsh
|
||||||
bindkey '^[[5~' history-substring-search-up
|
bindkey '^[[5~' history-substring-search-up
|
||||||
bindkey '^[[6~' history-substring-search-down
|
bindkey '^[[6~' history-substring-search-down
|
||||||
|
alias genserverkey='openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 100000'
|
||||||
|
|||||||
Reference in New Issue
Block a user