diff --git a/de/home/.config/waybar/config b/de/home/.config/waybar/config index 9824368..4db7c28 100644 --- a/de/home/.config/waybar/config +++ b/de/home/.config/waybar/config @@ -36,7 +36,7 @@ // Window Name "sway/window": { "format":"{}", - "max-length":25, + "max-length":30, "rewrite":{ "(.*) — Mozilla Firefox":" $1", "(.*) — LibreOffice Calc":" $1", @@ -66,9 +66,9 @@ // Clock "clock": { - "format": "{0:%Y-%m-%d} {0:%H:%M}", + "format": "{0:%b %e, %Y} {0:%H:%M}", "tooltip-format": "{:%Y %B}\n{calendar}", - "format-alt": "{0:%B %e, %Y} {0:%H:%M}" + "format-alt": "{0:%b %e, %Y} {0:%H:%M}" }, // CPU @@ -168,9 +168,11 @@ // Feishin "custom/feishin": { "format": "{}", +// "tooltip-format": "{}", "return-type": "json", "interval": 5, "exec": "$HOME/.config/waybar/scripts/feishin.sh", +// "exec": "playerctl --player Feishin metadata arti", "exec-if": "pgrep Feishin", "on-click":"swaymsg [class='feishin'] focus", "escape": true diff --git a/de/home/.config/waybar/scripts/feishin.sh b/de/home/.config/waybar/scripts/feishin.sh index abef35b..a9e12bb 100755 --- a/de/home/.config/waybar/scripts/feishin.sh +++ b/de/home/.config/waybar/scripts/feishin.sh @@ -3,4 +3,4 @@ artist=$(playerctl --player Feishin metadata artist) title=$(playerctl --player Feishin metadata title) -printf '{"text":'"\" ${title} by ${artist}\""',"class":"enabled"}'; +printf '{"text":'"\" ${title}\""',"class":"enabled","tooltip":'"\" ${artist}\""'}';