Copied i3blocks scripts from orig dir

Some were modified from original but can't be bothered to check which.
'backlight' is custom. Changed both PC/laptop i3blocks config to
reference new i3blocks-scripts location.

system: Fixed keyboard repeat rate for PC/laptop.
Git: Added amending commit and forcing push aliases.
i3: Changed '$mod+F[1-3]' mappings to just 'F[1-3]'.
This commit is contained in:
2018-03-08 06:37:28 -05:00
parent a4d1cd0776
commit c87546e75c
18 changed files with 488 additions and 27 deletions

View File

@@ -4,7 +4,7 @@ URxvt.font: xft:hack:size=12
URxvt*inheritPixmap: true
URxvt*transparent: true
! URxvt*shading: 0 to 99 darkens, 101 to 200 lightens
URxvt*shading: 30
URxvt*shading: 40
/* }}} transparency */
URxvt.scrollBar: false

View File

@@ -117,7 +117,7 @@ colorscheme wal
" Mappings {{{ "
" function keys {{{ "
map <F3> :wa<CR>
" map <F3> :wa<CR>
map <F4> :wqa<CR>
map <F5> :qa!<CR>
map <F6> :make -C ~/Documents/resume cv<CR>
@@ -171,8 +171,6 @@ nnoremap <leader>rv :source $MYVIMRC<CR>
nnoremap <leader>R q:i%s///g<ESC>2F/i
" set syntax to shell (for dotfiles)
nnoremap <leader>s :set syn=sh<CR>
" replace bars/underscores in URL
nnoremap <leader>url :.s/\([-_]\)/\\\1/g<CR>
" format current line
nnoremap <leader>w Vgq
" format this and next line
@@ -181,6 +179,7 @@ nnoremap <leader>ww Vjgq
nnoremap <leader>z za
" copy next thing to system clipboard
nnoremap <leader>y "+
nnoremap <leader>Y "+Y
" }}} leader mappings "
@@ -193,6 +192,7 @@ autocmd Filetype c inoremap <localleader>s struct pixel
" tex {{{ "
autocmd Filetype tex inoremap <localleader>D \Delta
autocmd Filetype tex inoremap <localleader>e \exists
autocmd Filetype tex inoremap <localleader>ep \epsilon
autocmd Filetype tex inoremap <localleader>fa \forall
autocmd Filetype tex inoremap <localleader>g \geq
autocmd Filetype tex inoremap <localleader>i \in
@@ -204,6 +204,8 @@ autocmd Filetype tex inoremap <localleader>R \Rightarrow
autocmd Filetype tex inoremap <localleader>st such that
autocmd Filetype tex inoremap <localleader>t \times
autocmd Filetype tex inoremap <localleader>T $T$
" replace bars/underscores in URL
autocmd Filetype tex inoremap <localleader>url :.s/\([-_]\)/\\\1/g<CR>
autocmd Filetype tex inoremap <localleader>v \vee
autocmd Filetype tex inoremap <localleader>w \wedge
autocmd Filetype tex inoremap <localleader>x $x$-axis

View File

@@ -95,8 +95,6 @@ source ~/linux-config/aliases/zsh_aliases
# alias ohmyzsh="mate ~/.oh-my-zsh"
if [ "$(whoami)" = "kevin" ]; then
gsettings set org.gnome.desktop.peripherals.keyboard delay 25
gsettings set org.gnome.desktop.peripherals.keyboard repeat-interval 200
export PATH="${PATH}:${HOME}/.local/bin/"
(cat ~/.cache/wal/sequences &)
fi
@@ -106,6 +104,11 @@ then
xmodmap -e "clear Lock"
xmodmap -e "keycode 22 = Caps_Lock"
xmodmap -e "keycode 66 = BackSpace"
# keyboard repeat rate
gsettings set org.gnome.desktop.peripherals.keyboard delay 25
gsettings set org.gnome.desktop.peripherals.keyboard repeat-interval 200
else
xrandr --dpi 150
xset r rate 200 60
fi