From fe11c037bad45697451b7264ff93fa37f1fac78f Mon Sep 17 00:00:00 2001 From: Aylur Date: Tue, 15 Oct 2024 11:55:53 +0000 Subject: docs: recommend /usr prefix by default --- docs/guide/libraries/mpris.md | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'docs/guide/libraries/mpris.md') diff --git a/docs/guide/libraries/mpris.md b/docs/guide/libraries/mpris.md index dfe7956..4f8c017 100644 --- a/docs/guide/libraries/mpris.md +++ b/docs/guide/libraries/mpris.md @@ -35,22 +35,11 @@ cd astal/lib/mpris 3. install -```sh -meson setup build -meson install -C build -``` - -:::tip -Most distros recommend manual installs in `/usr/local`, -which is what `meson` defaults to. If you want to install to `/usr` -instead which most package managers do, set the `prefix` option: - ```sh meson setup --prefix /usr build +meson install -C build ``` -::: - ## Usage You can browse the [Mpris reference](https://aylur.github.io/libastal/mpris). -- cgit v1.2.3 From 72670224a49cf22779b56eabce0d9ce71bfb5486 Mon Sep 17 00:00:00 2001 From: Aylur Date: Wed, 23 Oct 2024 14:07:38 +0000 Subject: docs(mpris): mention gvfs #52 --- docs/guide/libraries/mpris.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'docs/guide/libraries/mpris.md') diff --git a/docs/guide/libraries/mpris.md b/docs/guide/libraries/mpris.md index 4f8c017..8f28924 100644 --- a/docs/guide/libraries/mpris.md +++ b/docs/guide/libraries/mpris.md @@ -6,6 +6,18 @@ exposing an mpris interface through dbus. An alternative for [playerctl](https://github.com/altdesktop/playerctl) that better integrates with astal. +:::warning +In order for network cover art urls to be cached (spotify for example) +make sure `gvfs` is enabled. + +:::code-group + +```nix [ configuration.nix] +services.gvfs.enable = true; +``` + +::: + ## Installation 1. install dependencies @@ -13,15 +25,15 @@ with astal. :::code-group ```sh [ Arch] -sudo pacman -Syu meson vala json-glib gobject-introspection +sudo pacman -Syu meson vala gvfs json-glib gobject-introspection ``` ```sh [ Fedora] -sudo dnf install meson gcc valac json-glib-devel gobject-introspection-devel +sudo dnf install meson gcc valac gvfs json-glib-devel gobject-introspection-devel ``` ```sh [ Ubuntu] -sudo apt install meson valac libjson-glib-dev gobject-introspection +sudo apt install meson valac gvfs libjson-glib-dev gobject-introspection ``` ::: -- cgit v1.2.3