#!/bin/sh bind() { dconf write "/org/mate/marco/keybinding-commands/command-$1" "$3" dconf write "org/mate/marco/global-keybindings/run-command-$1" "$2" } here=`dirname "$0"` here=`realpath "$here"` set -x bind 1 "'n'" "'$here/telepath-setpresence.sh available'" bind 2 "'b'" "'$here/telepath-setpresence.sh busy'" bind 3 "'Return'" "'mate-terminal'" bind 4 "'c'" "'$here/dmenu-software.sh'" bind 5 "'p'" "'$here/dmenu-pass.sh'"