From 7d1277c7c94eec3e777e6db43005969df9723afd Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Tue, 31 May 2016 22:43:44 +0200 Subject: update gnome-commands.sh --- packages/scripts/resources/bin/gnome-commands.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 packages/scripts/resources/bin/gnome-commands.sh (limited to 'packages/scripts/resources/bin/gnome-commands.sh') diff --git a/packages/scripts/resources/bin/gnome-commands.sh b/packages/scripts/resources/bin/gnome-commands.sh new file mode 100755 index 0000000..50d7a8a --- /dev/null +++ b/packages/scripts/resources/bin/gnome-commands.sh @@ -0,0 +1,18 @@ +#!/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'" + -- cgit v1.2.1