aboutsummaryrefslogtreecommitdiffstats
path: root/oni-shackle.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-02-19 01:03:07 -0800
committerGravatar Tom Willemse2019-02-19 01:03:16 -0800
commit5f741f096651ab077ac2cbc733220f2ad0081430 (patch)
tree953e26a098a9d8f70c0af8e22fbc337dce7b1799 /oni-shackle.el
parente4764a0788bbc6601a23fb11f4300cd3ef4d4d5c (diff)
downloademacs-config-5f741f096651ab077ac2cbc733220f2ad0081430.tar.gz
emacs-config-5f741f096651ab077ac2cbc733220f2ad0081430.zip
Add oni-shackle
Diffstat (limited to 'oni-shackle.el')
-rw-r--r--oni-shackle.el41
1 files changed, 41 insertions, 0 deletions
diff --git a/oni-shackle.el b/oni-shackle.el
new file mode 100644
index 0000000..335da19
--- /dev/null
+++ b/oni-shackle.el
@@ -0,0 +1,41 @@
+;;; oni-shackle.el --- Shackle configuration -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2019 Tom Willemse
+
+;; Author: Tom Willemse <tom@ryuslash.org>
+;; Keywords: local
+;; Version: 20190219010138
+;; Package-Requires: (shackle)
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; Configuration for `shackle-mode'.
+
+;;; Code:
+
+(require 'shackle)
+
+(setq shackle-rules
+ '((compilation-mode :align 'below :size 0.33)
+ (prodigy-mode :align 'below :size 0.33)
+ (help-mode :select t)
+ (magit-status-mode :same t)))
+
+;;;###autoload
+(shackle-mode)
+
+(provide 'oni-shackle)
+;;; oni-shackle.el ends here