Compare commits

..

2 Commits

Author SHA1 Message Date
6a629ec3e9 replace emoji-style tick/cross + N/A with cleaner symbols.
update screenshots.
2026-01-24 20:09:22 +00:00
7855ce5d54 add update-go-modules action 2026-01-24 01:01:56 +00:00
5 changed files with 33 additions and 3 deletions

30
.github/workflows/update-go-modules.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Auto-Update Go Modules
on:
schedule:
- cron: '0 0 * * 1' # Runs every Monday at midnight
jobs:
update-go-modules:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Update Dependencies
run: |
go get -u ./...
go mod tidy
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add go.mod go.sum
git commit -m "chore: auto-update Go modules"
git push

BIN
img/coloured-border.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
img/coloured-no-border.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@@ -131,7 +131,7 @@ func (cmd *InputListCmd) Run(ctx *context) error {
) )
if err != nil { if err != nil {
if err.Error() == "request GetInputMute: InvalidResourceState (604): The specified input does not support audio." { if err.Error() == "request GetInputMute: InvalidResourceState (604): The specified input does not support audio." {
muteMark = "N/A" muteMark = ""
} else { } else {
return fmt.Errorf("failed to get input mute state: %w", err) return fmt.Errorf("failed to get input mute state: %w", err)
} }

View File

@@ -24,12 +24,12 @@ func getEnabledMark(enabled bool) string {
if os.Getenv("NO_COLOR") != "" { // nolint: misspell if os.Getenv("NO_COLOR") != "" { // nolint: misspell
return "✓" return "✓"
} }
return "" return ""
} }
if os.Getenv("NO_COLOR") != "" { // nolint: misspell if os.Getenv("NO_COLOR") != "" { // nolint: misspell
return "✗" return "✗"
} }
return "" return ""
} }
func trimPrefix(s, prefix string) string { func trimPrefix(s, prefix string) string {