deckster/examples/full/key-pages/default.toml
2024-03-06 22:45:24 +01:00

68 lines
No EOL
1.6 KiB
TOML

[keys.1x2]
icon = "@ph/skip-back"
handler = "playerctl"
config.mode = "previous"
config.style.inactive.icon = "@ph/skip-back[alpha=0.4]"
[keys.2x2]
icon = "@ph/play-pause[alpha=0.4]"
handler = "playerctl"
config.mode = "play-pause"
config.style.paused.icon = "@ph/play"
config.style.playing.icon = "@ph/pause"
[keys.3x2]
icon = "@ph/skip-forward"
handler = "playerctl"
config.mode = "next"
config.style.inactive.icon = "@ph/skip-forward[alpha=0.4]"
[keys.1x3]
icon = "@fad/shuffle[alpha=0.4]"
handler = "playerctl"
config.mode = "shuffle"
config.style.on.icon = "@fad/shuffle[color=#58fc11]"
[keys.2x3]
icon = "@fad/repeat[alpha=0.4]"
handler = "playerctl"
config.mode = "loop"
config.style.single.icon = "@fad/repeat-one[color=#58fc11]"
config.style.all.icon = "@fad/repeat[color=#58fc11]"
[keys.3x3]
icon = "@ph/timer[scale=0.9]"
handler = "timer"
config.durations = ["5s"]
config.select_timeout = "1500ms"
config.alarm_timeout = "10s"
config.vibrate_when_finished = true
config.alarm_style_switch_interval = "200ms"
config.style.alarm1.border = "#ff0000ff"
config.style.alarm1.label = "00:00"
config.style.alarm2.border = "#ff00000f"
config.style.alarm2.label = "00:00"
[keys.4x3]
icon = "@ph/computer-tower"
label = "Gaming PC"
handler = "home_assistant"
config.mode = "toggle"
config.entity_id = "light.moritz_zimmer_stehlampe"
config.style.on.icon = "@ph/computer-tower[color=#58fc11]"
config.style.disconnected.icon = "@ph/computer-tower[alpha=0.2]"
config.disconnected_state = "disconnected"
[keys.4x1]
label = "9"
handler = "execute"
config.program = "wtype"
config.args = ["9"]