From 172ac7c5da2e75fcf6508e36c8b1cef901087bf1 Mon Sep 17 00:00:00 2001 From: Felipe M Date: Sun, 31 Jan 2021 23:05:22 +0100 Subject: [PATCH] docs: beets, khal, nemo, wf-recorder --- .dotfiles/docs/beets.md | 54 +++++++++++++++++++++++++++++++++++ .dotfiles/docs/khal.md | 10 +++++++ .dotfiles/docs/nemo.md | 7 +++++ .dotfiles/docs/wf-recorder.md | 9 ++++++ 4 files changed, 80 insertions(+) create mode 100644 .dotfiles/docs/beets.md create mode 100644 .dotfiles/docs/khal.md create mode 100644 .dotfiles/docs/nemo.md create mode 100644 .dotfiles/docs/wf-recorder.md diff --git a/.dotfiles/docs/beets.md b/.dotfiles/docs/beets.md new file mode 100644 index 0000000..cca9d6d --- /dev/null +++ b/.dotfiles/docs/beets.md @@ -0,0 +1,54 @@ +# Beets + +## Setup configuration file: + +``` yaml +# ~/.config/beets/config.yaml +directory: ~/music +library: ~/music/library.db +import: + copy: no # Do not copy files into directory + move: no # Do not delete original files + write: yes # Write tags to file +plugins: duplicates fetchart embedart +``` + +## Import music + +Using `--incremental` to avoid scanning the already imported albums. + +``` +beet import ~/music --incremental +``` + +To re-scan the music library: + +``` +beet update +``` + +## Download art files into a `cover.jpg` file + +Requires plugin: `fetchart`. + +``` +beet fetchart +``` + +## Embed art into files + +Requires plugin: `embedart` & `fetchart`. + +``` +beet embedart +``` + +## Scan for duplicates + +Requires plugin `duplicates`. + +Use `-p` to show the path to the duplicates instead of the name. + +``` +beet duplicates -p +``` diff --git a/.dotfiles/docs/khal.md b/.dotfiles/docs/khal.md new file mode 100644 index 0000000..4988c39 --- /dev/null +++ b/.dotfiles/docs/khal.md @@ -0,0 +1,10 @@ +# Khal + +## Get only next event + +``` +# -df "": Show empty day headers +# grep -v "^ ": remove all-day events +# head -n 1: Get only the first item +khal list now -df "" | grep -v "^ " | head -n 1 +``` diff --git a/.dotfiles/docs/nemo.md b/.dotfiles/docs/nemo.md new file mode 100644 index 0000000..9ad8310 --- /dev/null +++ b/.dotfiles/docs/nemo.md @@ -0,0 +1,7 @@ +# Nemo + +## Samba support + +``` +# pacman -S nemo-share gvfs-smb +``` diff --git a/.dotfiles/docs/wf-recorder.md b/.dotfiles/docs/wf-recorder.md new file mode 100644 index 0000000..57b0465 --- /dev/null +++ b/.dotfiles/docs/wf-recorder.md @@ -0,0 +1,9 @@ +# wf-recorder + +## Record screen geometry + +Requires [slurp](https://github.com/emersion/slurp) + +``` +wf-recorder -g "$(slurp)" +```