laptop is discharging
This commit is contained in:
131
.spacemacs
131
.spacemacs
@@ -32,7 +32,8 @@ This function should only modify configuration layer settings."
|
||||
|
||||
;; List of configuration layers to load.
|
||||
dotspacemacs-configuration-layers
|
||||
'(swift
|
||||
'(windows-scripts
|
||||
swift
|
||||
multiple-cursors ;; https://www.spacemacs.org/layers/+misc/multiple-cursors/README.html#key-bindings
|
||||
(aider :variables
|
||||
aidermacs-default-chat-mode 'architect
|
||||
@@ -277,8 +278,11 @@ It should only modify the values of Spacemacs settings."
|
||||
;; List of themes, the first of the list is loaded when spacemacs starts.
|
||||
;; Press `SPC T n' to cycle to the next theme in the list (works great
|
||||
;; with 2 themes variants, one dark and one light)
|
||||
dotspacemacs-themes '(spacemacs-dark
|
||||
spacemacs-light)
|
||||
dotspacemacs-themes '(doom-solarized-dark
|
||||
spacemacs-dark
|
||||
spacemacs-light
|
||||
doom-solarized-dark-high-contrast-theme
|
||||
)
|
||||
|
||||
;; Set the theme for the Spaceline. Supported themes are `spacemacs',
|
||||
;; `all-the-icons', `custom', `doom', `vim-powerline' and `vanilla'. The
|
||||
@@ -649,6 +653,7 @@ before packages are loaded."
|
||||
;; notmuch-hello-insert-footer)
|
||||
)
|
||||
|
||||
;; (add-hook 'org-msg-edit-mode-hook #'notmuch-address-mode)
|
||||
(setq notmuch-saved-searches
|
||||
'((:name "📥 Inbox" :query "tag:inbox AND tag:unread" :key "i")
|
||||
(:name "To me Unread" :query "tag:me AND tag:unread")
|
||||
@@ -895,6 +900,9 @@ before packages are loaded."
|
||||
;; Bind proxy toggle function to a key
|
||||
(spacemacs/set-leader-keys "ot" 'toggle-proxy)
|
||||
|
||||
;; Bind ai for aidermacs
|
||||
(spacemacs/set-leader-keys "ai" 'aidermacs-transient-menu)
|
||||
|
||||
;; idea from chatgpt
|
||||
(defun jp/set-dotfiles-environment ()
|
||||
"Set environment variables for the dotfiles repository."
|
||||
@@ -1308,31 +1316,73 @@ This function is called at the very end of Spacemacs initialization."
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(custom-enabled-themes '(spacemacs-dark))
|
||||
'(custom-enabled-themes '(doom-solarized-dark))
|
||||
'(custom-safe-themes
|
||||
'("21d2bf8d4d1df4859ff94422b5e41f6f2eeff14dd12f01428fa3cb4cb50ea0fb"
|
||||
'("d97ac0baa0b67be4f7523795621ea5096939a47e8b46378f79e78846e0e4ad3d"
|
||||
"21d2bf8d4d1df4859ff94422b5e41f6f2eeff14dd12f01428fa3cb4cb50ea0fb"
|
||||
"7fea145741b3ca719ae45e6533ad1f49b2a43bf199d9afaee5b6135fd9e6f9b8"
|
||||
"810691bd221e4639d5ef736b1bd930a7fb32a7c6043a5634e04f86edea973f6d"
|
||||
"a0ac98a1bde5d6336295fd350155a4aac1d63c53c1b3773062271074d16ebeb5"
|
||||
"bbb13492a15c3258f29c21d251da1e62f1abb8bbd492386a673dcfab474186af"
|
||||
"7fd8b914e340283c189980cd1883dbdef67080ad1a3a9cc3df864ca53bdc89cf" default))
|
||||
'(dired-listing-switches "-alh")
|
||||
'(ibuffer-saved-filter-groups nil)
|
||||
'(ibuffer-saved-filters
|
||||
'(("dired-mode" (mode . dired-mode))
|
||||
("programming"
|
||||
(or (derived-mode . prog-mode) (mode . ess-mode) (mode . compilation-mode)))
|
||||
("text document" (and (derived-mode . text-mode) (not (starred-name))))
|
||||
("TeX"
|
||||
(or (derived-mode . tex-mode) (mode . latex-mode) (mode . context-mode)
|
||||
(mode . ams-tex-mode) (mode . bibtex-mode)))
|
||||
("web"
|
||||
(or (derived-mode . sgml-mode) (derived-mode . css-base-mode)
|
||||
(derived-mode . js-base-mode) (derived-mode . typescript-ts-base-mode)
|
||||
(mode . js2-mode) (derived-mode . haml-mode) (mode . sass-mode)))
|
||||
("gnus"
|
||||
(or (mode . message-mode) (mode . mail-mode) (mode . gnus-group-mode)
|
||||
(mode . gnus-summary-mode) (mode . gnus-article-mode)))))
|
||||
'(notmuch-archive-tags '("-inbox" "-unread" "+archive" "-flagged"))
|
||||
'(notmuch-column-control 1.0)
|
||||
'(notmuch-hello-sections
|
||||
'(notmuch-hello-insert-saved-searches
|
||||
'(notmuch-hello-insert-header notmuch-hello-insert-saved-searches
|
||||
(notmuch-hello-insert-searches "Important"
|
||||
(("General" . "not (tag:solaris or tag:oci)")
|
||||
("Solaris" . "tag:solaris")
|
||||
("OCI" . "tag:oci"))
|
||||
(("General"
|
||||
. "not (tag:solaris or tag:oci)")
|
||||
("Solaris"
|
||||
. "tag:solaris")
|
||||
("OCI"
|
||||
. "tag:oci"))
|
||||
:filter
|
||||
"date:1/1/2026.. and (tag:important or tag:action)"
|
||||
:show-empty-searches t)
|
||||
(notmuch-hello-insert-searches "Solaris Focused"
|
||||
"date:1/1/2026.. and (tag:important and tag:action)"
|
||||
:show-empty-searches
|
||||
t)
|
||||
(notmuch-hello-insert-searches
|
||||
"Secure Desktop Focused"
|
||||
(("OSD unread" . "tag:osd")
|
||||
("Deployment Tickets"
|
||||
. "tag:deployment-ticket")
|
||||
("PRs to go through" . "tag:PRs")
|
||||
("Brownbag" . "tag:brownbag")
|
||||
("Ocean Incidents / Alarms"
|
||||
. "tag:ocean-incident or tag:alarm")
|
||||
("Announcements (PSA etc)"
|
||||
. "tag:announcement")
|
||||
("Deployment Calendar events"
|
||||
. "tag:calendar")
|
||||
("SGD" . "tag:sgd"))
|
||||
:filter
|
||||
"tag:osd and date:12/1/2025.. and (tag:unread or tag:important or tag:action)"
|
||||
:show-empty-searches nil)
|
||||
(notmuch-hello-insert-searches
|
||||
"Solaris Focused"
|
||||
(("Solaris"
|
||||
. "tag:solaris and not (tag:akidr or tag:s11u4-sru or tag:trunk or tag:cluster or tag:s11u3-sru or tag:RE or tag:mrspatmore or tag:IPS)")
|
||||
("Solaris/All Solaris logs"
|
||||
. "tag:solaris or tag:pughlog")
|
||||
("Solaris/RE"
|
||||
. "tag:RE and not (tag:logs or tag:pughlog)")
|
||||
("Solaris/mrspatmore" . "tag:mrspatmore")
|
||||
("Solaris/Cluster"
|
||||
. "tag:cluster and not (tag:logs or tag:pughlog)")
|
||||
("Solaris/AK IDRs"
|
||||
@@ -1403,22 +1453,29 @@ This function is called at the very end of Spacemacs initialization."
|
||||
. "tag:trunk and tag:on and tag:webrti")
|
||||
("Solaris/Trunk/WebRTI/Userland"
|
||||
. "tag:trunk and tag:userland and tag:webrti")
|
||||
("Solaris/S11.3-SRU" . "tag:s11u3-sru")
|
||||
("Solaris/GKAP" . "tag:gkap")
|
||||
("Solaris/IPS" . "tag:IPS"))
|
||||
:filter "date:1/1/2026.."
|
||||
:show-empty-searches t)))
|
||||
("Solaris/S11.3-SRU"
|
||||
. "tag:s11u3-sru")
|
||||
("Solaris/GKAP"
|
||||
. "tag:gkap")
|
||||
("Solaris/IPS"
|
||||
. "tag:IPS"))
|
||||
:filter
|
||||
"date:1/1/2026.."
|
||||
:show-empty-searches
|
||||
t)
|
||||
notmuch-hello-insert-inbox
|
||||
notmuch-hello-insert-footer))
|
||||
'(notmuch-saved-searches
|
||||
'((:name "To me Unread" :query "tag:me AND tag:unread" :key [109])
|
||||
(:name "📥 Inbox" :query "tag:inbox AND tag:unread" :key [105])))
|
||||
'((:name "📥 Inbox" :query "tag:inbox AND tag:unread" :key [105])
|
||||
(:name "To me Unread" :query "tag:me AND tag:unread" :key [109])))
|
||||
'(notmuch-search-oldest-first nil)
|
||||
'(package-selected-packages
|
||||
'(a ace-jump-helm-line ace-link afternoon-theme aggressive-indent aidermacs aio
|
||||
alect-themes alert all-the-icons ample-theme ample-zen-theme
|
||||
anaconda-mode anti-zenburn-theme apropospriate-theme auto-compile
|
||||
auto-highlight-symbol auto-yasnippet autothemer badwolf-theme
|
||||
birds-of-paradise-plus-theme blacken bubbleberry-theme bui busybee-theme
|
||||
centered-cursor-mode cherry-blossom-theme chocolate-theme
|
||||
birds-of-paradise-plus-theme blacken bmx-mode bubbleberry-theme bui
|
||||
busybee-theme centered-cursor-mode cherry-blossom-theme chocolate-theme
|
||||
clean-aindent-mode closql clues-theme code-cells code-review
|
||||
color-theme-sanityinc-solarized color-theme-sanityinc-tomorrow
|
||||
column-enforce-mode company company-anaconda company-box
|
||||
@@ -1437,8 +1494,8 @@ This function is called at the very end of Spacemacs initialization."
|
||||
evil-tutor evil-unimpaired evil-visual-mark-mode evil-visualstar
|
||||
exotica-theme expand-region eyebrowse eziam-themes fancy-battery
|
||||
farmhouse-themes fish-mode flatland-theme flatui-theme flx-ido forge
|
||||
frame-local gandalf-theme gh-md ghub git-link git-messenger git-modes
|
||||
git-timemachine gitignore-templates gntp gnuplot golden-ratio
|
||||
frame-local gandalf-theme ggtags gh-md ghub git-link git-messenger
|
||||
git-modes git-timemachine gitignore-templates gntp gnuplot golden-ratio
|
||||
google-translate gotham-theme grandshell-theme groovy-imports groovy-mode
|
||||
gruber-darker-theme gruvbox-theme haml-mode hc-zenburn-theme hcl-mode
|
||||
helm-ag helm-c-yasnippet helm-comint helm-company helm-css-scss
|
||||
@@ -1465,20 +1522,20 @@ This function is called at the very end of Spacemacs initialization."
|
||||
organic-green-theme orgit orgit-forge origami overseer ox-jira ox-twbs
|
||||
pandoc-mode paradox password-generator pcache pcre2el
|
||||
phoenix-dark-mono-theme phoenix-dark-pink-theme pip-requirements pipenv
|
||||
pippel planet-theme poetry popwin pos-tip prettier-js professional-theme
|
||||
pug-mode purple-haze-theme py-isort pydoc pyenv-mode pylookup pytest
|
||||
pythonic pyvenv quickrun railscasts-theme rainbow-delimiters
|
||||
rebecca-theme request restart-emacs reverse-theme sass-mode scss-mode
|
||||
seti-theme shell-pop shfmt simple-httpd skewer-mode slim-mode smeargle
|
||||
smyx-theme soft-charcoal-theme soft-morning-theme soft-stone-theme
|
||||
solarized-theme soothe-theme space-doc spacegray-theme spaceline
|
||||
spacemacs-purpose-popwin spacemacs-whitespace-cleanup sphinx-doc
|
||||
string-edit-at-point string-inflection subatomic-theme subatomic256-theme
|
||||
sublime-themes sunny-day-theme symbol-overlay symon tablist tagedit
|
||||
tango-2-theme tango-plus-theme tangotango-theme tao-theme term-cursor
|
||||
terminal-here tern terraform-mode toc-org toml-mode toxi-theme transient
|
||||
treemacs-evil treemacs-icons-dired treemacs-magit treemacs-persp
|
||||
treemacs-projectile treepy twilight-anti-bright-theme
|
||||
pippel planet-theme poetry popwin pos-tip powershell prettier-js
|
||||
professional-theme pug-mode purple-haze-theme py-isort pydoc pyenv-mode
|
||||
pylookup pytest pythonic pyvenv quickrun railscasts-theme
|
||||
rainbow-delimiters rebecca-theme request restart-emacs reverse-theme
|
||||
sass-mode scss-mode seti-theme shell-pop shfmt simple-httpd skewer-mode
|
||||
slim-mode smeargle smyx-theme soft-charcoal-theme soft-morning-theme
|
||||
soft-stone-theme solarized-theme soothe-theme space-doc spacegray-theme
|
||||
spaceline spacemacs-purpose-popwin spacemacs-whitespace-cleanup
|
||||
sphinx-doc string-edit-at-point string-inflection subatomic-theme
|
||||
subatomic256-theme sublime-themes sunny-day-theme symbol-overlay symon
|
||||
tablist tagedit tango-2-theme tango-plus-theme tangotango-theme tao-theme
|
||||
term-cursor terminal-here tern terraform-mode toc-org toml-mode
|
||||
toxi-theme transient treemacs-evil treemacs-icons-dired treemacs-magit
|
||||
treemacs-persp treemacs-projectile treepy twilight-anti-bright-theme
|
||||
twilight-bright-theme twilight-theme ujelly-theme underwater-theme
|
||||
undo-fu undo-fu-session vi-tilde-fringe volatile-highlights vterm vundo
|
||||
web-beautify web-completion-data web-mode which-key white-sand-theme
|
||||
|
||||
@@ -251,7 +251,18 @@ notmuch tag +on +gkap +logs +s11u4-sru \
|
||||
)"
|
||||
|
||||
notmuch tag +on +gkap +logs +s11u4-sru \
|
||||
tag:new AND from:rpe_sme_ww_grp@oracle.com AND subject:"/INTERIM.GK.Backport.report.for.GKAP_11.4.*/"
|
||||
"tag:new AND tag:inbox AND (subject:GKAP or subject:GKAB)"
|
||||
|
||||
|
||||
# notmuch tag +on +gkap +logs +s11u4-sru \
|
||||
# tag:new AND from:rpe_sme_ww_grp@oracle.com AND subject:"/INTERIM.GK.Backport.report.for.GKAP_11.4.*/"
|
||||
|
||||
# notmuch tag +on +gkap +logs +s11u4-sru \
|
||||
# "tag:new AND subject:/.*Build.*GKAB.*Completed/"
|
||||
|
||||
# notmuch tag +on +gkap +logs +s11u4-sru \
|
||||
# "tag:new AND from:rpe_gk_backport_ww_grp AND (subject:pass or subject:successfull or subject:successful)"
|
||||
|
||||
|
||||
notmuch tag +on +logs +s11u4-sru \
|
||||
tag:new AND "(
|
||||
@@ -348,6 +359,11 @@ notmuch tag +RE s11u4-sru \
|
||||
tag:new AND \
|
||||
subject:'[Differential]' AND body:'Repository rRETRUNK Release Engineering Trunk Gate'
|
||||
|
||||
notmuch tag +RE +logs -unread \
|
||||
tag:new AND "(
|
||||
from:noaccess AND
|
||||
subject:/ipkg[1-9]/
|
||||
)"
|
||||
|
||||
notmuch tag +solaris \
|
||||
tag:new AND "(
|
||||
@@ -368,32 +384,58 @@ notmuch tag +solaris \
|
||||
|
||||
# OCI / OSD
|
||||
################################################################################
|
||||
|
||||
|
||||
# seatch term to include in each search
|
||||
# commented out for debugging
|
||||
# ST='tag:new'
|
||||
ST="date:1/1/2026.."
|
||||
|
||||
notmuch tag +osd \
|
||||
tag:new AND "(
|
||||
"$ST" AND "(
|
||||
to:osd-devops_ww_grp@oracle.com OR \
|
||||
subject:[gbu confluence]
|
||||
)"
|
||||
|
||||
notmuch tag +osd +brownbag \
|
||||
tag:new AND 'subject:/[Bb]rown.[Bb]ag/'
|
||||
notmuch tag +deployment-ticket tag:new AND tag:osd AND subject:"New OSD deployment ticket:"
|
||||
notmuch tag +ocean-incident tag:new AND tag:osd AND subject:"[Ocean Incident]"
|
||||
notmuch tag +alarm tag:new AND tag:osd AND subject:'Alarm: '
|
||||
notmuch tag +osd tag:new AND subject:'InfraCloud JIRA'
|
||||
"$ST" AND 'subject:/[Bb]rown.[Bb]ag/'
|
||||
notmuch tag +deployment-ticket "$ST" AND tag:osd AND subject:"New OSD deployment ticket:"
|
||||
notmuch tag +ocean-incident "$ST" AND tag:osd AND subject:"[Ocean Incident]"
|
||||
notmuch tag +alarm "$ST" AND tag:osd AND subject:'Alarm: '
|
||||
notmuch tag +osd "$ST" AND subject:'InfraCloud JIRA'
|
||||
notmuch tag +osd +sgd \
|
||||
tag:new AND subject:'SGD'
|
||||
"$ST" AND subject:'SGD'
|
||||
notmuch tag +oci +announcement \
|
||||
tag:new AND subject:'A PSA'
|
||||
"$ST" AND subject:'A PSA'
|
||||
# PRs for approval
|
||||
notmuch tag +osd +PRs \
|
||||
tag:new AND subject:'ACTION REQUIRED - Peer approval needed for Change Request' AND \
|
||||
"$ST" AND subject:'ACTION REQUIRED - Peer approval needed for Change Request' AND \
|
||||
body:'/Service Owner:.*Desktop as a Service/'
|
||||
# PRs from other projects
|
||||
notmuch tag +oci +CCAT-PRs \
|
||||
tag:new AND \
|
||||
"$ST" AND \
|
||||
subject:'ACTION REQUIRED - Peer approval needed for Change Request' AND \
|
||||
body:'/Service Owner:Compute Cloud at Customer/'
|
||||
|
||||
# OCI production regions
|
||||
notmuch tag +oci +osd +important +region-ga \
|
||||
"$ST" AND \
|
||||
"from:/OCI-REGION-BUILD.*/"
|
||||
|
||||
|
||||
|
||||
# ODAAS Deployments Calendar
|
||||
notmuch tag +osd +calendar \
|
||||
"$ST" AND \
|
||||
"subject:/\[confluence\].*created.a.new|updated.a.*event.in.the.*OSD.RE.Deployments.*calendar/"
|
||||
|
||||
# ODAAS PRs
|
||||
notmuch tag +osd +PRs\
|
||||
"$ST" AND \
|
||||
"subject:/ODAAS\/.*Pull.request.*:/"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
notmuch tag +oci tag:new AND tag:osd
|
||||
@@ -412,7 +454,7 @@ notmuch tag -inbox -unread tag:on AND tag:trunk AND tag:pushlog
|
||||
notmuch tag -inbox -unread tag:on AND tag:trunk AND tag:jenkins
|
||||
|
||||
# ON GKAP notifications
|
||||
notmuch tag -inbox -unread tag:gkap AND tag:logs
|
||||
notmuch tag -inbox -unread tag:new AND tag:gkap AND tag:logs and not subject:failed
|
||||
|
||||
# osd ocean incidents, alarms
|
||||
notmuch tag -inbox -unread tag:osd AND '(tag:ocean-incident or tag:alarm)'
|
||||
@@ -421,6 +463,7 @@ notmuch tag -inbox -unread tag:osd AND '(tag:ocean-incident or tag:alarm)'
|
||||
# emails with subject:"REGION BUILD ALERT]" are important to watch
|
||||
|
||||
|
||||
|
||||
# ================================================================================
|
||||
# the very last part of this - remove the new tag
|
||||
notmuch tag -new tag:new
|
||||
|
||||
Reference in New Issue
Block a user