From bca8abc7e3828e27bde7a4d8852c05771cbb4707 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 28 Jan 2019 17:55:48 +0000 Subject: [PATCH] Add config stuff for machine with hostname UAC00013 --- Brewfile | 4 ++++ hammerspoon/hosts/UAC00013.lua | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 hammerspoon/hosts/UAC00013.lua diff --git a/Brewfile b/Brewfile index 8b5beef..8e7028a 100644 --- a/Brewfile +++ b/Brewfile @@ -242,4 +242,8 @@ if `hostname -s`.strip == 'noct' mas 'feedly', id: 865_500_966 end +if `hostname -s`.strip == 'UAC00013' + cask 'microsoft-teams' +end + # rubocop:enable Naming/FileName diff --git a/hammerspoon/hosts/UAC00013.lua b/hammerspoon/hosts/UAC00013.lua new file mode 100644 index 0000000..ae5619b --- /dev/null +++ b/hammerspoon/hosts/UAC00013.lua @@ -0,0 +1,15 @@ +local obj = {} + +function obj.init() + local apptoggle = require('app_toggle') + + apptoggle:bind({'cmd', 'alt', 'ctrl'}, 'A', 'Activity Monitor') + apptoggle:bind({'cmd', 'ctrl'}, '4', 'Skitch') + apptoggle:bind({'cmd', 'ctrl'}, 'B', 'Sequel Pro') + apptoggle:bind({'cmd', 'ctrl'}, 'D', 'Mail') + apptoggle:bind({'cmd', 'ctrl'}, 'E', 'Emacs', '/Applications/Emacs.app') + apptoggle:bind({'cmd', 'ctrl'}, 'X', 'Calendar') + apptoggle:bind({'cmd', 'ctrl'}, 'Z', 'Microsoft Teams') +end + +return obj