summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2015-11-25 09:41:42 -0500
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2015-11-25 09:41:42 -0500
commitf64df3a4e474d9a6ef2a69f8f6b6867a6e8d3d10 (patch)
tree2689e6cc9c60db971e132578133b2c089697319b
parent769d3c6a16f7a0837d9c0461a46e1b352f9daa5d (diff)
parent9f6265697a2184fc6050f8b845c8bb43ddc84c2d (diff)
Merge branch 'master' of tesuji.6.orbekk.com:/storage/projects/dotfiles
-rw-r--r--authorized_keys3
-rwxr-xr-xbin/kj-sync-keys.sh10
-rw-r--r--chesen-mouse-emulation.xorg.conf10
-rw-r--r--spacemacs10
4 files changed, 22 insertions, 11 deletions
diff --git a/authorized_keys b/authorized_keys
index f72c037..b730e38 100644
--- a/authorized_keys
+++ b/authorized_keys
@@ -10,3 +10,6 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDLg4w97XpMyb0rFY4CKSF/i1eGmdLcH4lusqpz6C66
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAE4Fn2R4pQ4ufwoZQ3c0DsBKpMoxmcqKihnF7n69rk+rM4JwSKfX/prLb1hdYzoGfryTKyvIGlriZb0+7gQc+MLqNm2KDHY7oUYN/E8Hx3Bmpj3zPfr+t+rvz9gYukfnoQUOQVRK4K6roY/u7PzAYsFBpO/GNC9YC7RzYNHTczZW/1mNbawXir23VboBb83pKWiucoEij+J04m3WnAUbEUzDIHvPmWgsijER/J67krIBTuiELlnAyHhPfdlQ8leupon69Zi1U7BBV85vb1D6ef7R+PUGCeA5fnG+38l+NpFwcLK48uOn0vCFPRPUipFUFUIpI2awV2ctZ7ZwZibUB orbekk@google
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCpahdZ77BSZy1eE35V5TjxnOiSeL/YCjf0OawIj2nZTYieMRev0TMEjtX7QroAVUO48qPAjxRR1G1oHnOQHc3qujoQj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QABAAABAQCqifNkGvOBJcreOBBiwmjdS+ZEwA2P6/wQmhz8+r/7khsy9VtoWBYXCq2Z3fUDL2oqylubH49BlcGi/syE/S75jIg6ab+gGMaTu7Z+DzWestRhkNijFpFZF/NAgL1FvQpW1GdTWhjuWf+kLz8O7WqajwwdoHkktzIe54yrzM5e8B4xHTtcPs4+MsPDAwN3ROwU4Q8/HHUqlqugq7XQr95a5cg4HoGgtZHF9VxkmFLULL2AUvB+lH4SAVJf4dTCYney73eFEcO/PZKjhkAvwcRu3X3vxMMp6goF1rRw6H4EWrnoDwNk596NREtr2HEFxlidinNlSkJLBCodHO0Fz/Rl orbekk@dragon
+
diff --git a/bin/kj-sync-keys.sh b/bin/kj-sync-keys.sh
index b8be72d..1a3c455 100755
--- a/bin/kj-sync-keys.sh
+++ b/bin/kj-sync-keys.sh
@@ -13,12 +13,10 @@ declare -r tmpdir=$(mktemp -d /tmp/kj_sync_authorized_keys.XXXXX)
targets=(
root@orbekk.osl.trygveandre.net
tesuji.6.orbekk.com
- login.6.orbekk.com
- minecraft.6.orbekk.com
+ sabaki.6.orbekk.com
+ dragon.6.orbekk.com
login.pvv.ntnu.no
- aji.orbekk.com
- moyo.orbekk.com
- pi@photobox.6.orbekk.com
+ gote.orbekk.com
)
authorized_keys_file=$HOME/dotfiles/authorized_keys
if [[ ! -f "${authorized_keys_file}" ]]; then
@@ -32,7 +30,7 @@ add_keys_to_file() {
"/$begin_marker/"' { exit 0 } { print }' \
${filename} > ${filename}.header
awk \
- "/$end_marker/"' { should_output=1 } should_output { print }' \
+ "/$end_marker/"' { should_output=1 } !'"/$end_marker/"' { if (should_output) { print } }' \
${filename} > ${filename}.footer
cat "${filename}.header" > ${filename}
diff --git a/chesen-mouse-emulation.xorg.conf b/chesen-mouse-emulation.xorg.conf
new file mode 100644
index 0000000..a6d7abd
--- /dev/null
+++ b/chesen-mouse-emulation.xorg.conf
@@ -0,0 +1,10 @@
+Section "InputClass"
+ Identifier "Wheel emulation"
+ MatchProduct "CHESEN"
+ MatchDevicePath "/dev/input/event*"
+ Option "EmulateWheel" "true"
+ Option "EmulateWheelButton" "3"
+ Option "Emulate3Buttons" "false"
+ Option "XAxisMapping" "6 7"
+ Option "YAxisMapping" "4 5"
+EndSection
diff --git a/spacemacs b/spacemacs
index 6fc1875..21848b3 100644
--- a/spacemacs
+++ b/spacemacs
@@ -40,7 +40,7 @@ values."
;; (shell :variables
;; shell-default-height 30
;; shell-default-position 'bottom)
- ;; spell-checking
+ spell-checking
;; syntax-checking
;; version-control
)
@@ -86,13 +86,13 @@ values."
;; List of themes, the first of the list is loaded when spacemacs starts.
;; Press <SPC> T n to cycle to the next theme in the list (works great
;; with 2 themes variants, one dark and one light)
- dotspacemacs-themes '(spacemacs-dark
+ dotspacemacs-themes '(monokai
+ spacemacs-dark
base16-bright-dark
spacemacs-light
solarized-light
solarized-dark
leuven
- monokai
zenburn)
;; If non nil the cursor color matches the state color.
dotspacemacs-colorize-cursor-according-to-state t
@@ -215,7 +215,6 @@ user code."
"Set up my custom bindings."
(evil-leader/set-key "on" #'nohlsearch)
(evil-leader/set-key "of" #'auto-fill-mode)
- (spacemacs/declare-prefix "or" "org")
(evil-leader/set-key "ort" #'org-agenda-file-to-front)
(evil-leader/set-key "orl" #'org-store-link)
(evil-leader/set-key "ora" #'org-agenda)
@@ -236,6 +235,7 @@ user code."
org-capture-templates
'(("t" "Todo" entry (file+headline "~/org/in.org" "Tasks")
"* TODO %?\n %i\n %a")))
+ (eval-after-load "org" '(require 'ox-md nil t))
)
(defun dotspacemacs/user-config ()
@@ -243,11 +243,11 @@ user code."
This function is called at the very end of Spacemacs initialization after
layers configuration. You are free to put any user code."
(setq custom-file "~/.spacemacs.local")
- (load-file "~/.spacemacs.local")
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
(setq-default
vc-follow-symlinks nil
web-mode-code-indent-offset 2)
(kj-bindings)
(kj-org-config)
+ (load-file "~/.spacemacs.local")
)