2019-01-24 10:21:19 +01:00
|
|
|
;;; oni-ui.el --- Common UI settings -*- lexical-binding: t; -*-
|
|
|
|
|
|
|
|
;; Copyright (C) 2019 Tom Willemse
|
|
|
|
|
|
|
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
|
|
|
;; Keywords: local
|
2021-11-23 09:38:09 +01:00
|
|
|
;; Version: 2021.1123.003239
|
2020-12-18 09:08:55 +01:00
|
|
|
;; Package-Requires: (beacon diminish)
|
2019-01-24 10:21:19 +01:00
|
|
|
|
|
|
|
;; This program is free software; you can redistribute it and/or modify
|
|
|
|
;; it under the terms of the GNU General Public License as published by
|
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
|
|
|
|
|
|
|
;; This program is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
|
|
|
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
|
|
|
|
;; Common settings for UI, regardless of which type (GUI, TUI).
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
2020-03-02 19:28:50 +01:00
|
|
|
(require 'beacon)
|
2020-12-18 09:08:55 +01:00
|
|
|
(require 'diminish)
|
|
|
|
(require 'tool-bar)
|
|
|
|
|
2021-08-27 21:03:41 +02:00
|
|
|
(with-eval-after-load 'beacon
|
|
|
|
(diminish 'beacon-mode)
|
|
|
|
(add-to-list 'beacon-dont-blink-major-modes 'circe-channel-mode))
|
2019-02-26 04:10:31 +01:00
|
|
|
|
2019-01-24 10:21:19 +01:00
|
|
|
(menu-bar-mode -1)
|
|
|
|
(tool-bar-mode -1)
|
|
|
|
|
2019-02-26 09:38:29 +01:00
|
|
|
(blink-cursor-mode -1)
|
|
|
|
|
2019-02-26 10:50:47 +01:00
|
|
|
(show-paren-mode)
|
2020-03-02 19:28:50 +01:00
|
|
|
(beacon-mode)
|
2019-02-26 10:50:47 +01:00
|
|
|
|
2019-01-26 09:07:13 +01:00
|
|
|
(setq inhibit-startup-screen t)
|
|
|
|
|
2019-01-24 10:21:19 +01:00
|
|
|
(provide 'oni-ui)
|
|
|
|
;;; oni-ui.el ends here
|