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

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-`