System Settings -> Shortcuts Add New -> Command or Script...