Configuration for joplin

This commit is contained in:
2021-06-14 22:27:12 +01:00
parent 90b24b389a
commit cf19d6f5a9
5 changed files with 43 additions and 11 deletions

6
.local/bin/remindernote Executable file
View File

@@ -0,0 +1,6 @@
#! /usr/bin/zsh
joplin use "Main"
joplin edit "Reminder"

View File

@@ -10,21 +10,21 @@ joplin config sync.target 5
joplin config sync.5.path "$path"
joplin config sync.5.username "$TOWERUN"
joplin config sync.5.password "$TOWERPW"
joplin sync &
joplin sync
echo "$path" | xclip -selection clipboard -i
# echo "$path" | xclip -selection clipboard -i
joplin-desktop &
# joplin-desktop &
clipnotify
# clipnotify
echo "$TOWERUN" | xclip -selection clipboard -i
# echo "$TOWERUN" | xclip -selection clipboard -i
clipnotify
# clipnotify
echo "$TOWERPW" | xclip -selection clipboard -i
# echo "$TOWERPW" | xclip -selection clipboard -i
read -n 1 -r -s -p $'Press enter when you have synced Joplin...\n'
# read -n 1 -r -s -p $'Press enter when you have synced Joplin...\n'
echo "" | xclip -selection clipboard -i
# echo "" | xclip -selection clipboard -i

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#! /usr/bin/zsh
# A dmenu wrapper script for system functions.
@@ -17,6 +17,6 @@ cmds="\
 reboot ${reb:-sudo -A reboot}
 shutdown ${shut:-sudo -A shutdown -h now}"
choice="$(echo "$cmds" | cut -d' ' -f 1 | dmenu)" || exit 1
choice="$(echo "$cmds" | cut -d' ' -f 1 | dmenu -n)" || exit 1
`echo "$cmds" | grep "^$choice " | cut -d ' ' -f2-`