summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Isom <kyle@imap.cc>2017-10-26 15:16:27 -0700
committerKyle Isom <kyle@imap.cc>2017-10-26 15:16:27 -0700
commitd1061b703cf9596ef4c6c6b55838531e8f611220 (patch)
tree0ea3946cffa1eccbefb2d7cafde4089a43a45a95
parent0fe1a676c5b99d59e581236fa16c2d579256aef8 (diff)
downloadhome-d1061b703cf9596ef4c6c6b55838531e8f611220.tar.gz
home-d1061b703cf9596ef4c6c6b55838531e8f611220.tar.bz2
home-d1061b703cf9596ef4c6c6b55838531e8f611220.zip
Carry over updates from tessier.
-rw-r--r--.bashrc5
-rw-r--r--.config/htop/htoprc2
-rw-r--r--.emacs.d/ensure.el1
-rw-r--r--.stumpwmrc32
-rw-r--r--.xsession3
5 files changed, 37 insertions, 6 deletions
diff --git a/.bashrc b/.bashrc
index 6bc39a5..1777197 100644
--- a/.bashrc
+++ b/.bashrc
@@ -124,6 +124,9 @@ if [ -f '/home/kyle/.local/google-cloud-sdk/completion.bash.inc' ]; then source
alias kubecomplete='source <(kubectl completion bash)'
export GOPATH=$HOME
+export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/cuda-8.0/bin:$PATH
-# added by Miniconda3 4.3.21 installer
+# added by Anaconda3 4.4.0 installer
export PATH="/home/kyle/anaconda3/bin:$PATH"
+export SBCL_HOME=/usr/lib/sbcl
+export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH
diff --git a/.config/htop/htoprc b/.config/htop/htoprc
index 3740c50..b25c04d 100644
--- a/.config/htop/htoprc
+++ b/.config/htop/htoprc
@@ -1,7 +1,7 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
fields=0 48 17 18 38 39 40 2 46 47 49 1
-sort_key=47
+sort_key=46
sort_direction=1
hide_threads=0
hide_kernel_threads=1
diff --git a/.emacs.d/ensure.el b/.emacs.d/ensure.el
index 1e1fddf..ccb3e59 100644
--- a/.emacs.d/ensure.el
+++ b/.emacs.d/ensure.el
@@ -22,6 +22,7 @@
pelican-mode
rust-mode
scpaste
+ slime
undo-tree)))
(dolist (package initial-package-list)
(ensure-package package)))
diff --git a/.stumpwmrc b/.stumpwmrc
index d06f84b..5944549 100644
--- a/.stumpwmrc
+++ b/.stumpwmrc
@@ -1,9 +1,33 @@
- (setf *frame-number-map* "1234567890")
+(ql:quickload :swank)
+(let ((server-running nil))
+ (defcommand swank () ()
+ "Toggle the swank server on/off"
+ (if server-running
+ (progn
+ (swank:stop-server 4005)
+ (echo-string
+ (current-screen)
+ "Stopping swank.")
+ (setf server-running nil))
+ (progn
+ (swank:create-server :port 4005
+ :style swank:*communication-style*
+ :dont-close t)
+ (echo-string
+ (current-screen)
+ "Starting swank. M-x slime-connect RET RET, then (in-packqage stumpwm).")
+ (setf server-running t)))))
+
+(define-key *root-map* (kbd "C-s") "swank")
+
+(setf *frame-number-map* "1234567890")
(run-commands
"gnewbg G2"
"gnewbg G3"
- "gnewbg G4")
-(loop for i from 0 to 4
+ "gnewbg G4"
+ "gnewbg G5"
+)
+(loop for i from 0 to 5
do
(define-key *top-map*
(kbd (format nil "M-~a" i))
@@ -29,6 +53,8 @@
(define-key *root-map* (kbd "e") "exec emacsclient -c -a ''")
(define-key *root-map* (kbd "l") "lock")
(define-key *root-map* (kbd "C-i") "exec xfce4-terminal -x /home/kyle/bin/aipy")
+;;; for now, use the AIND conda env
+;; (define-key *root-map* (kbd "C-i") "exec xfce4-terminal -x tmux new-session /home/kyle/anaconda3/bin/ipython3")
(define-key *root-map* (kbd "M") "exec xterm -e htop")
(define-key *root-map* (kbd "P") "exec xfce4-terminal -x kpcli --kdb /home/kyle/Default.kdbx")
(define-key *root-map* (kbd "RET") "exec xterm")
diff --git a/.xsession b/.xsession
index 328fdad..666c557 100644
--- a/.xsession
+++ b/.xsession
@@ -1,3 +1,4 @@
xscreensaver -no-splash &
+xsetroot -solid "#000000"
xmodmap $HOME/.xmodmaprc
-exec ssh-agent stumpwm
+exec ssh-agent /usr/local/bin/stumpwm