summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2020-11-08 13:07:03 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2020-11-08 14:39:39 +0000
commit89ed903a9987f32c3cf08b75183dd07a653a7e4f (patch)
treea5ea22ffbc77e3efafc04d33f48cb4344958f935
parent9ecc0e033820adb8a352777b10a409e1b3ea5471 (diff)
emacs: Center frames by default
-rw-r--r--emacs/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 06a6351..76b5e27 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -64,6 +64,8 @@
(add-to-list 'auto-mode-alist '("\\.timer\\'" . conf-mode))
(add-to-list 'auto-mode-alist '("/PKGBUILD\\'" . shell-script-mode))
(add-to-list 'default-frame-alist '(height . 40))
+(add-to-list 'default-frame-alist '(left . 0.5))
+(add-to-list 'default-frame-alist '(top . 0.5))
(add-to-list 'default-frame-alist '(width . 160))
(add-to-list 'magic-mode-alist '("#compdef .+" . sh-mode))