mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 20:01:49 +08:00
add notify-send to waybar
This commit is contained in:
parent
c97c766260
commit
373839598d
@ -41,6 +41,6 @@
|
|||||||
"custom/player": {
|
"custom/player": {
|
||||||
"exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}'",
|
"exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}'",
|
||||||
"interval": 10,
|
"interval": 10,
|
||||||
"on-click": "playerctl play-pause"
|
"on-click": "playerctl play-pause && notify-send `playerctl status` -t 1000"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user