1
0
Fork 0
emacs-config/oni-gui.el

75 lines
2.4 KiB
EmacsLisp
Raw Normal View History

2019-01-24 10:21:19 +01:00
;;; oni-gui.el --- GUI settings for Emacs -*- lexical-binding: t; -*-
;; Copyright (C) 2019 Tom Willemse
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
2020-03-07 08:19:24 +01:00
;; Version: 2020.0306.231839
;; Package-Requires: (oni-ui oni-hydra yoshi-theme 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:
;; These are my GUI settings.
;;; Code:
(add-to-list 'default-frame-alist '(font . "Fantasque Sans Mono-15"))
(add-to-list 'default-frame-alist '(internal-border-width . 15))
(set-fontset-font t ? "Font Awesome 5 Free Solid")
(set-fontset-font t ? "Font Awesome 5 Free Solid")
(set-fontset-font t ? "Font Awesome 5 Free Solid")
(set-fontset-font t ? "Font Awesome 5 Free Solid")
(set-fontset-font t ? "Font Awesome 5 Free Solid")
(set-fontset-font t ? "Font Awesome 5 Free Solid")
(set-fontset-font t ? "Font Awesome 5 Free Solid")
(set-fontset-font t ? "Font Awesome 5 Free Solid")
(set-fontset-font t ? "Font Awesome 5 Free Solid")
(set-fontset-font t ? "Font Awesome 5 Free Solid")
(set-fontset-font t ? "Font Awesome 5 Free Solid")
(set-fontset-font t ? "Font Awesome 5 Free Solid")
(set-fontset-font t ? "Font Awesome 5 Free Solid")
(set-fontset-font t ?◉ "DejaVu Sans Mono")
(set-fontset-font t ?○ "DejaVu Sans Mono")
(set-fontset-font t ?✸ "DejaVu Sans Mono")
(set-fontset-font t ?✿ "DejaVu Sans Mono")
(diminish 'isearch-mode "")
2020-03-07 08:19:24 +01:00
(defhydra oni-gui-hydra (:color teal :hint nil)
"
^Buffer^
^^----------
_br_: Revert
"
("br" (revert-buffer nil t)))
2019-01-24 10:21:19 +01:00
(setq-default cursor-type '(bar . 2))
(setq-default cursor-in-non-selected-windows 'box)
(scroll-bar-mode -1)
2019-03-05 08:52:24 +01:00
(global-unset-key (kbd "C-z"))
2020-03-07 08:19:24 +01:00
(global-set-key (kbd "C-c c") 'oni-gui-hydra/body)
2019-03-05 08:52:24 +01:00
2019-10-17 08:27:53 +02:00
(load-theme 'yoshi :no-confirm)
2019-01-24 10:21:19 +01:00
2019-01-30 10:51:03 +01:00
;;;###autoload(require 'oni-gui)
2019-01-24 10:21:19 +01:00
(provide 'oni-gui)
;;; oni-gui.el ends here