Add streamlink layer

Update CHANGELOG.develop

Update package location

Update package location. Package is now in melpa.

Update layers/+web-services/streamlink/packages.el
This commit is contained in:
Benedikt Broich 2021-08-09 16:03:34 +02:00 committed by Maxi Wolff
parent 39da3fc4a0
commit 069fa87583
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
3 changed files with 61 additions and 0 deletions

View File

@ -483,6 +483,7 @@ In org-agenda-mode
- eww (thanks to Colton Kopsa, Maximilian Wolff and Daniel Nicolai)
- lobsters
- hackernews
- streamlink
*** Renamed layers
- =extra-langs= renamed to =major-modes= (thanks to Eivind Fonn)
- =pdf-tools= renamed to =pdf=

View File

@ -0,0 +1,26 @@
#+TITLE: streamlink layer
#+TAGS: layer|web service
* Table of Contents :TOC_4_gh:noexport:
- [[#description][Description]]
- [[#features][Features:]]
- [[#install][Install]]
- [[#key-bindings][Key bindings]]
* Description
This layer adds support for opening URLs in streamlink.
** Features:
- Open URL with streamlink
* Install
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
add =streamlink= to the existing =dotspacemacs-configuration-layers= list in this
file.
* Key bindings
| Key Binding | Description |
|---------------+--------------------------|
| ~SPC a w s o~ | Open URL with streamlink |

View File

@ -0,0 +1,34 @@
;;; packages.el --- streamlink layer packages file for Spacemacs.
;;
;; Copyright (c) 2021 Sylvain Benner & Contributors
;;
;; Author: Benedikt Broich <b.broich@posteo.de>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Code:
(defconst streamlink-packages
'(streamlink))
(defun streamlink/init-streamlink ()
(use-package streamlink
:defer t
:init (progn
(spacemacs/declare-prefix "aws" "stream")
(spacemacs/set-leader-keys
"awso" 'streamlink-open-url))))