Compare commits

..

2 Commits

Author SHA1 Message Date
c73cf88081 move comment 2023-08-10 09:58:29 -06:00
4ac19e0dab update action icon with padding so it looks nicer 2023-08-09 22:31:27 -06:00
3 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@ -49,9 +49,6 @@ type VolumeSettings struct {
} }
func GetVolumeSettings() (*VolumeSettings, error) { func GetVolumeSettings() (*VolumeSettings, error) {
//osascript -e "get volume settings"
//output volume:81, input volume:50, alert volume:100, output muted:false
device, result := GetDefaultOutputDevice() device, result := GetDefaultOutputDevice()
if result != AudioHardwareNoError { if result != AudioHardwareNoError {
@ -210,3 +207,6 @@ const (
//script := "set volume output muted (not output muted of (get volume settings))" //script := "set volume output muted (not output muted of (get volume settings))"
//return exec.Command("osascript", "-e", "set volume output muted (not output muted of (get volume settings))").Run() //return exec.Command("osascript", "-e", "set volume output muted (not output muted of (get volume settings))").Run()
//osascript -e "get volume settings"
//output volume:81, input volume:50, alert volume:100, output muted:false