File tree 5 files changed +7
-7
lines changed
5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ FZF_DEFAULT_COMMAND="reload $(printf %q "${INITIAL_QUERY}")" \
57
57
fzf --ansi \
58
58
--bind ' change:reload:sleep 0.1; reload {q}' \
59
59
--bind ' enter:execute(show {+1..2} > /dev/tty)' \
60
- --disabled \
61
60
--exact \
62
61
--multi \
63
62
--no-sort \
Original file line number Diff line number Diff line change 3
3
set -Eeuo pipefail
4
4
5
5
function show() {
6
- tags=$( jrnl -on " ${1} " --tags)
6
+ tags=$( jrnl -on " ${1} " -n 1 - -tags)
7
7
8
8
if [[ ${tags:: 1} == " [" ]] ; then
9
9
printf " " # [No tags found in journal.]
10
10
else
11
11
printf " # $( echo " ${tags} " | awk ' { print $1 }' ORS=' ' ) "
12
12
fi
13
13
14
- printf " \n$( jrnl -on " ${1} " -- format text) "
14
+ printf " \n$( jrnl -on " ${1} " -n 1 -- format text) "
15
15
}
16
16
17
17
for date in " $@ "
18
18
do
19
19
show " ${date} " | \
20
- bat --force-colorization \
20
+ bat \
21
21
--highlight-line 2 \
22
22
--language md \
23
23
--plain
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ source "${SCRIPT_DIR}"/.kp.function
24
24
if [ $# -eq 0 ]; then
25
25
SCRIPT_NAME=" KPPW=${KPPW} $( realpath " $0 " ) "
26
26
# shellcheck disable=SC2086
27
- KPVALUE=$( keepassxc-cli ls --recursive --flatten " ${KPDB} " < <( echo " ${KPPW} " ) | fzf-tmux ${FZF_DEFAULT_OPTS} --preview=" $SCRIPT_NAME {}" )
27
+ KPVALUE=$( keepassxc-cli ls --recursive --flatten " ${KPDB} " 2> /dev/null < <( echo " ${KPPW} " ) | fzf-tmux ${FZF_DEFAULT_OPTS} --preview=" $SCRIPT_NAME {}" )
28
28
keepassxc-cli show " ${KPDB} " " ${KPVALUE} " --show-attachments 2> /dev/null < <( echo " ${KPPW} " ) | bat --highlight-line=1 --language=http --plain
29
29
echo -n " TOTP: "
30
30
keepassxc-cli show " ${KPDB} " " ${KPVALUE} " --totp 2> /dev/null < <( echo " ${KPPW} " )
31
31
keepassxc-cli clip --attribute password " ${KPDB} " " ${KPVALUE} " " ${TIMEOUT} " 2> /dev/null < <( echo " ${KPPW} " )
32
32
else
33
- keepassxc-cli show " ${KPDB} " " ${1} " 2> /dev/null < <( echo " ${KPPW} " ) | bat --force-colorization -- highlight-line=1 --language=http --plain
33
+ keepassxc-cli show " ${KPDB} " " ${1} " 2> /dev/null < <( echo " ${KPPW} " ) | bat --highlight-line=1 --language=http --plain
34
34
fi
Original file line number Diff line number Diff line change 1
1
mutt
2
2
password
3
3
,balance-checkbook
4
+ ,mount-fritz
4
5
,shutdown_cod
5
6
,shutdown_raspberrypi
6
7
Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ It should only modify the values of Spacemacs settings."
330
330
331
331
; ; If non-nil the frame is fullscreen when Emacs starts up. (default nil)
332
332
; ; (Emacs 24.4+ only)
333
- dotspacemacs-fullscreen-at-startup t
333
+ dotspacemacs-fullscreen-at-startup nil
334
334
335
335
; ; If non-nil `spacemacs/toggle-fullscreen' will not use native fullscreen.
336
336
; ; Use to disable fullscreen animations in OSX. (default nil)
You can’t perform that action at this time.
0 commit comments