mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2023-02-13 20:55:19 -05:00
Minor edits.
This commit is contained in:
parent
35527ccc95
commit
87de23f359
5 changed files with 23 additions and 7 deletions
|
@ -171,6 +171,20 @@ end
|
||||||
function take --argument number
|
function take --argument number
|
||||||
head -$number
|
head -$number
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Function for org-agenda
|
||||||
|
function org-search -d "send a search string to org-mode"
|
||||||
|
set -l output (/usr/bin/emacsclient -a "" -e "(message \"%s\" (mapconcat #'substring-no-properties \
|
||||||
|
(mapcar #'org-link-display-format \
|
||||||
|
(org-ql-query \
|
||||||
|
:select #'org-get-heading \
|
||||||
|
:from (org-agenda-files) \
|
||||||
|
:where (org-ql--query-string-to-sexp \"$argv\"))) \
|
||||||
|
\"
|
||||||
|
\"))")
|
||||||
|
printf $output
|
||||||
|
end
|
||||||
|
|
||||||
### END OF FUNCTIONS ###
|
### END OF FUNCTIONS ###
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
[xin_0]
|
[xin_2]
|
||||||
file=/home/dt/wallpapers/0277.jpg
|
file=/home/dt/wallpapers/0166.jpg
|
||||||
mode=0
|
mode=0
|
||||||
bgcolor=#000000
|
bgcolor=#000000
|
||||||
|
|
||||||
[xin_1]
|
[xin_1]
|
||||||
file=/home/dt/wallpapers/0277.jpg
|
file=/home/dt/wallpapers/0166.jpg
|
||||||
mode=0
|
mode=0
|
||||||
bgcolor=#000000
|
bgcolor=#000000
|
||||||
|
|
||||||
[xin_2]
|
[xin_0]
|
||||||
file=/home/dt/wallpapers/0277.jpg
|
file=/home/dt/wallpapers/0166.jpg
|
||||||
mode=0
|
mode=0
|
||||||
bgcolor=#000000
|
bgcolor=#000000
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[geometry]
|
[geometry]
|
||||||
posx=16
|
posx=1936
|
||||||
posy=40
|
posy=40
|
||||||
sizex=1884
|
sizex=1884
|
||||||
sizey=1020
|
sizey=1020
|
||||||
|
|
|
@ -146,7 +146,7 @@
|
||||||
;;nim ; python + lisp at the speed of c
|
;;nim ; python + lisp at the speed of c
|
||||||
nix ; I hereby declare "nix geht mehr!"
|
nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
(org +org-bullets) ; organize your plain life in plain text
|
(org +org-bullets +org-ql) ; organize your plain life in plain text
|
||||||
php ; perl's insecure younger brother
|
php ; perl's insecure younger brother
|
||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
|
|
|
@ -53,12 +53,14 @@
|
||||||
(package! dired-open)
|
(package! dired-open)
|
||||||
(package! dmenu)
|
(package! dmenu)
|
||||||
(package! elfeed)
|
(package! elfeed)
|
||||||
|
(package! elpher)
|
||||||
(package! emms)
|
(package! emms)
|
||||||
(package! emojify)
|
(package! emojify)
|
||||||
(package! evil-tutor)
|
(package! evil-tutor)
|
||||||
(package! ivy-posframe)
|
(package! ivy-posframe)
|
||||||
(package! mastodon)
|
(package! mastodon)
|
||||||
(package! org-bullets)
|
(package! org-bullets)
|
||||||
|
(package! org-ql)
|
||||||
(package! peep-dired)
|
(package! peep-dired)
|
||||||
(package! rainbow-mode)
|
(package! rainbow-mode)
|
||||||
(package! resize-window)
|
(package! resize-window)
|
||||||
|
|
Loading…
Reference in a new issue