From 4212dfca4d2610842e82ab2b2d27807227ca1f14 Mon Sep 17 00:00:00 2001 From: natemaia Date: Sat, 2 Mar 2019 19:32:13 -0800 Subject: [PATCH] Update a few configs --- base/.vimrc | 7 ------- base/.xinitrc | 2 +- base/.xprofile | 10 +++++----- openbox-home/.config/openbox/autostart | 9 --------- 4 files changed, 6 insertions(+), 22 deletions(-) diff --git a/base/.vimrc b/base/.vimrc index 07e94cb3..b2006eed 100644 --- a/base/.vimrc +++ b/base/.vimrc @@ -133,7 +133,6 @@ nnoremap tp :tabprevious " close current buffer and/or tab nnoremap q :B:silent tabclosegT -nnoremap tl :execute "tabn ".g:lasttab " open a new tab in the current directory with netrw nnoremap - :tabedit =expand("%:p:h") @@ -145,12 +144,6 @@ nnoremap v " ------ 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! diff --git a/base/.xinitrc b/base/.xinitrc index f1e57bdb..74050962 100755 --- a/base/.xinitrc +++ b/base/.xinitrc @@ -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 diff --git a/base/.xprofile b/base/.xprofile index 9053d895..257f1265 100644 --- a/base/.xprofile +++ b/base/.xprofile @@ -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 diff --git a/openbox-home/.config/openbox/autostart b/openbox-home/.config/openbox/autostart index 4f41da1a..da5a23d7 100644 --- a/openbox-home/.config/openbox/autostart +++ b/openbox-home/.config/openbox/autostart @@ -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 &