Added nvim spell checks, some ssh config for work, xrandr settings for monitor switching, kubernetes alias and starship
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -191,8 +191,8 @@ bindsym $mod+a focus parent
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# restart/exit i3
|
||||
bindsym $mod+Shift+r restart
|
||||
bindsym Control+Shift+e exit
|
||||
# bindsym $mod+Shift+r restart
|
||||
# bindsym Control+Shift+e exit
|
||||
|
||||
# Resize window (you can also use the mouse for that)
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
@@ -32,17 +32,21 @@ function battery_routine {
|
||||
|
||||
|
||||
function monitor {
|
||||
oldmonstats="$monstats"
|
||||
if xrandr | grep "$extern disconnected"; then
|
||||
monstats="$intern"
|
||||
xrandr --output "$extern" --off --output "$intern" --auto
|
||||
else
|
||||
monstats="$extern"
|
||||
xrandr --output "$intern" --off --output "$extern" --auto
|
||||
fi
|
||||
|
||||
if [ "$oldmonstats" != "$monstats" ]; then
|
||||
oldmonstats="$monstats"
|
||||
feh --randomize --bg-fill $HOME/Pictures/Wallpaper/basic/*;
|
||||
dunstify -r 1 "Using $monstats.";
|
||||
if [ "$monstats" == "$intern" ]; then
|
||||
xrandr --output "$extern" --off --output "$intern" --auto;
|
||||
else
|
||||
xrandr --output "$intern" --off --output "$extern" --auto;
|
||||
fi
|
||||
fi
|
||||
}
|
||||
while :
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
# Services
|
||||
Host github.com gitlab.com git.uni-due.de
|
||||
Host github.com gitlab.com git.uni-due.de git.ude-syssec.de
|
||||
Port 22
|
||||
User git
|
||||
IdentityFile /mnt/veracrypt1/git
|
||||
|
||||
Host git.ude-syssec.de
|
||||
Hostname git.ude-syssec.de
|
||||
|
||||
Host github.com
|
||||
Hostname github.com
|
||||
|
||||
@@ -14,7 +17,7 @@ Host git.uni-due.de
|
||||
HostName git.uni-due.de
|
||||
|
||||
Host git.tudattr.dev
|
||||
Hostname 192.168.20.12
|
||||
Hostname 192.168.20.19
|
||||
Port 2222
|
||||
User git
|
||||
IdentityFile /mnt/veracrypt1/git
|
||||
@@ -28,7 +31,8 @@ Host madrigal
|
||||
IdentityFile /mnt/veracrypt1/mikrotik_rsa
|
||||
|
||||
Host inko inko.mii
|
||||
HostName 192.168.20.14
|
||||
HostName 192.168.20.14
|
||||
User root
|
||||
|
||||
Host naruto naruto.mii
|
||||
HostName 192.168.20.13
|
||||
@@ -38,18 +42,26 @@ Host pi pi.mii
|
||||
|
||||
Host aya01 aya01.mii
|
||||
HostName 192.168.20.12
|
||||
User root
|
||||
|
||||
Host behemoth behemoth.mii
|
||||
Host docker-02 docker-02.mii
|
||||
HostName 192.168.20.19
|
||||
|
||||
Host behemoth behemoth.pi
|
||||
User tuan
|
||||
HostName 192.168.30.174
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
|
||||
Host behemoth.pi
|
||||
ProxyJump pi
|
||||
|
||||
Host mii
|
||||
HostName tudattr.dev
|
||||
|
||||
Host inko.mii pi.mii aya01.mii naruto.mii behemoth.mii
|
||||
Host inko.mii pi.mii aya01.mii naruto.mii docker-02.mii
|
||||
ProxyJump mii
|
||||
|
||||
Host mii pi aya01 inko naruto inko.mii pi.mii aya01.mii naruto.mii behemoth behemoth.mii
|
||||
Host mii pi inko naruto inko.mii pi.mii naruto.mii aya01 aya01.mii docker-02 docker-02.mii
|
||||
Port 22
|
||||
User tudattr
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
@@ -61,8 +73,8 @@ Host mini
|
||||
User tudattr
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
|
||||
Host tail-pi
|
||||
HostName 100.93.79.94
|
||||
Host ncs-pi
|
||||
HostName 100.103.158.102
|
||||
Port 22
|
||||
User tuant
|
||||
IdentityFile /mnt/veracrypt1/work/minis
|
||||
@@ -72,8 +84,7 @@ Host ncs-head
|
||||
Port 2122
|
||||
User tuan-dat.tran
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
ForwardX11 yes
|
||||
ProxyJump tail-pi
|
||||
ProxyJump ncs-pi
|
||||
|
||||
Host ncs-head-user
|
||||
HostName 132.252.68.50
|
||||
@@ -162,22 +173,49 @@ Host ami
|
||||
User ubuntu
|
||||
IdentityFile /mnt/veracrypt1/work/aws-rizk.pem
|
||||
|
||||
|
||||
## 5g IANA
|
||||
Host 5g-iana-mec
|
||||
Host 5g-iana-mec 5g-iana-mec.naruto.mii
|
||||
Hostname 192.168.100.1
|
||||
Port 22
|
||||
User udue
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
|
||||
Host uulm-obu0 uulm-obu1
|
||||
Host uulm-obu0 uulm-obu1 uulm-obu0.naruto.mii uulm-obu0.naruto.mii
|
||||
Port 22
|
||||
User user
|
||||
ProxyJump 5g-iana-mec
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
|
||||
Host uulm-obu0
|
||||
Hostname 192.168.201.7
|
||||
Host uulm-obu0 uulm-obu0.naruto.mii
|
||||
Hostname 192.168.200.6
|
||||
|
||||
Host uulm-obu1
|
||||
Hostname 192.168.201.11
|
||||
Host uulm-obu1 uulm-obu1.naruto.mii
|
||||
Hostname 192.168.200.11
|
||||
|
||||
Host 5g-iana-mec.naruto.mii uulm-obu1.naruto.mii uulm-obu0.naruto.mii nxw.naruto.mii
|
||||
ProxyJump naruto.mii
|
||||
|
||||
Host nxw.naruto.mii nxw
|
||||
User nxw
|
||||
Hostname 192.168.100.4
|
||||
|
||||
Host uulm-obu0 uulm-obu1
|
||||
ProxyJump 5g-iana-mec
|
||||
|
||||
Host uulm-obu0.naruto.mii uulm-obu0.naruto.mii
|
||||
ProxyJump 5g-iana-mec.naruto.mii
|
||||
|
||||
Host nextworks.naruto.mii
|
||||
ProxyJump 5g-iana-mec.naruto.mii
|
||||
|
||||
Host nextworks nextworks.naruto.mii
|
||||
Hostname 192.168.100.4
|
||||
User nxw
|
||||
|
||||
## Systems Security
|
||||
|
||||
Host tuan-ethfuzz
|
||||
HostName 132.252.68.42
|
||||
User tuan
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
Port 2207
|
||||
ForwardAgent yes
|
||||
|
||||
Reference in New Issue
Block a user