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

View File

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

View File

@ -3,6 +3,7 @@ TEST=1
MenuBar=File,Edit,Select,View,Transport,Tracks,Generate,Effect,Analyze,Tools,Optional,Help MenuBar=File,Edit,Select,View,Transport,Tracks,Generate,Effect,Analyze,Tools,Optional,Help
AudioTimeFormat=hh:mm:ss AudioTimeFormat=hh:mm:ss
Importers=PCM,OGG,FLAC,MP3,LOF,FFmpeg Importers=PCM,OGG,FLAC,MP3,LOF,FFmpeg
Preferences=Device,Playback,Recording,MidiIO,Quality,GUI,Tracks,ImportExport,Library,Directories,Warnings,Effects,KeyConfig,Mouse,Module
[Version] [Version]
Major=2 Major=2
Minor=4 Minor=4
@ -14,7 +15,7 @@ RecordingDevice=default
Host=ALSA Host=ALSA
PlaybackDevice=default PlaybackDevice=default
RecordingSourceIndex=0 RecordingSourceIndex=0
RecordingSource=Front Mic:0 RecordingSource=
RecordChannels=2 RecordChannels=2
[SamplingRate] [SamplingRate]
DefaultProjectSampleRate=44100 DefaultProjectSampleRate=44100
@ -165,13 +166,21 @@ Y=-1
W=250 W=250
H=55 H=55
[Window] [Window]
X=3840 X=0
Y=333 Y=-5
Width=1712 Width=1920
Height=1391 Height=1036
Maximized=0 Maximized=0
Normal_X=3840 Normal_X=0
Normal_Y=333 Normal_Y=-5
Normal_Width=1712 Normal_Width=1920
Normal_Height=1391 Normal_Height=1036
Iconized=0 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 # Find common path prefix of changed files
path=$(while read file path=$(while read file
do test -z "$count" && common="$file" && count=$(expr length "$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)" && 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 case "$path" in ([0-9]*) path="${path#*/}";; esac
path="${path#.}" path="${path#.}"
{ {

View File

@ -11,6 +11,7 @@ audio/flac=mpc.desktop;
audio/mp4=mpc.desktop; audio/mp4=mpc.desktop;
audio/mpeg=mpc.desktop; audio/mpeg=mpc.desktop;
audio/x-wav=mpc.desktop; audio/x-wav=mpc.desktop;
audio/aac=mpc.desktop;
image/jpeg=org.kde.showfoto.desktop; image/jpeg=org.kde.showfoto.desktop;
image/png=org.kde.showfoto.desktop; image/png=org.kde.showfoto.desktop;
inode/directory=org.kde.dolphin.desktop;vifm.desktop; inode/directory=org.kde.dolphin.desktop;vifm.desktop;

View File

@ -16,8 +16,8 @@
}, },
"main": { "main": {
"lang": "auto", "lang": "auto",
"lastfolder": "/home/janek/data/music/Electronic", "lastfolder": "/home/janek/data/music",
"maximized": true "maximized": false
}, },
"playlist": { "playlist": {
"extinfo": 1, "extinfo": 1,
@ -43,7 +43,7 @@
"fontsize": 10, "fontsize": 10,
"rowsize": 43, "rowsize": 43,
"sort_fields": [ "sort_fields": [
"album" "genre"
], ],
"sort_reverse": false "sort_reverse": false
}, },
@ -83,12 +83,12 @@
"Album", "Album",
"Length", "Length",
"Track", "Track",
"Bitrate",
"Genre", "Genre",
"Album Artist", "Album Artist",
"Year", "Year",
"BPM", "BPM",
"Comment", "Comment",
"Bitrate",
"Tags", "Tags",
"Dirpath" "Dirpath"
], ],
@ -100,12 +100,12 @@
"album", "album",
"__length", "__length",
"track", "track",
"__bitrate",
"genre", "genre",
"albumartist", "albumartist",
"year", "year",
"bpm", "bpm",
"comment", "comment",
"__bitrate",
"version", "version",
"__dirpath" "__dirpath"
] ]

View File

@ -111,9 +111,11 @@ edshell() {
# Edit a file in the PATH # Edit a file in the PATH
edbin() { edbin() {
f="$(which $1 2>/dev/null)" && test -f "$f" && edit "$f" || if f="$(which $1 2>/dev/null)" && test -f "$f"
edshell -f "$1"; test $? != 2 || then edit "$f"
edit "$HOME/.local/bin/scripts/$1" else edshell -f "$1"
test $? != 2 || edit "$HOME/.local/bin/scripts/$1"
fi
} }
# Task management & time tracking {{{1 # Task management & time tracking {{{1

View File

@ -72,6 +72,7 @@ fi
highlight "o :: optimize space extensively" highlight "o :: optimize space extensively"
if [[ $1 =~ "o" ]]; then if [[ $1 =~ "o" ]]; then
sudo rm -rf "$XDG_DATA_HOME/baloo"
which yay &>/dev/null && yay -Sc --noconfirm which yay &>/dev/null && yay -Sc --noconfirm
nix-collect-garbage -d nix-collect-garbage -d
nix-store --optimize nix-store --optimize

View File

@ -1,5 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
# Create a commit or stage files via fzf selection # 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() { fzfpipe() {
# Take nul-separated input from git-status short/porcelain # 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 git@git.jfischer.org:xeruf/dotfiles.git
: yadm clone --bootstrap https://git.jfischer.org/xeruf/dotfiles.git : yadm clone --bootstrap https://git.jfischer.org/xeruf/dotfiles.git
Run ~bootstrap~ after starting ZSH Run ~bootstrap~ after starting ZSH
- Server :: sudo apt install cargo && cargo install diffr #zoxide
** Applications ** Applications
- utilities :: youtube-dl dos2unix rlwrap - utilities :: youtube-dl dos2unix rlwrap
- powertools :: hexedit hexyl [[https://lftp.yar.ru/][lftp]] glances zsh-doc pacman-contrib - 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 cd /tmp/yay
makepkg -si makepkg -si
#+end_src #+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 - bluetooth :: bluez bluez-utils pulseaudio-bluetooth
- git tools :: git-bug git-lfs git-crypt git-remote-gcrypt github-cli - git tools :: git-bug git-lfs git-crypt git-remote-gcrypt github-cli
- pass :: pass pass-otp pass-extension-tail pass-clip - pass :: pass pass-otp pass-extension-tail pass-clip