summaryrefslogtreecommitdiff
path: root/packages/scripts/resources/bin/gnome-commands.sh
blob: 50d7a8a0e80572f01b8ceefe215287a597a6df05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 "'<Super>n'"       "'$here/telepath-setpresence.sh available'"
bind 2 "'<Super>b'"       "'$here/telepath-setpresence.sh busy'"
bind 3 "'<Super>Return'"  "'mate-terminal'"
bind 4 "'<Super>c'"       "'$here/dmenu-software.sh'"
bind 5 "'<Super>p'"       "'$here/dmenu-pass.sh'"