i3 unmap caps

This commit is contained in:
TheK4n 2023-03-01 20:12:49 +03:00
parent 211ac032f4
commit a8a3bd3239
4 changed files with 17 additions and 5 deletions

View File

@ -38,7 +38,7 @@ alias c='clear'
alias q='exit 0'
alias h='history | less'
alias j='jobs -l'
alias hg='history|grep'
alias h?='history|grep'
# utils
alias sha='(shasum -a 256 | head -c 64)'

View File

@ -4,6 +4,7 @@ umask 0077
export EDITOR="nvim"
export VISUAL="nvim"
export PAGER="less -R"
export CDPATH=:..:~:~/code
export HISTSIZE=10000
export HISTFILESIZE=10000
@ -21,10 +22,10 @@ if [ -d "$HOME/.npm-global/bin" ] ; then
export PATH="$HOME/.npm-global/bin:$PATH"
fi
if [ -d "$HOME/.go" ] ; then
export GOPATH="$HOME/.go"
fi
if [ -d "$HOME/.go/bin" ] ; then
export PATH="$HOME/.go/bin:$PATH"
fi
if [ -d "$HOME/.go" ] ; then
export GOPATH="$HOME/.go"
fi

View File

@ -272,3 +272,13 @@ showtips() {
return 0
}
most-often-commands() {
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn
}
# calculator
= () {
echo "$*" | bc -l
}

View File

@ -22,6 +22,7 @@ set $mod Mod4
exec --no-startup-id xset s off
exec --no-startup-id xset dpms 0 0 0
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 xdg-mime default firefox.desktop x-scheme-handler/https x-scheme-handler/http