From a6fa67d43b78646b28a874d64ddea164e67adc56 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 10 Mar 2026 10:24:51 -0700 Subject: oni-gui: Diminish wakatime minor mode to icon --- oni-gui/icons/wakatime.svg | 4 ++++ oni-gui/oni-gui.el | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 oni-gui/icons/wakatime.svg diff --git a/oni-gui/icons/wakatime.svg b/oni-gui/icons/wakatime.svg new file mode 100644 index 0000000..132fd9b --- /dev/null +++ b/oni-gui/icons/wakatime.svg @@ -0,0 +1,4 @@ + + + + diff --git a/oni-gui/oni-gui.el b/oni-gui/oni-gui.el index 8676fb8..38e3ab5 100644 --- a/oni-gui/oni-gui.el +++ b/oni-gui/oni-gui.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2026.0306.124547 +;; Version: 2026.0310.095909 ;; Package-Requires: (oni-ui oni-hydra yoshi-theme diminish) ;; This program is free software; you can redistribute it and/or modify @@ -97,9 +97,11 @@ If FRAME is nil, they’re set for the current frame." `([,(cdr char-regexp) 0 font-shape-gstring]))))) (with-eval-after-load 'isearch - (diminish 'isearch-mode (propertize " " 'display `(image :type svg :file ,(expand-file-name "search.svg" oni-gui-icons-dir) :ascent center :margin (5 . 0))))) + (diminish 'isearch-mode (propertize " " 'display `(image :type svg :file ,(expand-file-name "search.svg" oni-gui-icons-dir) :ascent center :margin (5 . 0) :height 16)))) (with-eval-after-load 'autorevert - (diminish 'auto-revert-mode (propertize " " 'display `(image :type svg :file ,(expand-file-name "recycle.svg" oni-gui-icons-dir) :ascent center :margin (5 . 0))))) + (diminish 'auto-revert-mode (propertize " " 'display `(image :type svg :file ,(expand-file-name "recycle.svg" oni-gui-icons-dir) :ascent center :margin (5 . 0) :height 16)))) +(with-eval-after-load 'wakatime-mode + (diminish 'wakatime-mode (propertize " " 'display `(image :type svg :file ,(expand-file-name "wakatime.svg" oni-gui-icons-dir) :ascent center :margin (5 . 0) :height 16)))) (defhydra oni-gui-hydra (:color teal :hint nil) " -- cgit v1.3-2-g0d8e