Skip to content

Auto-adjust CS:GO volume on certain events to reduce harmful overexposure to loud noises

License

Notifications You must be signed in to change notification settings

eirrw/linux-csgo-mute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linux-csgo-mute

Based on PatrikZero's solution, but reimplemented in Go and written specifically for Linux and Pipewire.

Usage

Copy dist/gamestate_integration_CsgoMute.cfg to the CSGO config directory, by default $HOME/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo/cfg.

Run ./linux-csgo-mute. Default sound levels can be seen with the -t flag. Use the -C flag to write the config to ${USER_CONFIG_DIR}/csgo-mute/config.toml; edit the values to set your own levels/options; leave absent for defaults.

The -h flag will print all available options.

A basic .desktop file is included for non-terminal use. Copy to your user desktop file location (usually ~/.local/share/applications/) and edit the Exec keyword to point to the location of the binary on your system.

Building

Requires Go >= 1.18.

Utilizes wrappers around pipewire cli tools (pw-dump and pw-cli) for volume management so those need to be available.

System tray support is provided by getlantern/systray, so all CGo dependencies of that module are required as well, namely gcc and development headers for gtk3 and libayatana-appindicator3.

About

Auto-adjust CS:GO volume on certain events to reduce harmful overexposure to loud noises

Topics

Resources

License

Stars

Watchers

Forks

Languages