From 2e8cf58de2df114b5d2ebc4031ee022059375bc4 Mon Sep 17 00:00:00 2001 From: oasido Date: Sat, 21 Sep 2024 15:12:13 +0300 Subject: [PATCH] update through script - 2024-09-21 15:12:13 --- .config/sxhkd/sxhkdrc | 4 ++++ .local/bin/scripts/audio-setup | 1 + .pulse/default.pa | 3 +++ 3 files changed, 8 insertions(+) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 138b7b2..545495a 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -16,6 +16,10 @@ super + Return Pause ~/.local/bin/scripts/toggle_mic +# Restore audio setup +alt + equal + ~/.local/bin/scripts/audio-setup + # Lock & Screen off # super + Escape # loginctl lock-session && sleep 5 && ~/.local/bin/scripts/idle_monitor & diff --git a/.local/bin/scripts/audio-setup b/.local/bin/scripts/audio-setup index 65bcf03..585b900 100755 --- a/.local/bin/scripts/audio-setup +++ b/.local/bin/scripts/audio-setup @@ -1,2 +1,3 @@ #!/bin/sh +notify-send --icon=gtk-info "audio-setup" pw-jack carla -n ~/Sync/audio-setup.carxp diff --git a/.pulse/default.pa b/.pulse/default.pa index 079425f..01e94fd 100644 --- a/.pulse/default.pa +++ b/.pulse/default.pa @@ -37,3 +37,6 @@ # 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 + +# Monitor microphone +# load-module module-loopback