0bf13c58fc21

linux
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sun, 10 Jun 2018 09:17:04 -0700
parents 179868606811
children 8899300998c0
branches/tags (none)
files bin/keysettings bin/pass-work browsrc ideavimrc xsessionrc

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/keysettings	Sun Jun 10 09:17:04 2018 -0700
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+xmodmap ~/.Xmodmap
+xset r rate 220 55
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/pass-work	Sun Jun 10 09:17:04 2018 -0700
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -eo pipefail
+
+PASSWORD_STORE_DIR=$HOME/.password-store-work pass "$@"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/browsrc	Sun Jun 10 09:17:04 2018 -0700
@@ -0,0 +1,1 @@
+(brows:define-action #\newline "xdg-open" :exit t)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ideavimrc	Sun Jun 10 09:17:04 2018 -0700
@@ -0,0 +1,28 @@
+set gdefault
+set surround
+set hlsearch
+set incsearch
+set ignorecase
+set smartcase
+
+noremap H ^
+noremap L $
+vnoremap L g_
+noremap s :w<cr>
+nnoremap ,<space> :noh<cr>
+
+nnoremap <Space> za
+vnoremap <Space> za
+nnoremap zO zczO
+
+nnoremap <cr> o<esc>
+nnoremap K :q<cr>
+nnoremap ,v <c-w>v
+nnoremap ,s <c-w>s
+
+nnoremap <c-h> <c-w>h
+nnoremap <c-j> <c-w>j
+nnoremap <c-k> <c-w>k
+nnoremap <c-l> <c-w>l
+
+nnoremap <tab> %
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xsessionrc	Sun Jun 10 09:17:04 2018 -0700
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+if [ -d /etc/X11/xinit/xinitrc.d ]; then
+  for f in /etc/X11/xinit/xinitrc.d/*; do
+      [ -x "$f" ] && . "$f"
+  done
+  unset f
+fi
+
+
+TRACKPAD=`xinput list | grep 'Elantech Touchpad' | cut -d= -f2 | cut -f1`
+SCROLL=`xinput list-props $TRACKPAD | grep 'Natural Scrolling Enabled (' | cut -d\( -f2 | cut -d\) -f1`
+# CLICK=`xinput list-props $TRACKPAD | grep 'Click Method Enabled (' | cut -d\( -f2 | cut -d\) -f1`
+
+xinput set-prop $TRACKPAD $SCROLL 1
+# xinput set-prop $TRACKPAD $CLICK 0, 1
+
+/home/sjl/lib/dotfiles/bin/keysettings
+xcape -t 200 -e 'Control_L=Escape'
+xautolock -time 15 -locker /usr/bin/slock &
+
+exec /usr/local/bin/stumpwm
+