1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 11:51:50 +08:00

add notify-send to waybar

This commit is contained in:
juan 2021-09-03 12:11:55 +08:00
parent c97c766260
commit 373839598d

View File

@ -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"
} }
} }