mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-24 22:58:38 +01:00
ironbar: Add volume indicator
This commit is contained in:
parent
852299de1a
commit
baeee11328
@ -44,6 +44,12 @@
|
||||
{
|
||||
"type": "tray"
|
||||
},
|
||||
{
|
||||
"type": "script",
|
||||
"cmd": "fish -c 'echo \"音量:$(math \"$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | choose 1) * 100\")%\"'",
|
||||
"mode": "poll",
|
||||
"interval": 2500
|
||||
},
|
||||
{
|
||||
"type": "clock",
|
||||
"format": "%x(%a)%R"
|
||||
|
Loading…
Reference in New Issue
Block a user