diff options
author | Alex Kelly <kellya@arachnitech.com> | 2022-06-26 23:17:54 -0400 |
---|---|---|
committer | Alex Kelly <kellya@arachnitech.com> | 2022-06-26 23:17:54 -0400 |
commit | 06fd86bf78406d9eaca7426853e3a2b45fcdd119 (patch) | |
tree | 16c5e376be476078b7aef915737c90aa9e4fb048 /README.md | |
parent | ff1970404996968bcfd8f9f388921686edd8d805 (diff) | |
download | rofi-sound-06fd86bf78406d9eaca7426853e3a2b45fcdd119.tar.gz |
initial checkin
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..bf5bc3f --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +# rofi-sound-output-chooser + +## Introduction +I wanted a way to quickly switch between my bluetooth headset, and my on-board +speakers. After a little bit of poking around (and getting some inspiration +from [rofi-bluetooth](https://github.com/nickclyde/rofi-bluetooth), I came up +with this. I have not done any extensive testing. I don't know if this even +works anywhere other than my computer. I also don't know long-term if I am even +sticking with I3. I simply built this to scratch a curiosity itch with I3 and +pactl. + +![demo](images/sound_change.gif) + +## Installation + +### Dependencies + +This script requires two additional commands + +1. pactl - This is the main requirement for determining the devices +2. dunstify - Used for notifications when the device is changed. Technically + not needed, but currently there are no checks or config options to not use + it. + +For Fedora this would be done with the following: + +`dnf install pulseaudio-utils dunst` + +I don't know where any other distros keep those things, but it's probably pretty +similar to those. + +### Installing this script + +1. Clone this repo +2. Copy rofi-sound-output-chooser to somewhere in your $PATH + + +# I3wm keybinding + +I have this bound within a mode, but you could do something like + +`bindsym $mod+0 exec --no-startup-id rofi -show rofi-sound -modi "rofi-sound:rofi-sound-output-chooser"` |