A simple script that allows you to choose the default audio output device using rofi.
rofi-audio-output-selector is a script that integrates with rofi to provide a graphical interface for selecting the default audio output device on your system. This can be particularly useful for users who frequently switch between different audio outputs, such as headphones and speakers.
rofiBefore you begin, ensure you have met the following requirements:
rofi installed on your system.pulseaudio or pipewire installed and running.To install rofi-audio-output-selector, follow these steps:
Clone the repository:
bash
git clone https://pagure.io/rofi-audio-output-selector.git
cd rofi-audio-output-selector
Create the source tarball:
bash
tar czvf rofi-audio-output-selector-1.2.tar.gz select_audio_output
Move the tarball to the sources/ directory:
bash
mkdir -p sources
mv rofi-audio-output-selector-1.2.tar.gz sources/
Build the RPM package:
bash
tito build --srpm --output /path/to/output
To use rofi-audio-output-selector, follow these steps:
Run the script:
bash
./select_audio_output
A rofi window will appear, listing the available audio output devices.
Select the desired audio output device from the list.
To contribute to rofi-audio-output-selector, follow these steps:
git checkout -b <branch_name>.git commit -m '<commit_message>'.git push origin <project_name>/<location>.Alternatively, see the GitHub documentation on creating a pull request.
This project uses the following license: MIT License.
If you want to contact me, you can reach me at your-email@example.com.