i3 unmap caps
This commit is contained in:
parent
211ac032f4
commit
a8a3bd3239
@ -38,7 +38,7 @@ alias c='clear'
|
|||||||
alias q='exit 0'
|
alias q='exit 0'
|
||||||
alias h='history | less'
|
alias h='history | less'
|
||||||
alias j='jobs -l'
|
alias j='jobs -l'
|
||||||
alias hg='history|grep'
|
alias h?='history|grep'
|
||||||
|
|
||||||
# utils
|
# utils
|
||||||
alias sha='(shasum -a 256 | head -c 64)'
|
alias sha='(shasum -a 256 | head -c 64)'
|
||||||
|
|||||||
@ -4,6 +4,7 @@ umask 0077
|
|||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
export VISUAL="nvim"
|
export VISUAL="nvim"
|
||||||
export PAGER="less -R"
|
export PAGER="less -R"
|
||||||
|
export CDPATH=:..:~:~/code
|
||||||
|
|
||||||
export HISTSIZE=10000
|
export HISTSIZE=10000
|
||||||
export HISTFILESIZE=10000
|
export HISTFILESIZE=10000
|
||||||
@ -21,10 +22,10 @@ if [ -d "$HOME/.npm-global/bin" ] ; then
|
|||||||
export PATH="$HOME/.npm-global/bin:$PATH"
|
export PATH="$HOME/.npm-global/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "$HOME/.go" ] ; then
|
|
||||||
export GOPATH="$HOME/.go"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "$HOME/.go/bin" ] ; then
|
if [ -d "$HOME/.go/bin" ] ; then
|
||||||
export PATH="$HOME/.go/bin:$PATH"
|
export PATH="$HOME/.go/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -d "$HOME/.go" ] ; then
|
||||||
|
export GOPATH="$HOME/.go"
|
||||||
|
fi
|
||||||
|
|||||||
@ -272,3 +272,13 @@ showtips() {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
most-often-commands() {
|
||||||
|
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# calculator
|
||||||
|
= () {
|
||||||
|
echo "$*" | bc -l
|
||||||
|
}
|
||||||
|
|||||||
@ -22,6 +22,7 @@ set $mod Mod4
|
|||||||
exec --no-startup-id xset s off
|
exec --no-startup-id xset s off
|
||||||
exec --no-startup-id xset dpms 0 0 0
|
exec --no-startup-id xset dpms 0 0 0
|
||||||
exec --no-startup-id xset r rate 250 100
|
exec --no-startup-id xset r rate 250 100
|
||||||
|
exec setxkbmap -layout us -option caps:escape
|
||||||
exec --no-startup-id setxkbmap -model pc105 -layout us,ru -option grp:win_space_toggle
|
exec --no-startup-id setxkbmap -model pc105 -layout us,ru -option grp:win_space_toggle
|
||||||
exec --no-startup-id xdg-mime default firefox.desktop x-scheme-handler/https x-scheme-handler/http
|
exec --no-startup-id xdg-mime default firefox.desktop x-scheme-handler/https x-scheme-handler/http
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user