Update a few configs

This commit is contained in:
natemaia 2019-03-02 19:32:13 -08:00
parent a8da0480b3
commit 4212dfca4d
4 changed files with 6 additions and 22 deletions

View File

@ -133,7 +133,6 @@ nnoremap <silent> <Leader>tp :tabprevious<CR>
" close current buffer and/or tab
nnoremap <silent> <Leader>q :B<CR>:silent tabclose<CR>gT
nnoremap <silent> <Leader>tl :execute "tabn ".g:lasttab<CR>
" open a new tab in the current directory with netrw
nnoremap <silent> <Leader>- :tabedit <C-R>=expand("%:p:h")<CR><CR>
@ -145,12 +144,6 @@ nnoremap <Bar> <C-W>v<C-W><Right>
" ------ autocmd ------
let g:lasttab = 1
augroup save_last_tab
autocmd!
autocmd TabLeave * let g:lasttab = tabpagenr()
augroup END
" Reload changes if file changed outside of vim requires autoread
augroup load_changed_file
autocmd!

View File

@ -4,7 +4,7 @@
# default arch init scripts
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*.sh; do
for f in /etc/X11/xinit/xinitrc.d/?*.sh; do
[ -x "$f" ] && . "$f"
done
fi

View File

@ -1,7 +1,8 @@
#!/bin/sh
# ~/.xprofile
# sourced at boot by xinit and display managers like lightdm
# sourced at boot by ~/.xinitrc and display managers like lightdm
export XDG_CONFIG_HOME="$HOME/.config"
@ -16,13 +17,12 @@ nitrogen --restore &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
gnome-keyring-daemon --start --components=pkcs11 &
# pressing super alone simulates Alt-F1
# super alone simulates Alt-F1
ksuperkey -e 'Super_L=Alt_L|F1' &
ksuperkey -e 'Super_R=Alt_L|F1' &
# display timeout and sleep
xset s 1200 1300
xset dpms 1200 1300 1400
# dpms: timeout sleep off
xset dpms 600 900 1200
# keyboard repeat rate
xset r rate 350 60

View File

@ -1,12 +1,6 @@
# compton
al-compositor --start &
# enable numlock, commented out for laptop users
# numlockx &
# restore wallpaper
nitrogen --restore &
# required for xfce settings to work
xfsettingsd &
@ -15,6 +9,3 @@ skippy-xd --config ~/.config/skippy-xd/skippy-xd.rc --start-daemon &
# start the panel
al-polybar-session &
# start conky
# al-conky-session --autostart &