Various config tweaks

This commit is contained in:
xeruf 2022-04-12 18:59:02 +02:00
parent bf50aca901
commit 32b7433948
10 changed files with 44 additions and 24 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<preferences xmlns='http://josm.openstreetmap.de/preferences-1.0' version='18303'>
<preferences xmlns='http://josm.openstreetmap.de/preferences-1.0' version='18360'>
<tag key='cache.capabilities1637351842' value='1642183859'/>
<tag key='cache.motd.html' value='1642183859'/>
<tag key='cache.motd.html.java' value='11.0.13'/>
@ -189,7 +189,7 @@
<maps key='imagery.offsetbookmarks'>
</maps>
<tag key='iodb.modify.toolbar' value='false'/>
<tag key='josm.version' value='18303'/>
<tag key='josm.version' value='18360'/>
<tag key='lastDirectory' value='/home/janek/data/2-standards/osm'/>
<tag key='layerlist.lastHeight' value='138'/>
<tag key='mappaint.renderer-class-name' value='org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer'/>
@ -254,8 +254,8 @@
<tag key='osm-server.upload-strategy' value='singlerequest'/>
<tag key='plugin.continuos_download.max_area' value='0.004'/>
<tag key='plugin.continuos_download.max_areas' value='2'/>
<tag key='pluginmanager.lastupdate' value='1642183857488'/>
<tag key='pluginmanager.version' value='18303'/>
<tag key='pluginmanager.lastupdate' value='1644644884706'/>
<tag key='pluginmanager.version' value='18360'/>
<tag key='pluginmanager.version-based-update.policy' value='always'/>
<list key='plugins'>
<entry value='auto_tools'/>

View File

@ -447,6 +447,7 @@
],
"showBreaksAsRegularWindows": false,
"appExclusions": [],
"appExclusionsCheckInterval": 1000,
"pauseForSuspendOrLock": true,
"pauseBreaksShortcut": "",
"resumeBreaksShortcut": "",

View File

@ -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

View File

@ -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#.}"
{

View File

@ -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;

View File

@ -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"
]

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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