diff --git a/.config/easyeffects/output/default.json b/.config/easyeffects/output/default.json index e2c2a7a..1130b59 100644 --- a/.config/easyeffects/output/default.json +++ b/.config/easyeffects/output/default.json @@ -1,7 +1,7 @@ { "output": { "bass_enhancer#0": { - "amount": 0.0, + "amount": 1.0, "blend": 0.0, "bypass": false, "floor": 12.0, @@ -9,9 +9,244 @@ "harmonics": 8.5, "input-gain": 0.0, "output-gain": 0.0, - "scope": 100.0 + "scope": 150.0 }, "blocklist": [], + "equalizer#0": { + "balance": 0.0, + "bypass": false, + "input-gain": -7.3, + "left": { + "band0": { + "frequency": 20.0, + "gain": 7.5, + "mode": "APO (DR)", + "mute": false, + "q": 0.550000011920929, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band1": { + "frequency": 200.0, + "gain": -6.199999809265137, + "mode": "APO (DR)", + "mute": false, + "q": 0.5, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band2": { + "frequency": 1200.0, + "gain": -1.5, + "mode": "APO (DR)", + "mute": false, + "q": 1.5, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band3": { + "frequency": 1700.0, + "gain": 1.7999999523162842, + "mode": "APO (DR)", + "mute": false, + "q": 3.0, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band4": { + "frequency": 2400.0, + "gain": 1.0, + "mode": "APO (DR)", + "mute": false, + "q": 5.0, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band5": { + "frequency": 3250.0, + "gain": -3.700000047683716, + "mode": "APO (DR)", + "mute": false, + "q": 3.5, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band6": { + "frequency": 4500.0, + "gain": -2.0, + "mode": "APO (DR)", + "mute": false, + "q": 5.0, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band7": { + "frequency": 5700.0, + "gain": -5.0, + "mode": "APO (DR)", + "mute": false, + "q": 5.0, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band8": { + "frequency": 7000.0, + "gain": 3.5, + "mode": "APO (DR)", + "mute": false, + "q": 5.0, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band9": { + "frequency": 8350.0, + "gain": -4.0, + "mode": "APO (DR)", + "mute": false, + "q": 7.0, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + } + }, + "mode": "IIR", + "num-bands": 10, + "output-gain": 0.0, + "pitch-left": 0.0, + "pitch-right": 0.0, + "right": { + "band0": { + "frequency": 20.0, + "gain": 7.5, + "mode": "APO (DR)", + "mute": false, + "q": 0.550000011920929, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band1": { + "frequency": 200.0, + "gain": -6.199999809265137, + "mode": "APO (DR)", + "mute": false, + "q": 0.5, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band2": { + "frequency": 1200.0, + "gain": -1.5, + "mode": "APO (DR)", + "mute": false, + "q": 1.5, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band3": { + "frequency": 1700.0, + "gain": 1.7999999523162842, + "mode": "APO (DR)", + "mute": false, + "q": 3.0, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band4": { + "frequency": 2400.0, + "gain": 1.0, + "mode": "APO (DR)", + "mute": false, + "q": 5.0, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band5": { + "frequency": 3250.0, + "gain": -3.700000047683716, + "mode": "APO (DR)", + "mute": false, + "q": 3.5, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band6": { + "frequency": 4500.0, + "gain": -2.0, + "mode": "APO (DR)", + "mute": false, + "q": 5.0, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band7": { + "frequency": 5700.0, + "gain": -5.0, + "mode": "APO (DR)", + "mute": false, + "q": 5.0, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band8": { + "frequency": 7000.0, + "gain": 3.5, + "mode": "APO (DR)", + "mute": false, + "q": 5.0, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band9": { + "frequency": 8350.0, + "gain": -4.0, + "mode": "APO (DR)", + "mute": false, + "q": 7.0, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + } + }, + "split-channels": false + }, "filter#0": { "balance": 0.0, "bypass": false, @@ -48,6 +283,7 @@ }, "plugins_order": [ "filter#0", + "equalizer#0", "bass_enhancer#0", "stereo_tools#0", "limiter#0" diff --git a/.config/fish/alias.fish b/.config/fish/alias.fish index 965164a..de2e35d 100644 --- a/.config/fish/alias.fish +++ b/.config/fish/alias.fish @@ -1,67 +1,51 @@ # Git -if command -q git - alias g "git" - alias gc "git clone" - alias gd "git diff --ignore-space-at-eol" - alias gds "git diff --ignore-space-at-eol --compact-summary" - alias gl "git log --oneline" - alias gp "git pull" - alias gs "git status" - alias home "git --git-dir=$HOME/.home/ --work-tree=$HOME" - alias homeinit "git clone --bare https://git.urbach.dev/eduard/home $HOME/.home && home checkout" - alias h "home" - alias hs "home status" - alias hd "home diff --ignore-space-at-eol" - alias hds "home diff --ignore-space-at-eol --compact-summary" - alias hp "home pull" -end +alias g "git" +alias gc "git clone" +alias gd "git diff --ignore-space-at-eol" +alias gds "git diff --ignore-space-at-eol --compact-summary" +alias gl "git log --oneline" +alias gp "git pull" +alias gs "git status" +alias home "git --git-dir=$HOME/.home/ --work-tree=$HOME" +alias homeinit "git clone --bare https://git.urbach.dev/eduard/home $HOME/.home && home checkout" +alias h "home" +alias hs "home status" +alias hd "home diff --ignore-space-at-eol" +alias hds "home diff --ignore-space-at-eol --compact-summary" +alias hp "home pull" # Go -if command -q go - alias gb "go build -v" - alias godeps "go list -f '{{ join .Deps \"\n\"}}' ." - alias gt "go test -v" - alias gts "gotestsum" -end +alias gb "go build -v" +alias godeps "go list -f '{{ join .Deps \"\n\"}}' ." +alias gt "go test -v" +alias gts "gotestsum" # Hyperfine -if command -q hyperfine - alias bench "hyperfine --shell=none" -end +alias bench "hyperfine --shell=none" # Kernel -if command -q dmesg - alias kerr "sudo dmesg --level=emerg,alert,crit,err" - alias klog "sudo dmesg" -end +alias kerr "sudo dmesg --level=emerg,alert,crit,err" +alias klog "sudo dmesg" # List -if command -q ls - alias l "ls" - alias ll "ls -l" - alias l2 "ls -T -L2" - alias lu "ls -l --total-size --sort=size --reverse --no-permissions --no-user --no-time" - alias lp "ls -l --no-filesize --no-time" -end +alias l "ls" +alias ll "ls -l" +alias l2 "ls -T -L2" +alias lu "ls -l --total-size --sort=size --reverse --no-permissions --no-user --no-time" +alias lp "ls -l --no-filesize --no-time" # Netstat -if command -q netstat - alias tcp "sudo netstat -tpen" - alias udp "sudo netstat -upen" - alias tcps "sudo netstat -tlpen" - alias udps "sudo netstat -ulpen" - alias servers "sudo netstat -tulpen" -end +alias tcp "sudo netstat -tpen" +alias udp "sudo netstat -upen" +alias tcps "sudo netstat -tlpen" +alias udps "sudo netstat -ulpen" +alias servers "sudo netstat -tulpen" # MPV -if command -q mpv - alias m "mpv music --shuffle --no-video" -end +alias m "mpv music --shuffle --no-video" # Neovim -if command -q nvim - alias e nvim -end +alias e nvim # Pacman if command -q apk @@ -87,7 +71,10 @@ end # Sudo if command -q doas + alias s "doas" alias sudo "doas" +else + alias s "sudo" end # Systemctl @@ -107,12 +94,10 @@ else if command -q systemctl end # Tmux -if command -q tmux - alias ta "tmux attach" - alias td "tmux detach" - alias tl "tmux ls" - alias tk "tmux kill-server" -end +alias ta "tmux attach" +alias td "tmux detach" +alias tl "tmux ls" +alias tk "tmux kill-server" # ... alias align "column -t -o ' '" @@ -123,6 +108,7 @@ alias disasm "llvm-objdump --disassembler-color=on --x86-asm-syntax=intel -d" alias ff "fastfetch" alias fn "rg --files | rg" alias hex "hexdump -C" +alias irc "senpai" alias log "journalctl" alias utc "date -u +'%Y-%m-%dT%H:%M:%SZ'" alias dl "yt-dlp -x -f bestaudio" diff --git a/.config/fish/scripts/remux.fish b/.config/fish/scripts/remux.fish new file mode 100755 index 0000000..0d330cf --- /dev/null +++ b/.config/fish/scripts/remux.fish @@ -0,0 +1,6 @@ +#!/usr/bin/fish + +for f in *.opus + set tmp /tmp/remux.opus + ffmpeg -i "$f" -c copy "$tmp" && mv "$tmp" "$f" +end \ No newline at end of file diff --git a/.config/hypr/autostart.conf b/.config/hypr/autostart.conf index 8487051..1395375 100644 --- a/.config/hypr/autostart.conf +++ b/.config/hypr/autostart.conf @@ -4,6 +4,7 @@ exec-once = wl-paste --watch cliphist store exec-once = $statusbar exec-once = ssh-agent -D -a $SSH_AUTH_SOCK exec-once = openrc --user gui +exec-once = easyeffects --gapplication-service # Disabled #exec-once = /usr/libexec/pipewire-launcher diff --git a/.config/hypr/environment.conf b/.config/hypr/environment.conf index 86d9e5e..8095edd 100644 --- a/.config/hypr/environment.conf +++ b/.config/hypr/environment.conf @@ -1,5 +1,5 @@ # Qt -env = QT_QPA_PLATFORM,wayland;xcb +env = QT_QPA_PLATFORM,wayland env = QT_QPA_PLATFORMTHEME,qt6ct env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 @@ -9,7 +9,7 @@ env = EGL_PLATFORM,wayland env = ELECTRON_OZONE_PLATFORM_HINT,wayland env = GDK_BACKEND,wayland env = MOZ_ENABLE_WAYLAND,1 -env = SDL_VIDEODRIVER,wayland,x11,windows +env = SDL_VIDEODRIVER,wayland # Load shared objects immediately env = LD_BIND_NOW,1 diff --git a/.config/nvim/lua/commands.lua b/.config/nvim/lua/commands.lua index 0d1f08e..60e4e78 100644 --- a/.config/nvim/lua/commands.lua +++ b/.config/nvim/lua/commands.lua @@ -17,6 +17,7 @@ vim.api.nvim_create_user_command("ToggleComment", function() javascript = "//", jsonc = "//", lua = "--", + python = "#", rust = "//", sh = "#", tmux = "#", diff --git a/.config/vscode/settings.json b/.config/vscode/settings.json index cc48742..7627bd4 100644 --- a/.config/vscode/settings.json +++ b/.config/vscode/settings.json @@ -33,6 +33,7 @@ "go.toolsManagement.autoUpdate": true, "godotTools.editorPath.godot4": "/usr/bin/godot", "godotTools.lsp.serverPort": 6005, + "rust-analyzer.cargo.extraEnv": {"RUSTFLAGS": "-Clinker=clang -Clink-arg=-fuse-ld=mold"}, "security.workspace.trust.enabled": false, "telemetry.telemetryLevel": "off", "typescript.updateImportsOnFileMove.enabled": "always",