From 4cdee12996c901b1eddb4843f02557219f0b75d5 Mon Sep 17 00:00:00 2001 From: juan Date: Fri, 3 Sep 2021 21:56:40 +0800 Subject: [PATCH] remove mpd autostart and better handle of mpris --- .config/sway/config##hostname.T14s | 2 -- .config/waybar/config | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.config/sway/config##hostname.T14s b/.config/sway/config##hostname.T14s index 96ea496..a434a31 100644 --- a/.config/sway/config##hostname.T14s +++ b/.config/sway/config##hostname.T14s @@ -14,8 +14,6 @@ exec wlsunset -l 30.4 -L 104.0 -T 6500 -t 3500 exec light -S 70 exec --no-startup-id pipewire exec mako -exec mpd -exec ~/.cache/go/bin/mpd-mpris exec playerctld daemon #my keybinds diff --git a/.config/waybar/config b/.config/waybar/config index bb6b16a..b08348d 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -39,7 +39,7 @@ "interval": 1800 }, "custom/player": { - "exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}'", + "exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}' || echo 'Stopped  '", "interval": 10, "on-click": "playerctl play-pause && notify-send `playerctl status` -t 1000" }