From a30cd52a7133d8b18bfb8e5a53e437aa51aab037 Mon Sep 17 00:00:00 2001 From: Leandro Heck Date: Fri, 19 Mar 2021 17:03:37 -0300 Subject: [PATCH] Fast copy-and-paste commands to install easily --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5b1d9e4..0a089e4 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,18 @@ Python 2 or 3. New version needs Python as optional dependency. Use option to tu The official method to install this extension is from [extensions.gnome.org](https://extensions.gnome.org/extension/906/sound-output-device-chooser). To install the extension from source, clone the repository and place it in the `$HOME/.local/share/gnome-shell/extensions` directory -``` +```bash +cd ~/.local/share/gnome-shell/extensions/ + +# Remove older version +rm -rf "*sound-output-device-chooser*" + +# Clone current version git clone https://github.com/kgshank/gse-sound-output-device-chooser.git -cp --recursive gse-sound-output-device-chooser/sound-output-device-chooser@kgshank.net $HOME/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net + +# Install it +cp -r gse-sound-output-device-chooser/sound-output-device-chooser@kgshank.net . +rm -rf "gse-sound-output-device-chooser" ``` Enable the extensions from [GNOME Tweaks](https://wiki.gnome.org/Apps/Tweaks).