diff options
author | dx <aryadevchavali1@gmail.com> | 2020-07-15 15:56:08 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-07-15 15:57:09 +0100 |
commit | 6bdf6db3b453cff3a3f46f1b8f33cac6426f98ac (patch) | |
tree | b13c110ee1e64abfc19126085b08bace6a42d14c /Doom/.doom.d/modules/private/oreoline | |
parent | 33edf2cf6d1a2d653ca268ad272eb8f4f30380ef (diff) | |
download | dotfiles-6bdf6db3b453cff3a3f46f1b8f33cac6426f98ac.tar.gz dotfiles-6bdf6db3b453cff3a3f46f1b8f33cac6426f98ac.tar.bz2 dotfiles-6bdf6db3b453cff3a3f46f1b8f33cac6426f98ac.zip |
~~/.doom.d -> ~/.config/doom
Diffstat (limited to 'Doom/.doom.d/modules/private/oreoline')
-rw-r--r-- | Doom/.doom.d/modules/private/oreoline/README.org | 13 | ||||
-rw-r--r-- | Doom/.doom.d/modules/private/oreoline/config.el | 74 | ||||
-rw-r--r-- | Doom/.doom.d/modules/private/oreoline/packages.el | 5 |
3 files changed, 0 insertions, 92 deletions
diff --git a/Doom/.doom.d/modules/private/oreoline/README.org b/Doom/.doom.d/modules/private/oreoline/README.org deleted file mode 100644 index 57b24e9..0000000 --- a/Doom/.doom.d/modules/private/oreoline/README.org +++ /dev/null @@ -1,13 +0,0 @@ -#+TITLE: private/oreoline -#+DATE: March 29, 2020 - -* Description -My very own modeline. Minimalist, isn't particularly fancy but does the job. -Uses telephone line with some configuration. Has support for a light version as well. - -Has LSP support as well as evil support (can present evil modes and LSP mode). -* Prerequisites -None -* Requirements -- telephone line -- evil-anzu diff --git a/Doom/.doom.d/modules/private/oreoline/config.el b/Doom/.doom.d/modules/private/oreoline/config.el deleted file mode 100644 index 0bc3a41..0000000 --- a/Doom/.doom.d/modules/private/oreoline/config.el +++ /dev/null @@ -1,74 +0,0 @@ -;;; ui/telephone/config.el -*- lexical-binding: t; -*- - -(use-package! telephone-line - :hook (after-init . telephone-line-mode) - :init - ;; Faces - (defface +oreoline-accent-dark '((t (:foreground "black" :background "Cadet Blue" ))) "") - (defface +oreoline-evil-dark '((t (:foreground "white" :background "dark green" ))) "") - (defface +oreoline-evil-inactive '((t (:foreground "cornsilk" :background "gray26" ))) "") - - (defface +oreoline-accent-light '((t (:foreground "black" :background "Light Slate Grey"))) "") - (defface +oreoline-evil-light '((t (:foreground "black" :background "Sky Blue" ))) "") - - ;; Set telephone line faces - (setq telephone-line-faces - '((evil . (+oreoline-evil-dark . +oreoline-evil-inactive)) - (modal . telephone-line-modal-face) - (ryo . telephone-line-ryo-modal-face) - (accent . (+oreoline-accent-dark . telephone-line-accent-inactive)) - (nil mode-line . mode-line-inactive))) - (when (featurep! +light) - (setq telephone-line-faces - '((evil . (+oreoline-evil-light . +oreoline-evil-inactive)) - (modal . telephone-line-modal-face) - (ryo . telephone-line-ryo-modal-face) - (accent . (+oreoline-accent-light . telephone-line-accent-inactive)) - (nil mode-line . mode-line-inactive)))) - - ;; Seperators - (setq telephone-line-primary-left-separator 'telephone-line-abs-left - telephone-line-secondary-left-separator 'telephone-line-identity-hollow-left - telephone-line-primary-right-separator 'telephone-line-abs-right - telephone-line-secondary-right-separator 'telephone-line-identity-hollow-right) - - ;; LSP segment - (telephone-line-defsegment +oreoline-lsp-segment () - (if (bound-and-true-p lsp-mode) - (propertize "") - (propertize ""))) - - ;; Visual line check - (telephone-line-defsegment +oreoline-visual-segment () - (if mark-active - (let ((lines (count-lines (region-beginning) (region-end))) - (chars (- (region-end) (region-beginning)))) - (if (< lines 2) - (propertize (format "%sC" chars)) - (propertize (format "%sL %sC" lines chars)))) - (propertize "~"))) - - (setq - ;; LHS - telephone-line-lhs - '((evil . (telephone-line-evil-tag-segment - telephone-line-buffer-modified-segment)) - (accent . (telephone-line-filesize-segment - telephone-line-buffer-name-segment - telephone-line-erc-modified-channels-segment - telephone-line-process-segment)) - (nil . ())) - ;; RHS - telephone-line-rhs - '((nil . (telephone-line-misc-info-segment)) - (accent . (telephone-line-vc-segment - +oreoline-lsp-segment - telephone-line-major-mode-segment - telephone-line-flycheck-segment)) - (modal . (+oreoline-visual-segment)) - (evil . (telephone-line-airline-position-segment)))) - :config - (size-indication-mode +1)) - -(use-package! evil-anzu - :after-call evil-ex-start-search evil-ex-start-word-search evil-ex-search-activate-highlight) diff --git a/Doom/.doom.d/modules/private/oreoline/packages.el b/Doom/.doom.d/modules/private/oreoline/packages.el deleted file mode 100644 index 9479896..0000000 --- a/Doom/.doom.d/modules/private/oreoline/packages.el +++ /dev/null @@ -1,5 +0,0 @@ -;; -*- no-byte-compile: t; -*- -;;; ui/telephone/packages.el - -(package! telephone-line) -(package! evil-anzu) |