commit d4a324d2c90ac6cde515bc42b9ba45456ea90550
Author: Simon Watson <spw01@protonmail.com>
Date: Tue Jul 13 10:16:59 2021 -0400
Updated linux config
diff --git a/emacs/.emacs-all b/emacs/.emacs-all
index 934661f..ee19fb4 100644
--- a/emacs/.emacs-all
+++ b/emacs/.emacs-all
@@ -124,6 +124,7 @@
(global-set-key (kbd "<home>") 'beginning-of-line)
(global-set-key (kbd "<end>") 'end-of-line)
+;; Custom functions
(defun reload-dot-emacs ()
(interactive)
(load-file (file-truename "~/.emacs")))
@@ -147,6 +148,11 @@
(display-time-mode t)
(display-line-numbers-mode t)
+;; Perl Config
+(setq
+ perl-indent-parens-as-block 0
+ perl-indent-level 8)
+
;; Load for macOS
;;; Slime/etc
(if (eq system-type 'darwin)
@@ -180,7 +186,13 @@
(nano-dark)))
;; Load for GUI Linux
-
+(if (eq system-type 'gnu/linux)
+ (if (display-graphic-p)
+ (progn
+ (load "~/Repos/dotfiles/emacs/linux-load/customs.el")
+ (load-theme 'nano t)
+ (nano-dark))))
+
;; Load for Term
(unless (display-graphic-p)
(xterm-mouse-mode t))
diff --git a/emacs/linux-load/customs.el b/emacs/linux-load/customs.el
new file mode 100644
index 0000000..1c3ec6e
--- /dev/null
+++ b/emacs/linux-load/customs.el
@@ -0,0 +1,12 @@
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(display-time-mode t))
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(default ((t (:family "Gohu GohuFont" :foundry "UNKN" :slant normal :weight normal :height 83 :width normal)))))