Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Volume controller for pulseaudio with bash without needing to identify the current sink being used.

License

NotificationsYou must be signed in to change notification settings

IroNEDR/pulseaudioControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Volume controller for pulseaudio with bash without needing to identify the current sink being used.I wrote this script for my i3 setup with pulseaudio. I wanted to be able to change the volume for all my devices at once.

Functions

  • increaseVolume(): Increases the volume for all sinks by 5%
  • decreaseVolume(): Decreases the volume for all sinks by 5%
  • toggleMute(): Mute or unmute all sinks

Example

./setVolume functionName

Or inside the config file for your i3wm media keys:

# Pulse Audio controls#increase sound volume:bindsym XF86AudioRaiseVolumeexec --no-startup-id /path/to/setVolume.sh increaseVolume#decrease sound volume:bindsym XF86AudioLowerVolumeexec --no-startup-id /path/to//setVolume.sh decreaseVolume# mute sound:bindsym XF86AudioMuteexec --no-startup-id /path/to/setVolume.sh toggleMute

About

Volume controller for pulseaudio with bash without needing to identify the current sink being used.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp