summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-03-05 02:10:46 +0000
committerjao <jao@gnu.org>2021-03-05 02:10:46 +0000
commit9b382b980d3cf604158754e7ce28090893b0f300 (patch)
tree31ae59f04f2987847503e63134e5e28516ffdee4 /lib
parent6171826508978d59ae39491b892a927aa414495e (diff)
downloadelibs-9b382b980d3cf604158754e7ce28090893b0f300.tar.gz
elibs-9b382b980d3cf604158754e7ce28090893b0f300.tar.bz2
config nits
Diffstat (limited to 'lib')
-rw-r--r--lib/org/jao-org-notes.el9
-rw-r--r--lib/themes/jao-themes.el2
2 files changed, 5 insertions, 6 deletions
diff --git a/lib/org/jao-org-notes.el b/lib/org/jao-org-notes.el
index 9624a94..9cc343f 100644
--- a/lib/org/jao-org-notes.el
+++ b/lib/org/jao-org-notes.el
@@ -33,13 +33,12 @@
(defvar jao-org-notes--rg
(concat "rg --null --line-buffered --color=ansi --max-columns=250"
" --no-heading --line-number --smart-case"
- " . -e \"^(#.(title|(file|roam_)tags): .*)ARG\" OPTS"))
+ " . -e \"^(#.(title|filetags): .*)ARG\" OPTS"))
+
+(defvar jao-org-notes--trx ":[0-9]+:#\\+\\(file\\)?\\(title\\|tags\\):")
(defun jao-org-notes--clean-match (m)
- (cons (replace-regexp-in-string ":[0-9]+:#\\+\\(roam_\\|file\\)?\\(title\\|tags\\):"
- " (\\2)"
- (car m))
- (cdr m)))
+ (cons (replace-regexp-in-string jao-org-notes--trx " (\\2)" (car m)) (cdr m)))
(defun jao-org-notes--matches (lines)
(let ((ms (consult--grep-matches lines)))
diff --git a/lib/themes/jao-themes.el b/lib/themes/jao-themes.el
index 4f5f11e..e1aef4f 100644
--- a/lib/themes/jao-themes.el
+++ b/lib/themes/jao-themes.el
@@ -295,7 +295,7 @@
(jao-themes-f11 (p f11))
(jao-themes-f12 (p f12)))
`((aw-background-face (p dimm))
- (aw-leading-char-face (~ error) :height 1.5)
+ (aw-leading-char-face (~ error) :height 2.5)
(awesome-tray-module-awesome-tab-face (p f00))
(awesome-tray-module-battery-face (p f00))
(awesome-tray-module-battery-face (p f00))