From 794b9dfa64ee72d19520b580131edcc650f8db29 Mon Sep 17 00:00:00 2001 From: oasido Date: Fri, 23 Aug 2024 14:34:24 +0300 Subject: [PATCH] update through script - 2024-08-23 14:34:24 --- .bashrc | 10 +++++++++- .pulse/default.pa | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 .pulse/default.pa diff --git a/.bashrc b/.bashrc index a45c405..96f0234 100644 --- a/.bashrc +++ b/.bashrc @@ -13,6 +13,7 @@ export DOTFILES="$HOME/dot" export BLITZ="/run/media/oasido/blitz" export EXTERNAL="/run/media/oasido/External" + if [[ $- == *i* ]]; then bind '"\C-f":"tmux-sessionizer\n"' fi @@ -85,9 +86,16 @@ fi # ~~~~~~~~~~~~~~~ Path Configuration ~~~~~~~~~~~~~~~~~~~~~~~~ export PATH="$SCRIPTS:$PATH" export PATH="$GO:$PATH" -export PATH="~/go/bin:$PATH" +export PATH="$HOME/go/bin:$PATH" export PATH="$TURSO_PATH:$PATH" +# NVIDIA +export PATH="/usr/local/cuda-12.6/bin:$PATH" +export PATH="/usr/local/TensorRT-10.3.0.26/bin:$PATH" +export LD_LIBRARY_PATH="/usr/local/cuda-12.6/lib64:$LD_LIBRARY_PATH" +export LD_LIBRARY_PATH="/usr/local/TensorRT-10.3.0.26:$LD_LIBRARY_PATH" +# export TRT_LIBPATH="/usr/local/TensorRT-10.3.0.26" + # ~~~~~~~~~~~~~~~ NVM and Bash Completion ~~~~~~~~~~~~~~~~~~~~~~~~ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion diff --git a/.pulse/default.pa b/.pulse/default.pa new file mode 100644 index 0000000..079425f --- /dev/null +++ b/.pulse/default.pa @@ -0,0 +1,39 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, see . + +## Configuration file for PulseAudio clients. See pulse-client.conf(5) for +## more information. Default values are commented out. Use either ; or # for +## commenting. + +; default-sink = +; default-source = +; default-server = +; default-dbus-server = + +; autospawn = yes +; daemon-binary = /usr/bin/pulseaudio +; extra-arguments = --log-target=syslog + +; cookie-file = + +; enable-shm = yes +; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB + +; auto-connect-localhost = no +; auto-connect-display = no + +# Reverse audio channels +load-module module-remap-sink sink_name=reverse-stereo master=0 channels=2 master_channel_map=front-right,front-left channel_map=front-left,front-right +set-default-sink reverse-stereo