updates for macos module

Add support for keychain
Add README.
Add shortcut for open in iTerm.
This commit is contained in:
Marcus Ramberg 2020-06-05 22:23:21 +02:00
parent d93b789ef5
commit a217a935fd
4 changed files with 40 additions and 2 deletions

View file

@ -210,7 +210,8 @@
:desc "Send to Transmit" "u" #'+macos/send-to-transmit
:desc "Send project to Transmit" "U" #'+macos/send-project-to-transmit
:desc "Send to Launchbar" "l" #'+macos/send-to-launchbar
:desc "Send project to Launchbar" "L" #'+macos/send-project-to-launchbar)
:desc "Send project to Launchbar" "L" #'+macos/send-project-to-launchbar
:desc "Open in iTerm" "i" #'+macos/open-in-iterm)
(:when (featurep! :tools docker)
:desc "Docker" "D" #'docker)
(:when (featurep! :email mu4e)

View file

@ -553,7 +553,8 @@
:desc "Send to Transmit" "u" #'+macos/send-to-transmit
:desc "Send project to Transmit" "U" #'+macos/send-project-to-transmit
:desc "Send to Launchbar" "l" #'+macos/send-to-launchbar
:desc "Send project to Launchbar" "L" #'+macos/send-project-to-launchbar)
:desc "Send project to Launchbar" "L" #'+macos/send-project-to-launchbar
:desc "Open in iTerm" "i" #'+macos/open-in-iterm)
(:when (featurep! :tools docker)
:desc "Docker" "D" #'docker)
(:when (featurep! :email mu4e)

View file

@ -0,0 +1,31 @@
#+TITLE: tools/macos
#+DATE: February 19, 2017
#+SINCE: v1.3
#+STARTUP: inlineimages nofold
* Table of Contents :TOC_3:noexport:
- [[#description][Description]]
- [[#maintainers][Maintainers]]
- [[#features][Features]]
* Description
This module provides extra functionality for macOS.
** Maintainers
This module has no dedicated maintainers
* Features
This module adds various macOS specific launchers under the SPC o shortcuts.
It also enables keychain as an auth-source. This is used by apps like [[file:../../../modules/app/irc/README.org][irc]] and
[[file:../../../modules/tools/magit/README.org][magit]]'s forge module. For instance, to support GitHub Forge add an internet
password like this to your keychain:
| Field | Value |
|----------+-------------------------|
| Name | api.github.com |
| Kind | Internet password |
| Account | <username>^forge |
| Where | https://api.github.com/ |
| Password | <token> |

View file

@ -0,0 +1,5 @@
;;; tools/macos/config.el -*- lexical-binding: t; -*-
(after! auth-source
(when IS-MAC
(pushnew! auth-sources 'macos-keychain-internet 'macos-keychain-generic)))