dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 0f82f3827f12369d9467997fd85684975b6dbc7a
parent f22fe7ab51828cb94056eff1fb85b7e41914466c
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Thu, 15 Jul 2021 11:05:47 +0200

emacs: move GUI customizations into init.el

Bars should be hidden and frame should be fullscreen as the very first
thing.

Diffstat:
Memacs/custom.el | 5+++--
Memacs/init.el | 12++++++++++++
2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/emacs/custom.el b/emacs/custom.el @@ -4,10 +4,11 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-safe-themes - '("6c386d159853b0ee6695b45e64f598ed45bd67c47f671f69100817d7db64724d" "8f5a7a9a3c510ef9cbb88e600c0b4c53cdcdb502cfe3eb50040b7e13c6f4e78e" "4bca89c1004e24981c840d3a32755bf859a6910c65b829d9441814000cf6c3d0" "f2927d7d87e8207fa9a0a003c0f222d45c948845de162c885bf6ad2a255babfd" "e3c64e88fec56f86b49dcdc5a831e96782baf14b09397d4057156b17062a8848" "f4876796ef5ee9c82b125a096a590c9891cec31320569fc6ff602ff99ed73dca" default)) + '("f91395598d4cb3e2ae6a2db8527ceb83fed79dbaf007f435de3e91e5bda485fb" "6c386d159853b0ee6695b45e64f598ed45bd67c47f671f69100817d7db64724d" "8f5a7a9a3c510ef9cbb88e600c0b4c53cdcdb502cfe3eb50040b7e13c6f4e78e" "4bca89c1004e24981c840d3a32755bf859a6910c65b829d9441814000cf6c3d0" "f2927d7d87e8207fa9a0a003c0f222d45c948845de162c885bf6ad2a255babfd" "e3c64e88fec56f86b49dcdc5a831e96782baf14b09397d4057156b17062a8848" "f4876796ef5ee9c82b125a096a590c9891cec31320569fc6ff602ff99ed73dca" default)) + '(default-input-method "czech-qwerty") '(package-hidden-regexps '("^I")) '(package-selected-packages - '(2048-game vterm notmuch magit lean-mode markdown-mode anki-connect anki-editor doom-themes all-the-icons use-package-ensure which-key use-package org-bullets helm exec-path-from-shell))) + '(elpher sr-speedbar 2048-game vterm notmuch magit lean-mode markdown-mode anki-connect anki-editor doom-themes all-the-icons use-package-ensure which-key use-package org-bullets helm exec-path-from-shell))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/emacs/init.el b/emacs/init.el @@ -1,5 +1,17 @@ ;; Follow symlinks without prompting (the org file is a symlink) (setq vc-follow-symlinks t) +;; Get rid of all bars +(setq org-src-tab-acts-natively t) +(when window-system + (menu-bar-mode -1) + (tool-bar-mode -1) + (scroll-bar-mode -1) + (tooltip-mode -1)) + +;; Start in fullscreen mode +(toggle-frame-fullscreen) + +;; Load all other customization from the org file (org-babel-load-file (expand-file-name "config.org" user-emacs-directory))