{"action":"opened","issue":{"url":"https://api.github.com/repos/greshake/i3status-rust/issues/277","repository_url":"https://api.github.com/repos/greshake/i3status-rust","labels_url":"https://api.github.com/repos/greshake/i3status-rust/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/greshake/i3status-rust/issues/277/comments","events_url":"https://api.github.com/repos/greshake/i3status-rust/issues/277/events","html_url":"https://github.com/greshake/i3status-rust/issues/277","id":367755377,"node_id":"MDU6SXNzdWUzNjc3NTUzNzc=","number":277,"title":"sound block: default source and sink","user":{"login":"fedario","id":24253179,"node_id":"MDQ6VXNlcjI0MjUzMTc5","avatar_url":"https://avatars1.githubusercontent.com/u/24253179?v=4","gravatar_id":"","url":"https://api.github.com/users/fedario","html_url":"https://github.com/fedario","followers_url":"https://api.github.com/users/fedario/followers","following_url":"https://api.github.com/users/fedario/following{/other_user}","gists_url":"https://api.github.com/users/fedario/gists{/gist_id}","starred_url":"https://api.github.com/users/fedario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedario/subscriptions","organizations_url":"https://api.github.com/users/fedario/orgs","repos_url":"https://api.github.com/users/fedario/repos","events_url":"https://api.github.com/users/fedario/events{/privacy}","received_events_url":"https://api.github.com/users/fedario/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-08T11:55:59Z","updated_at":"2018-10-08T11:55:59Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\n\r\nI'm trying go set up two sound blocks, one for input and one for output.\r\nThe wiki states, that the default for the `name` field is `@DEFAULT_SINK@`, so I thought using `@DEFAULT_SOURCE@` would work for the sound input block. \r\nHowever, setting `name` explicitly to either `@DEFAULT_SINK@` or `@DEFAULT_SOURCE@` results in the block showing 00% volume and trying to change it results in i3status-rust crashing with \"Error in block 'Sound': volume unknown\"\r\n\r\nMy sound block config:\r\n```\r\n[[block]]\r\nblock = \"sound\"\r\ndriver = \"auto\"\r\nname = \"@DEFAULT_SINK@\"\r\non_click = \"pactl set-sink-mute @DEFAULT_SINK@ toggle\"\r\n```\r\n\r\nBtw: I think this `on_click` behavior could be a reasonable default, what do you think?"}}
{"actor":{"display_login":"fedario"}}