diff options
Diffstat (limited to 'shoshin-config.el')
-rw-r--r-- | shoshin-config.el | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/shoshin-config.el b/shoshin-config.el index f14c432..33c7504 100644 --- a/shoshin-config.el +++ b/shoshin-config.el @@ -2,7 +2,9 @@ ;;; Package Management (when (< emacs-major-version 28) - (add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/"))) + (package-initialize) + (add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/")) + (package-refresh-contents)) (when (and (functionp #'native-comp-available-p) (native-comp-available-p)) (setq native-comp-always-compile t @@ -10,6 +12,7 @@ ;;; Major Keybinding (package-install 'xah-fly-keys) +(require 'xah-fly-keys) (xah-fly-keys-set-layout "qwerty") (setq xah-fly-use-control-key nil xah-fly-use-meta-key nil) @@ -70,8 +73,10 @@ (setq srht-username "shoshin") ;;; User Interface -(scroll-bar-mode nil) -(fringe-mode '(8 . 0)) +(unless (null window-system) + (scroll-bar-mode nil) + (fringe-mode '(8 . 0))) + (tab-bar-mode t) (display-battery-mode t) |