diff --git a/.config/waybar/config b/.config/waybar/config index eebe945..1b1d857 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -1,7 +1,6 @@ { "layer": "top", // Waybar at top layer "height": 24, // Waybar height (to be removed for auto height) - // Choose the order of the modules "modules-left": ["sway/workspaces"], "modules-center": ["sway/window"], "modules-right": ["custom/notification","tray","custom/player","network","battery","clock"], @@ -34,10 +33,6 @@ "format-disconnected": "Disconnected ", "format-alt": "{ifname}: {ipaddr}/{cidr}" }, - //"custom/weather": { - // "exec": "sleep 10 && curl 'https://wttr.in/?format=%t+(%f)+%c'", - // "interval": 1800 - //}, "custom/notification": { "tooltip": false, "format": "{icon}", @@ -56,7 +51,7 @@ }, "custom/player": { "escape": true, - "exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}' || echo 'Stopped  '", + "exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}' | cut -c -48 || echo 'Stopped  '", "interval": 15, "on-click": "playerctl play-pause && sleep 0.2 && notify-send `playerctl status` -t 1000" }