update readme, mention AUR package
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
750317a0d7
commit
7a3b3d5216
12
README.md
12
README.md
@ -7,8 +7,8 @@ a waybar component/utility for displaying and controlling MPRIS2 compliant media
|
||||
|
||||
MPRIS2 is widely supported, so this component should work with:
|
||||
* Chrome/Chromium
|
||||
* Firefox (Potentially, with `media.hardwaremediakeys.enabled = true` in about:config)
|
||||
* Other browsers (with kde plasma integration installed)
|
||||
* Firefox (Limited support with `media.hardwaremediakeys.enabled = true` in about:config)
|
||||
* Other browsers (using KDE Plasma Integration)
|
||||
* VLC
|
||||
* Spotify
|
||||
* Noson
|
||||
@ -16,9 +16,11 @@ MPRIS2 is widely supported, so this component should work with:
|
||||
* Most other music/media players
|
||||
|
||||
## Install
|
||||
`go get git.hrfee.pw/hrfee/waybar-mpris` will install the program, as well as the go dbus bindings and pflags for command-line arguments.
|
||||
Available on the AUR as [waybar-mpris-git](https://aur.archlinux.org/packages/waybar-mpris-git/) (Thanks @nichobi!)
|
||||
|
||||
or download a precompiled binary from [here](https://builds2.hrfee.pw/view/hrfee/waybar-mpris).
|
||||
`go get git.hrfee.pw/hrfee/waybar-mpris` will compile from source and install.
|
||||
|
||||
You can also download a precompiled binaries from [here](https://builds2.hrfee.pw/view/hrfee/waybar-mpris).
|
||||
|
||||
## Usage
|
||||
When running, the program will pipe out json in waybar's format. Add something like this to your waybar `config.json`:
|
||||
@ -65,5 +67,5 @@ Usage of waybar-mpris:
|
||||
* `player-prev`: Same as `player-next`, but for the previous player.
|
||||
* `next/prev`: Next/previous track on the selected player.
|
||||
* `toggle`: Play/pause.
|
||||
* *Note: you can also bind these commands to keys in your sway/other wm config.*
|
||||
* You can also bind these commands to Media keys in your WM config.
|
||||
|
||||
|
3
dist/checksums.txt
vendored
Normal file
3
dist/checksums.txt
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
57ca953082ee67820539a128d6c285b1bc1e4e917e1376c86cbbc2436880330a waybar-mpris_git-750317a_Linux_x86_64.tar.gz
|
||||
6e638c4c4e7b1aa324abbbbedda193600390988001c9d4c8d5ed4700f1f6ca0a waybar-mpris_git-750317a_Linux_armv6.tar.gz
|
||||
c710c2cd4e4a3ed3c4d5e2b8f2a86077904c26365102496ea9b429e5ad2204a6 waybar-mpris_git-750317a_Linux_arm64.tar.gz
|
88
dist/config.yaml
vendored
Normal file
88
dist/config.yaml
vendored
Normal file
@ -0,0 +1,88 @@
|
||||
project_name: waybar-mpris
|
||||
release:
|
||||
github:
|
||||
owner: hrfee
|
||||
name: waybar-mpris
|
||||
gitea:
|
||||
owner: hrfee
|
||||
name: waybar-mpris
|
||||
name_template: v{{.Version}}
|
||||
milestones:
|
||||
- repo:
|
||||
owner: hrfee
|
||||
name: waybar-mpris
|
||||
name_template: '{{ .Tag }}'
|
||||
scoop:
|
||||
name: waybar-mpris
|
||||
commit_author:
|
||||
name: goreleaserbot
|
||||
email: goreleaser@carlosbecker.com
|
||||
commit_msg_template: Scoop update for {{ .ProjectName }} version {{ .Tag }}
|
||||
builds:
|
||||
- id: waybar-mpris
|
||||
goos:
|
||||
- linux
|
||||
goarch:
|
||||
- amd64
|
||||
- arm
|
||||
- arm64
|
||||
goarm:
|
||||
- "6"
|
||||
targets:
|
||||
- linux_amd64
|
||||
- linux_arm_6
|
||||
- linux_arm64
|
||||
dir: ./
|
||||
main: .
|
||||
ldflags:
|
||||
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
|
||||
binary: waybar-mpris
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
lang: go
|
||||
gobinary: go
|
||||
archives:
|
||||
- id: default
|
||||
builds:
|
||||
- waybar-mpris
|
||||
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
|
||||
replacements:
|
||||
amd64: x86_64
|
||||
linux: Linux
|
||||
format: tar.gz
|
||||
files:
|
||||
- licence*
|
||||
- LICENCE*
|
||||
- license*
|
||||
- LICENSE*
|
||||
- readme*
|
||||
- README*
|
||||
- changelog*
|
||||
- CHANGELOG*
|
||||
allow_different_binary_count: false
|
||||
snapshot:
|
||||
name_template: git-{{.ShortCommit}}
|
||||
checksum:
|
||||
name_template: checksums.txt
|
||||
algorithm: sha256
|
||||
changelog:
|
||||
filters:
|
||||
exclude:
|
||||
- '^docs:'
|
||||
- '^test:'
|
||||
sort: asc
|
||||
dist: dist
|
||||
env_files:
|
||||
github_token: ~/.config/goreleaser/github_token
|
||||
gitlab_token: ~/.config/goreleaser/gitlab_token
|
||||
gitea_token: ~/.config/goreleaser/gitea_token
|
||||
before:
|
||||
hooks:
|
||||
- go mod download
|
||||
source:
|
||||
name_template: '{{ .ProjectName }}-{{ .Version }}'
|
||||
format: tar.gz
|
||||
github_urls:
|
||||
download: https://github.com
|
||||
gitlab_urls:
|
||||
download: https://gitlab.com
|
BIN
dist/waybar-mpris_git-750317a_Linux_arm64.tar.gz
vendored
Normal file
BIN
dist/waybar-mpris_git-750317a_Linux_arm64.tar.gz
vendored
Normal file
Binary file not shown.
BIN
dist/waybar-mpris_git-750317a_Linux_armv6.tar.gz
vendored
Normal file
BIN
dist/waybar-mpris_git-750317a_Linux_armv6.tar.gz
vendored
Normal file
Binary file not shown.
BIN
dist/waybar-mpris_git-750317a_Linux_x86_64.tar.gz
vendored
Normal file
BIN
dist/waybar-mpris_git-750317a_Linux_x86_64.tar.gz
vendored
Normal file
Binary file not shown.
BIN
dist/waybar-mpris_linux_amd64/waybar-mpris
vendored
Executable file
BIN
dist/waybar-mpris_linux_amd64/waybar-mpris
vendored
Executable file
Binary file not shown.
BIN
dist/waybar-mpris_linux_arm64/waybar-mpris
vendored
Executable file
BIN
dist/waybar-mpris_linux_arm64/waybar-mpris
vendored
Executable file
Binary file not shown.
BIN
dist/waybar-mpris_linux_arm_6/waybar-mpris
vendored
Executable file
BIN
dist/waybar-mpris_linux_arm_6/waybar-mpris
vendored
Executable file
Binary file not shown.
BIN
images/bar.gif
BIN
images/bar.gif
Binary file not shown.
Before Width: | Height: | Size: 170 KiB |
BIN
images/bar.mkv
BIN
images/bar.mkv
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 148 KiB After Width: | Height: | Size: 178 KiB |
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 947 B |
Binary file not shown.
Before Width: | Height: | Size: 991 B |
Loading…
Reference in New Issue
Block a user