Changes
This commit is contained in:
parent
74876043bb
commit
ff32f361e3
15
i3/config
15
i3/config
@ -117,6 +117,8 @@ bindsym $mod+r mode "resize"
|
||||
bindsym $mod+u focus parent
|
||||
bindsym $mod+shift+u focus child
|
||||
bindsym --release $mod+n exec "~/.i3/run.sh paste"
|
||||
# Reload i3
|
||||
bindsym $mod+shift+r reload;exec notify-send -a i3 Reloaded
|
||||
# Exit/restart i3
|
||||
bindsym $mod+q restart
|
||||
#bindsym $mod+shift+q exec "i3-nagbar -m 'NMRestart/Shutdown/Restart/Logout' -t warning -b NMRestart 'nmcli radio wifi off;sleep 1;nmcli radio wifi on' -b Shutdown 'sudo /sbin/poweroff' -b Restart 'sudo /sbin/shutdown -r now' -b Logout 'i3-msg exit' -b Sleep 'amixer set Master 0% mute;slock&until echo mem|sudo tee /sys/power/state>/dev/null;do sleep 1;done;sleep 4;nmcli radio wifi off;sleep 3;nmcli radio wifi on'"
|
||||
@ -182,6 +184,19 @@ mode "resize" {
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
# Minecraft mode
|
||||
mode "minecraft" {
|
||||
bindsym $mod+r exec "xdotool mousedown 3"
|
||||
bindsym $mod+shift+r exec "xdotool mouseup 3";mode "default"
|
||||
bindsym $mod+d exec "xdotool mousedown 1"
|
||||
bindsym $mod+shift+d exec "xdotool mouseup 1";mode "default"
|
||||
bindsym $mod+s exec "sleep 1;xdotool keydown Shift_R;sleep 1;xdotool mousedown 3"
|
||||
bindsym $mod+shift+s exec "xdotool keyup Shift_R;xdotool mouseup 3";mode "default"
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+m mode "minecraft"
|
||||
|
||||
|
||||
# Startup
|
||||
# Monitor setup
|
||||
|
@ -330,7 +330,7 @@ fi
|
||||
if ex git; then
|
||||
alias g="git"
|
||||
fi
|
||||
alias stdns="sudo sh -c 'echo nameserver 8.8.8.8 > /etc/resolv.conf'"
|
||||
alias stdns="sudo sh -c 'echo nameserver 1.1.1.1 > /etc/resolv.conf'"
|
||||
alias fvim="vim -u NONE +\"so ~/.vim/plugged/flappyvird-vim/plugin/flappyvird.vim\" +\"so ~/.vim/plugged/flappyvird-vim/autoload/flappyvird.vim\" +\":FlappyVird\" +\":q\""
|
||||
alias fk='k `fzf --no-mouse -m -1 -x`'
|
||||
#alias susp="sudo true&&((slock;sleep 2;nmcli radio wifi off;nmcli radio wifi on)&echo mem | sudo tee /sys/power/state >/dev/null);sudo -k"
|
||||
@ -459,7 +459,7 @@ dnstest(){
|
||||
echo "Testing DNS:"
|
||||
dig google.com
|
||||
echo "Testing ping:"
|
||||
ping -c 2 8.8.8.8
|
||||
ping -c 2 1.1.1.1
|
||||
echo "Testing IP curl:"
|
||||
curl -L 178.33.250.62
|
||||
echo
|
||||
|
@ -281,6 +281,8 @@ endif
|
||||
"Automatic :set paste funcationality | https://github.com/ConradIrwin/vim-bracketed-paste
|
||||
"Plug 'https://gitea.austenwares.com/vim/HiCursorWords'
|
||||
"Highlight word under cursor automatically | http://www.vim.org/scripts/script.php?script_id=4306
|
||||
"Plug 'https://github.com/chrisbra/NrrwRgn'
|
||||
"Narrow region | https://github.com/chrisbra/NrrwRgn
|
||||
" }
|
||||
" Unused {
|
||||
"Plug 'https://gitea.austenwares.com/vim/mirror.vim'
|
||||
|
Loading…
Reference in New Issue
Block a user