Configuration for joplin
This commit is contained in:
6
.local/bin/remindernote
Executable file
6
.local/bin/remindernote
Executable file
@@ -0,0 +1,6 @@
|
||||
#! /usr/bin/zsh
|
||||
|
||||
joplin use "Main"
|
||||
|
||||
joplin edit "Reminder"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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-`
|
||||
|
||||
Reference in New Issue
Block a user