2023-09-04 13:36:15 +04:00
|
|
|
(setq inhibit-startup-message t)
|
|
|
|
|
2023-09-04 17:19:21 +04:00
|
|
|
;; go away bars, you look ugly
|
2023-09-04 13:36:15 +04:00
|
|
|
(scroll-bar-mode -1)
|
|
|
|
(tool-bar-mode -1)
|
|
|
|
(tooltip-mode -1)
|
|
|
|
(set-fringe-mode 10)
|
|
|
|
|
|
|
|
(menu-bar-mode -1)
|
|
|
|
|
|
|
|
;; bell
|
|
|
|
(setq visible-bell t)
|
2023-09-04 13:43:15 +04:00
|
|
|
|
|
|
|
;; font
|
2023-09-04 13:54:56 +04:00
|
|
|
(set-face-attribute `default nil :font "JetBrains Mono" :height 150)
|
|
|
|
|
|
|
|
(load-theme 'tango-dark)
|
2023-09-04 17:05:22 +04:00
|
|
|
|
|
|
|
;; packages
|
|
|
|
(require `package)
|
|
|
|
|
|
|
|
(setq package-archives `(("mepla" . "https://melpa.org/packages/")
|
|
|
|
("org" . "https://orgemode.org/elpa/")
|
|
|
|
("elpa" . "https://elpa.gnu.org/packages/")))
|
|
|
|
|
|
|
|
(package-initialize)
|
|
|
|
(unless package-archive-contents
|
|
|
|
(package-refresh-contents))
|
|
|
|
|
|
|
|
;; Init package for non-linux
|
|
|
|
(unless (package-installed-p `use-package)
|
|
|
|
(package-install `use-package))
|
|
|
|
|
|
|
|
(require 'use-package)
|
2023-09-04 17:19:21 +04:00
|
|
|
(setq use-package-always-ensure t)
|
|
|
|
|
2023-09-04 18:11:22 +04:00
|
|
|
(use-package command-log-mode)
|