add bin/ install to installer
This commit is contained in:
parent
44480115c3
commit
4d2ea52a69
4 changed files with 54 additions and 1 deletions
|
@ -77,6 +77,37 @@ bindsym $mod+bracketright focus output right
|
|||
bindsym $mod+Shift+bracketleft workspace prev_on_output
|
||||
bindsym $mod+Shift+bracketright workspace next_on_output
|
||||
|
||||
mode "resize" {
|
||||
bindsym h resize shrink width 10 px or 10 ppt
|
||||
bindsym j resize grow height 10 px or 10 ppt
|
||||
bindsym k resize shrink height 10 px or 10 ppt
|
||||
bindsym l resize grow width 10 px or 10 ppt
|
||||
|
||||
# same bindings, but for the arrow keys
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
|
||||
# nice system menu
|
||||
set $mode_system System (e) logout, (r) reboot, (shift+s) shutdown
|
||||
mode "$mode_system" {
|
||||
bindsym e exec --no-startup-id ~/bin/i3exit exit, mode "default"
|
||||
bindsym r exec --no-startup-id ~/bin/i3exit reboot, mode "default"
|
||||
bindsym Shift+s exec --no-startup-id ~/bin/i3exit shutdown, mode "default"
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+Shift+e mode "$mode_system"
|
||||
|
||||
# appearance
|
||||
#font xft:artwiz lime 7
|
||||
|
|
10
_config/nvim/.netrwhist
Normal file
10
_config/nvim/.netrwhist
Normal file
|
@ -0,0 +1,10 @@
|
|||
let g:netrw_dirhistmax =10
|
||||
let g:netrw_dirhist_cnt =8
|
||||
let g:netrw_dirhist_1='/home/mark/dotfiles-test'
|
||||
let g:netrw_dirhist_2='/home/mark/dotfiles-test/.fzf'
|
||||
let g:netrw_dirhist_3='/home/mark/dotfiles-test'
|
||||
let g:netrw_dirhist_4='/home/mark/dotfiles-test/.fzf'
|
||||
let g:netrw_dirhist_5='/home/mark/dotfiles-test'
|
||||
let g:netrw_dirhist_6='/home/mark'
|
||||
let g:netrw_dirhist_7='/home/mark/.config'
|
||||
let g:netrw_dirhist_8='/home/mark/dotfiles-test'
|
|
@ -143,7 +143,10 @@ if executable('rg')
|
|||
endif
|
||||
|
||||
" theme / visual
|
||||
colorscheme wal
|
||||
try
|
||||
colorscheme wal
|
||||
catch
|
||||
endtry
|
||||
hi clear SpellBad " italicize misspellings
|
||||
hi SpellBad gui=underline cterm=italic
|
||||
|
||||
|
|
|
@ -129,6 +129,15 @@ for path in _config/*; do
|
|||
link $basedir/_config/$path $homedir/.config/${path}
|
||||
done
|
||||
|
||||
note "Installing bin/ directory..."
|
||||
mkdir -v -p $bindir
|
||||
if [ -d _bin ]; then
|
||||
for path in _bin/*; do
|
||||
relpath=${path##*/}
|
||||
link $basedir/$path $bindir/$relpath
|
||||
done
|
||||
fi
|
||||
|
||||
note "Done."
|
||||
|
||||
# vim:ts=4:sw=4:et:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue