From 0963afd2824b3e1b578babe6b062d4b42fe5bc5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 24 Aug 2021 16:57:22 +0200 Subject: [PATCH] =?UTF-8?q?example/conf:=20alsa:=20use=20the=20new=20?= =?UTF-8?q?=E2=80=98online=E2=80=99=20tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/configurations/laptop.conf | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/examples/configurations/laptop.conf b/examples/configurations/laptop.conf index 593d9f3..f079f2a 100644 --- a/examples/configurations/laptop.conf +++ b/examples/configurations/laptop.conf @@ -227,19 +227,24 @@ bar: mixer: Master content: map: - on-click: /bin/sh -c "amixer -q sset Speaker unmute && amixer -q sset Headphone unmute && amixer -q sset Master toggle" - tag: muted + tag: online values: - true: {string: {text: , font: *awesome, foreground: ffffff66}} - false: - ramp: - tag: volume - items: - - string: {text: , font: *awesome} - - string: {text: , font: *awesome} - - string: {text: , font: *awesome} - - string: {text: , font: *awesome} - - string: {text: , font: *awesome} + false: {string: {text: , font: *awesome, foreground: ff0000ff}} + true: + map: + on-click: /bin/sh -c "amixer -q sset Speaker unmute && amixer -q sset Headphone unmute && amixer -q sset Master toggle" + tag: muted + values: + true: {string: {text: , font: *awesome, foreground: ffffff66}} + false: + ramp: + tag: volume + items: + - string: {text: , font: *awesome} + - string: {text: , font: *awesome} + - string: {text: , font: *awesome} + - string: {text: , font: *awesome} + - string: {text: , font: *awesome} - backlight: name: intel_backlight content: [ string: {text: , font: *awesome}, string: {text: "{percent}%"}]