Move advice adds of github-notifier-mode
This commit is contained in:
parent
92c4cda5aa
commit
d0c17f0d10
@ -3428,6 +3428,11 @@ Ensure all themes that I use are installed:
|
|||||||
(delq 'github-notifier-mode-line global-mode-string)))
|
(delq 'github-notifier-mode-line global-mode-string)))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
|
(advice-add 'github-notifier-mode :after
|
||||||
|
'spaceline-gh-notifier-disable-default-notifier-modeline)
|
||||||
|
(advice-add 'github-notifier-update :after
|
||||||
|
'spaceline-gh-notifier-disable-default-notifier-modeline)
|
||||||
|
|
||||||
(setq powerline-default-separator (random-choice '(butt slant wave)))
|
(setq powerline-default-separator (random-choice '(butt slant wave)))
|
||||||
(setq spaceline-workspace-numbers-unicode t
|
(setq spaceline-workspace-numbers-unicode t
|
||||||
spaceline-window-numbers-unicode t)
|
spaceline-window-numbers-unicode t)
|
||||||
@ -3439,11 +3444,6 @@ Ensure all themes that I use are installed:
|
|||||||
(format "🚇%s" (imalison:get-cached-muni-time))
|
(format "🚇%s" (imalison:get-cached-muni-time))
|
||||||
:when active)
|
:when active)
|
||||||
|
|
||||||
(advice-add 'github-notifier-mode :after
|
|
||||||
'spaceline-gh-notifier-disable-default-notifier-modeline)
|
|
||||||
(advice-add 'github-notifier-update :after
|
|
||||||
'spaceline-gh-notifier-disable-default-notifier-modeline)
|
|
||||||
|
|
||||||
(spaceline-define-segment spaceline-gh-notifier
|
(spaceline-define-segment spaceline-gh-notifier
|
||||||
"Display the number of github notifications the user has"
|
"Display the number of github notifications the user has"
|
||||||
(format "✉%s" github-notifier-unread-count)
|
(format "✉%s" github-notifier-unread-count)
|
||||||
|
Loading…
Reference in New Issue
Block a user