From efa863631da79e3154f34a242897be9c3613998c Mon Sep 17 00:00:00 2001 From: "Mariano Z." Date: Sun, 28 Sep 2025 19:29:58 -0300 Subject: [PATCH] dev: automated commit - 2025-09-28 19:29:58 --- .../share/applications/custom/DBeaver.desktop | 4 +- config/.config/mimeapps.list | 2 + .../.config/easyeffects/input/microphone.json | 198 +++++++++--------- git/.config/git/config | 2 +- zsh/.config/zsh/completions.zsh | 27 +++ zsh/.config/zsh/functions.zsh | 4 +- zsh/.config/zsh/init.zsh | 14 +- 7 files changed, 140 insertions(+), 111 deletions(-) diff --git a/applications/.local/share/applications/custom/DBeaver.desktop b/applications/.local/share/applications/custom/DBeaver.desktop index 9d6f9d7..e2ec704 100755 --- a/applications/.local/share/applications/custom/DBeaver.desktop +++ b/applications/.local/share/applications/custom/DBeaver.desktop @@ -1,8 +1,8 @@ [Desktop Entry] -Name=DBeaver +Name=DBeaver Marian GenericName=SQL Database Client Comment=Universal Database Manager and SQL Client. Exec=env GDK_BACKEND=x11 GTK_THEME=Raleigh dbeaver Categories=IDE;Development; StartupNotify=true -Icon=dbeaver \ No newline at end of file +Icon=dbeaver diff --git a/config/.config/mimeapps.list b/config/.config/mimeapps.list index c4c7f56..46844bf 100644 --- a/config/.config/mimeapps.list +++ b/config/.config/mimeapps.list @@ -22,3 +22,5 @@ text/x-dockerfile=nvim-kitty.desktop application/xml=nvim-kitty.desktop application/x-extension-html=nvim-kitty.desktop x-scheme-handler/discord=vesktop.desktop +x-scheme-handler/msteams=teams-for-linux.desktop +inode/directory=nemo.desktop diff --git a/easyeffects/.config/easyeffects/input/microphone.json b/easyeffects/.config/easyeffects/input/microphone.json index f667ca6..a633fa1 100644 --- a/easyeffects/.config/easyeffects/input/microphone.json +++ b/easyeffects/.config/easyeffects/input/microphone.json @@ -1,102 +1,102 @@ { - "input": { - "autogain#0": { - "bypass": false, - "input-gain": 0.0, - "maximum-history": 15, - "output-gain": 0.0, - "reference": "Geometric Mean (MSI)", - "silence-threshold": -70.0, - "target": -23.0 - }, - "blocklist": [], - "gate#0": { - "attack": 40.0, - "bypass": false, - "curve-threshold": -57.0, - "curve-zone": -6.0, - "dry": -14.0, - "hpf-frequency": 100.0, - "hpf-mode": "24 dB/oct", - "hysteresis": false, - "hysteresis-threshold": -12.0, - "hysteresis-zone": -6.0, - "input-gain": 0.0, - "lpf-frequency": 1000.0, - "lpf-mode": "24 dB/oct", - "makeup": 0.0, - "output-gain": 0.0, - "reduction": -72.0, - "release": 800.0, - "sidechain": { - "input": "Internal", - "lookahead": 8.0, - "mode": "RMS", - "preamp": 0.0, - "reactivity": 10.0, - "source": "Middle", - "stereo-split-source": "Left/Right" - }, - "stereo-split": false, - "wet": -16.0 - }, - "limiter#0": { - "alr": true, - "alr-attack": 5.0, - "alr-knee": 0.0, - "alr-release": 50.0, - "attack": 5.0, - "bypass": false, - "dithering": "24bit", - "external-sidechain": false, - "gain-boost": false, - "input-gain": 0.0, - "lookahead": 5.0, - "mode": "Exp Tail", - "output-gain": 0.0, - "oversampling": "Full x2(2L)", - "release": 5.0, - "sidechain-preamp": 0.0, - "stereo-link": 100.0, - "threshold": 0.0 - }, - "plugins_order": [ - "rnnoise#0", - "gate#0", - "autogain#0", - "limiter#0", - "stereo_tools#0" - ], - "rnnoise#0": { - "bypass": false, - "enable-vad": true, - "input-gain": 0.0, - "model-path": "", - "output-gain": 0.0, - "release": 20.0, - "vad-thres": 50.0, - "wet": 0.0 - }, - "stereo_tools#0": { - "balance-in": 0.0, - "balance-out": 0.0, - "bypass": false, - "delay": -3.469446951953614e-18, - "input-gain": 0.0, - "middle-level": 0.0, - "middle-panorama": 0.0, - "mode": "LR > LL (Mono Left Channel)", - "mutel": false, - "muter": false, - "output-gain": 0.0, - "phasel": false, - "phaser": false, - "sc-level": 1.0, - "side-balance": 0.0, - "side-level": 0.0, - "softclip": false, - "stereo-base": 0.0, - "stereo-phase": 0.0 + "input": { + "autogain#0": { + "bypass": false, + "input-gain": 0.0, + "maximum-history": 15, + "output-gain": 0.0, + "reference": "Geometric Mean (MSI)", + "silence-threshold": -70.0, + "target": -23.0 + }, + "blocklist": [], + "gate#0": { + "attack": 40.0, + "bypass": false, + "curve-threshold": -57.0, + "curve-zone": -6.0, + "dry": -14.0, + "hpf-frequency": 100.0, + "hpf-mode": "24 dB/oct", + "hysteresis": false, + "hysteresis-threshold": -12.0, + "hysteresis-zone": -6.0, + "input-gain": 0.0, + "lpf-frequency": 1000.0, + "lpf-mode": "24 dB/oct", + "makeup": 0.0, + "output-gain": 0.0, + "reduction": -72.0, + "release": 800.0, + "sidechain": { + "input": "Internal", + "lookahead": 8.0, + "mode": "RMS", + "preamp": 0.0, + "reactivity": 10.0, + "source": "Middle", + "stereo-split-source": "Left/Right" + }, + "stereo-split": false, + "wet": -16.0 + }, + "limiter#0": { + "alr": true, + "alr-attack": 5.0, + "alr-knee": 0.0, + "alr-release": 50.0, + "attack": 5.0, + "bypass": false, + "dithering": "24bit", + "external-sidechain": false, + "gain-boost": false, + "input-gain": 0.0, + "lookahead": 5.0, + "mode": "Exp Tail", + "output-gain": 0.0, + "oversampling": "Full x2(2L)", + "release": 5.0, + "sidechain-preamp": 0.0, + "stereo-link": 100.0, + "threshold": 0.0 + }, + "plugins_order": [ + "rnnoise#0", + "gate#0", + "autogain#0", + "limiter#0", + "stereo_tools#0" + ], + "rnnoise#0": { + "bypass": false, + "enable-vad": true, + "input-gain": 0.0, + "model-name": "", + "output-gain": 0.0, + "release": 20.0, + "vad-thres": 50.0, + "wet": 0.0 + }, + "stereo_tools#0": { + "balance-in": 0.0, + "balance-out": 0.0, + "bypass": false, + "delay": -3.469446951953614e-18, + "input-gain": 0.0, + "middle-level": 0.0, + "middle-panorama": 0.0, + "mode": "LR > LL (Mono Left Channel)", + "mutel": false, + "muter": false, + "output-gain": 0.0, + "phasel": false, + "phaser": false, + "sc-level": 1.0, + "side-balance": 0.0, + "side-level": 0.0, + "softclip": false, + "stereo-base": 0.0, + "stereo-phase": 0.0 + } } - } } diff --git a/git/.config/git/config b/git/.config/git/config index 9751331..aab2b41 100644 --- a/git/.config/git/config +++ b/git/.config/git/config @@ -5,10 +5,10 @@ [core] autocrlf = input - excludesfile = ~/.config/git/.gitignore compression = 9 whitespace = error preloadindex = true + excludesfile = ~/.config/git/gitignore [include] path = ~/.config/git/gitalias.ini diff --git a/zsh/.config/zsh/completions.zsh b/zsh/.config/zsh/completions.zsh index 8ac07bc..47698e8 100644 --- a/zsh/.config/zsh/completions.zsh +++ b/zsh/.config/zsh/completions.zsh @@ -88,3 +88,30 @@ elif [[ -n "${ZSH_VERSION:-}" ]]; then compdef _yay_zsh_completion yay fi +_use_node_completion() { + local -a versions + local script_dir="" + + # Find the script directory + if [ -f "./use-node.sh" ]; then + script_dir="." + else + # Find the actual script location + script_dir="$(dirname "$(readlink -f ~/.local/bin/use-node 2>/dev/null || echo ~/.local/bin/use-node)")" + fi + + # Get versions from nodejs-* directories only + if [ -d "$script_dir" ]; then + versions=($(find "$script_dir" -maxdepth 1 -type d -name "nodejs-*" 2>/dev/null | sed 's/.*nodejs-/node@/')) + fi + + if [[ ${#versions[@]} -gt 0 ]]; then + _describe 'node versions' versions + fi +} + +# Register the completion +compdef _use_node_completion ./use-node.sh +compdef _use_node_completion use-node.sh +compdef _use_node_completion use-node + diff --git a/zsh/.config/zsh/functions.zsh b/zsh/.config/zsh/functions.zsh index 12b637c..24edf87 100644 --- a/zsh/.config/zsh/functions.zsh +++ b/zsh/.config/zsh/functions.zsh @@ -723,7 +723,7 @@ yay() { # System update update|"-Syu") echo "Updating NixOS system..." - nh os switch ~/.config/nixos --update + nh os switch ~/.config/nixos --update --ask ;; # Search packages @@ -781,7 +781,7 @@ EOF # Default: rebuild system "") echo "Rebuilding NixOS system..." - nh os switch ~/.config/nixos + nh os switch ~/.config/nixos --ask ;; # Try to install unknown commands diff --git a/zsh/.config/zsh/init.zsh b/zsh/.config/zsh/init.zsh index da77361..e42ab9f 100644 --- a/zsh/.config/zsh/init.zsh +++ b/zsh/.config/zsh/init.zsh @@ -21,18 +21,18 @@ zap() { # Update plugins sequentially (clean output) for plugin in "${plugins[@]}"; do plugin_name=${plugin##*/} - + if [ ! -d "$PLUGIN_DIR/$plugin_name" ]; then echo "Installing $plugin_name" git clone --quiet "https://github.com/$plugin" "$PLUGIN_DIR/$plugin_name" --depth=1 else old_hash=$(git -C "$PLUGIN_DIR/$plugin_name" rev-parse HEAD 2>/dev/null) - + git -C "$PLUGIN_DIR/$plugin_name" fetch --quiet git -C "$PLUGIN_DIR/$plugin_name" reset --hard origin/HEAD --quiet - + new_hash=$(git -C "$PLUGIN_DIR/$plugin_name" rev-parse HEAD 2>/dev/null) - + if [ "$old_hash" = "$new_hash" ]; then echo "✓ $plugin_name (up to date)" else @@ -40,7 +40,7 @@ zap() { fi fi done - + for dir in "$PLUGIN_DIR"/*; do if [ -d "$dir" ]; then plugin_name=$(basename "$dir") @@ -50,7 +50,7 @@ zap() { fi fi done - + echo "Plugin update complete!" } @@ -80,6 +80,6 @@ source "$ZDOTDIR/rose-pine.sh" # Defer loading zsh-defer source "$PLUGIN_DIR/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" -for config in mise.zsh tmux.zsh functions.zsh alias.zsh keymap.zsh path.zsh pnpm.zsh; do +for config in tmux.zsh functions.zsh alias.zsh keymap.zsh path.zsh pnpm.zsh; do zsh-defer source "$ZDOTDIR/$config" done