Skip to content

Commit

Permalink
rename: code changes
Browse files Browse the repository at this point in the history
Signed-off-by: Tomkoid <[email protected]>
  • Loading branch information
tomkoid committed Jun 2, 2024
1 parent d334d46 commit a202404
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module codeberg.org/tomkoid/audstopper
module codeberg.org/tomkoid/supershush

go 1.22.2

Expand Down
2 changes: 1 addition & 1 deletion internal/audio/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"mrogalski.eu/go/pulseaudio"

"codeberg.org/tomkoid/audstopper/internal/config"
"codeberg.org/tomkoid/supershush/internal/config"
)

type mutedSink struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/audio/players.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package audio
import (
"os/exec"

"codeberg.org/tomkoid/audstopper/internal/config"
"codeberg.org/tomkoid/supershush/internal/config"
)

type Player struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/audio/playing.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package audio
import (
"strings"

"codeberg.org/tomkoid/audstopper/internal/tools"
"codeberg.org/tomkoid/supershush/internal/tools"
)

func isPlaying(player string) (bool, []string) {
Expand Down
4 changes: 2 additions & 2 deletions internal/audio/resume.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package audio
import (
"log"

"codeberg.org/tomkoid/audstopper/internal/config"
"codeberg.org/tomkoid/audstopper/internal/tools"
"codeberg.org/tomkoid/supershush/internal/config"
"codeberg.org/tomkoid/supershush/internal/tools"
)

func resumeAudio(config *config.Config, givenPlayers []string) {
Expand Down
4 changes: 2 additions & 2 deletions internal/audio/stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package audio
import (
"log"

"codeberg.org/tomkoid/audstopper/internal/config"
"codeberg.org/tomkoid/audstopper/internal/tools"
"codeberg.org/tomkoid/supershush/internal/config"
"codeberg.org/tomkoid/supershush/internal/tools"
)

/// returns an array of players that were playing before stopped
Expand Down
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func GetConfig() Config {
log.Fatal(err)
}

configFilePath := userConfigDir + "/audstopper/config.toml"
configFilePath := userConfigDir + "/supershush/config.toml"

configStr, err := readConfigFile(configFilePath)
if err != nil {
Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"mrogalski.eu/go/pulseaudio"

"codeberg.org/tomkoid/audstopper/internal/audio"
"codeberg.org/tomkoid/audstopper/internal/config"
"codeberg.org/tomkoid/audstopper/internal/tools"
"codeberg.org/tomkoid/supershush/internal/audio"
"codeberg.org/tomkoid/supershush/internal/config"
"codeberg.org/tomkoid/supershush/internal/tools"
)

func main() {
Expand Down

0 comments on commit a202404

Please sign in to comment.