Swap keys using xkb instead of xmodmap
Removed old swap key lines from config and added dir/script to symlink xkb file to lc dir. Fixes issue of having to release keys when starting terminal with xmodmap.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
URxvt.font: xft:hack:size=14
|
||||
! URxvt.font: xft:hack:size=14
|
||||
URxvt.font: xft:hack:size=13
|
||||
|
||||
/* transparency {{{ */
|
||||
URxvt*inheritPixmap: true
|
||||
|
||||
@@ -144,6 +144,7 @@ let mapleader="\<Space>"
|
||||
nnoremap <leader>cmt :%s/>\(.*\)>/<!---\1-->/g<CR>
|
||||
" delete line into system clipboard
|
||||
nnoremap <leader>D "+dd
|
||||
nnoremap <leader>DA "+ggdG
|
||||
" reload file
|
||||
nnoremap <leader>e :e<CR>
|
||||
" reload folds
|
||||
|
||||
@@ -94,18 +94,13 @@ source ~/linux-config/aliases/zsh_aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
if [ "$(whoami)" = "kevin" ]; then
|
||||
export PATH="${PATH}:${HOME}/.local/bin/"
|
||||
(cat ~/.cache/wal/sequences &)
|
||||
# keyboard delay/rate
|
||||
xset r rate 200 60
|
||||
fi
|
||||
# NZXT
|
||||
if [ "$(hostname)" = "NZXT" ];
|
||||
then
|
||||
xmodmap -e "clear Lock"
|
||||
xmodmap -e "keycode 22 = Caps_Lock"
|
||||
xmodmap -e "keycode 66 = BackSpace"
|
||||
# else
|
||||
# xrandr --dpi 150
|
||||
# pywal
|
||||
export PATH="${PATH}:${HOME}/.local/bin/"
|
||||
(cat ~/.cache/wal/sequences &)
|
||||
|
||||
# keyboard delay/rate
|
||||
xset r rate 200 60
|
||||
# laptop
|
||||
if [ "$(hostname)" = "X1-Carbon" ];
|
||||
xrandr --dpi 125
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user