summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan-boikov <ik.boikov.public@protonmail.com>2024-01-03 14:44:08 +0100
committerivan-boikov <ik.boikov.public@protonmail.com>2024-01-03 14:44:08 +0100
commit3f18f60ae4df5a44f6e03482862ca791b43efe1e (patch)
tree06c55803c8051666f40ed1002f1127d1a7257b60
parenta9624247620941dfe03c37c16c9c0eaa2697cb47 (diff)
1
-rw-r--r--beets/.config/beets/config.yaml5
-rw-r--r--mpd/.config/mpd/mpd.conf2
-rw-r--r--shell/.config/shell/aliasrc11
3 files changed, 8 insertions, 10 deletions
diff --git a/beets/.config/beets/config.yaml b/beets/.config/beets/config.yaml
index e8c57b0..acd3a65 100644
--- a/beets/.config/beets/config.yaml
+++ b/beets/.config/beets/config.yaml
@@ -8,7 +8,7 @@ import:
log: ~/.cache/beets.log
resume: ask
-plugins: fetchart lastgenre ftintitle convert albumtypes embedart mbsync missing edit unimported VGMplug playlist scrub lyrics zero
+plugins: fetchart lastgenre ftintitle convert albumtypes embedart mbsync missing edit unimported VGMplug playlist scrub lyrics zero replaygain
# albumtypes
paths:
@@ -54,3 +54,6 @@ zero:
lyrics:
auto: no
+
+replaygain:
+ backend: ffmpeg
diff --git a/mpd/.config/mpd/mpd.conf b/mpd/.config/mpd/mpd.conf
index b2cd95f..47018e4 100644
--- a/mpd/.config/mpd/mpd.conf
+++ b/mpd/.config/mpd/mpd.conf
@@ -391,7 +391,7 @@ audio_output {
# See <http://www.replaygain.org> for more details about ReplayGain.
# This setting is off by default.
#
-#replaygain "album"
+replaygain "track"
#
# This setting sets the pre-amp used for files that have ReplayGain tags. By
# default this setting is disabled.
diff --git a/shell/.config/shell/aliasrc b/shell/.config/shell/aliasrc
index 8efb915..e29ab3a 100644
--- a/shell/.config/shell/aliasrc
+++ b/shell/.config/shell/aliasrc
@@ -63,10 +63,8 @@ alias nsel='nsel_internal | xargs '
alias detach='bg && disown'
-# window swallowing, also autoplay gifs in sxiv
-alias sxiv='devour sxiv -a'
-alias mpv='devour mpv'
-alias zathura='devour zathura'
+# autoplay gifs
+alias sxiv='sxiv -a'
# required for $HOME cleanup
alias nvidia-settings='nvidia-settings --config=$XDG_CONFIG_HOME/nvidia/settings'
@@ -76,8 +74,6 @@ alias yarn='yarn --use-yarnrc $XDG_CONFIG_HOME/yarn/config'
#alias monerod='monerod --data-dir $XDG_DATA_HOME/bitmonero'
#alias monero-wallet-cli='monero-wallet-cli --wallet-file $XDG_DATA_HOME/bitmonero/monero-wallet'
-#alias wttr='curl https://wttr.in/paris-france'
-
[ -d "$XDG_CONFIG_HOME/abook/" ] || mkdir -p "$XDG_CONFIG_HOME/abook/"
[ -d "$XDG_DATA_HOME/abook/" ] || mkdir -p "$XDG_DATA_HOME/abook/"
alias abook='abook --config $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook'
@@ -98,7 +94,6 @@ alias beet='$XDG_DATA_HOME/venv/beets/bin/beet'
# source /usr/share/bash-completion/completions/<whatever>
-
# due to how terminal works, this will echo and then type the command
# 'tput el1; echo' will erase the echo, leaving previous line blank
-alias fzh='xdotool type "$(grep -v '^#' $XDG_STATE_HOME/bash_history | uniq -u | fzf --tac)"; tput el1; echo'
+alias fzh='xdotool type --delay 0 "$(grep -v '^#' $XDG_STATE_HOME/bash_history | uniq -u | fzf --tac)"; tput el1; echo'