diff --git a/.config/JOSM/preferences.xml b/.config/JOSM/preferences.xml index 4653d0a..51fc9aa 100644 --- a/.config/JOSM/preferences.xml +++ b/.config/JOSM/preferences.xml @@ -1,5 +1,5 @@ - + @@ -189,7 +189,7 @@ - + @@ -254,8 +254,8 @@ - - + + diff --git a/.config/Stretchly/config.json b/.config/Stretchly/config.json index 8e61267..145b5b5 100644 --- a/.config/Stretchly/config.json +++ b/.config/Stretchly/config.json @@ -447,6 +447,7 @@ ], "showBreaksAsRegularWindows": false, "appExclusions": [], + "appExclusionsCheckInterval": 1000, "pauseForSuspendOrLock": true, "pauseBreaksShortcut": "", "resumeBreaksShortcut": "", diff --git a/.config/audacity/audacity.cfg b/.config/audacity/audacity.cfg index 76e3906..d60f606 100644 --- a/.config/audacity/audacity.cfg +++ b/.config/audacity/audacity.cfg @@ -3,6 +3,7 @@ TEST=1 MenuBar=File,Edit,Select,View,Transport,Tracks,Generate,Effect,Analyze,Tools,Optional,Help AudioTimeFormat=hh:mm:ss Importers=PCM,OGG,FLAC,MP3,LOF,FFmpeg +Preferences=Device,Playback,Recording,MidiIO,Quality,GUI,Tracks,ImportExport,Library,Directories,Warnings,Effects,KeyConfig,Mouse,Module [Version] Major=2 Minor=4 @@ -14,7 +15,7 @@ RecordingDevice=default Host=ALSA PlaybackDevice=default RecordingSourceIndex=0 -RecordingSource=Front Mic:0 +RecordingSource= RecordChannels=2 [SamplingRate] DefaultProjectSampleRate=44100 @@ -165,13 +166,21 @@ Y=-1 W=250 H=55 [Window] -X=3840 -Y=333 -Width=1712 -Height=1391 +X=0 +Y=-5 +Width=1920 +Height=1036 Maximized=0 -Normal_X=3840 -Normal_Y=333 -Normal_Width=1712 -Normal_Height=1391 +Normal_X=0 +Normal_Y=-5 +Normal_Width=1920 +Normal_Height=1036 Iconized=0 +[Preferences] +Tracks=TracksBehaviors,Spectrum +ImportExport=ExtImport +[Prefs] +Width=1092 +Height=697 +[RecentFiles] +file01=/home/janek/.local/cache/yay/stretchly-xeruf-git/src/stretchly/app/audio/crystal-glass.wav diff --git a/.config/git/prepare-commit-msg b/.config/git/prepare-commit-msg index 43431a9..81dd9b5 100755 --- a/.config/git/prepare-commit-msg +++ b/.config/git/prepare-commit-msg @@ -23,9 +23,11 @@ if beginswith $'\n#' "$original"; then # Find common path prefix of changed files path=$(while read file do test -z "$count" && common="$file" && count=$(expr length "$file") || - while expr substr "$file" 1 $count != substr "$common" 1 $count >/dev/null; do let count--; done + while expr substr "$file" 1 $count != substr "$common" 1 $count >/dev/null + do let count-- + done done <<<"$(git -P diff --cached --name-only -r)" && - expr substr "$common" 1 "$count") + expr substr "$common" 1 "$count") || exit 0 case "$path" in ([0-9]*) path="${path#*/}";; esac path="${path#.}" { diff --git a/.config/mimeapps.list##user.janek b/.config/mimeapps.list##user.janek index 0ec7d96..ba0bf6e 100644 --- a/.config/mimeapps.list##user.janek +++ b/.config/mimeapps.list##user.janek @@ -11,6 +11,7 @@ audio/flac=mpc.desktop; audio/mp4=mpc.desktop; audio/mpeg=mpc.desktop; audio/x-wav=mpc.desktop; +audio/aac=mpc.desktop; image/jpeg=org.kde.showfoto.desktop; image/png=org.kde.showfoto.desktop; inode/directory=org.kde.dolphin.desktop;vifm.desktop; diff --git a/.config/puddletag/puddletag.conf b/.config/puddletag/puddletag.conf index 0a7bab7..bae9664 100644 --- a/.config/puddletag/puddletag.conf +++ b/.config/puddletag/puddletag.conf @@ -16,8 +16,8 @@ }, "main": { "lang": "auto", - "lastfolder": "/home/janek/data/music/Electronic", - "maximized": true + "lastfolder": "/home/janek/data/music", + "maximized": false }, "playlist": { "extinfo": 1, @@ -43,7 +43,7 @@ "fontsize": 10, "rowsize": 43, "sort_fields": [ - "album" + "genre" ], "sort_reverse": false }, @@ -83,12 +83,12 @@ "Album", "Length", "Track", + "Bitrate", "Genre", "Album Artist", "Year", "BPM", "Comment", - "Bitrate", "Tags", "Dirpath" ], @@ -100,12 +100,12 @@ "album", "__length", "track", + "__bitrate", "genre", "albumartist", "year", "bpm", "comment", - "__bitrate", "version", "__dirpath" ] diff --git a/.config/shell/functions b/.config/shell/functions index 0aa48af..4a9aaba 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -111,9 +111,11 @@ edshell() { # Edit a file in the PATH edbin() { - f="$(which $1 2>/dev/null)" && test -f "$f" && edit "$f" || - edshell -f "$1"; test $? != 2 || - edit "$HOME/.local/bin/scripts/$1" + if f="$(which $1 2>/dev/null)" && test -f "$f" + then edit "$f" + else edshell -f "$1" + test $? != 2 || edit "$HOME/.local/bin/scripts/$1" + fi } # Task management & time tracking {{{1 diff --git a/.local/bin/scripts/clean b/.local/bin/scripts/clean index 30c88d2..fda241d 100755 --- a/.local/bin/scripts/clean +++ b/.local/bin/scripts/clean @@ -72,6 +72,7 @@ fi highlight "o :: optimize space extensively" if [[ $1 =~ "o" ]]; then + sudo rm -rf "$XDG_DATA_HOME/baloo" which yay &>/dev/null && yay -Sc --noconfirm nix-collect-garbage -d nix-store --optimize diff --git a/.local/bin/scripts/git-fuzz b/.local/bin/scripts/git-fuzz index 98bc03f..4a431eb 100755 --- a/.local/bin/scripts/git-fuzz +++ b/.local/bin/scripts/git-fuzz @@ -1,5 +1,8 @@ #!/bin/sh -e # Create a commit or stage files via fzf selection +# If the first arg is "add", files are staged rather than committed. +# All remaining args are passed to git-commit +# TODO fix broken prep-commit-msg hook when there is no unifying path fzfpipe() { # Take nul-separated input from git-status short/porcelain diff --git a/README.org b/README.org index 1d3feef..812081f 100644 --- a/README.org +++ b/README.org @@ -36,6 +36,7 @@ and configuration for ~less~ and ~fzf~. : yadm clone --bootstrap git@git.jfischer.org:xeruf/dotfiles.git : yadm clone --bootstrap https://git.jfischer.org/xeruf/dotfiles.git Run ~bootstrap~ after starting ZSH +- Server :: sudo apt install cargo && cargo install diffr #zoxide ** Applications - utilities :: youtube-dl dos2unix rlwrap - powertools :: hexedit hexyl [[https://lftp.yar.ru/][lftp]] glances zsh-doc pacman-contrib @@ -48,7 +49,7 @@ git clone https://aur.archlinux.org/yay.git /tmp/yay cd /tmp/yay makepkg -si #+end_src -- aur recommendations :: [[https://github.com/mookid/diffr][diffr]] tldr++ sc-im espanso-bin timg audiowaveform python-dictcc +- aur recommendations :: [[https://github.com/mookid/diffr][diffr]] tldr++ sc-im espanso-bin timg audiowaveform python-dictcc dragon-drop - bluetooth :: bluez bluez-utils pulseaudio-bluetooth - git tools :: git-bug git-lfs git-crypt git-remote-gcrypt github-cli - pass :: pass pass-otp pass-extension-tail pass-clip