New backup 2024-11-30 22:00:09

This commit is contained in:
Penelope Gwen 2024-11-30 22:00:09 -08:00
parent 3c4bc2db30
commit 7583eb6679
2 changed files with 6 additions and 4 deletions

View file

@ -36,7 +36,7 @@
// Window Name // Window Name
"sway/window": { "sway/window": {
"format":"{}", "format":"{}",
"max-length":25, "max-length":30,
"rewrite":{ "rewrite":{
"(.*) — Mozilla Firefox":" $1", "(.*) — Mozilla Firefox":" $1",
"(.*) — LibreOffice Calc":" $1", "(.*) — LibreOffice Calc":" $1",
@ -66,9 +66,9 @@
// Clock // Clock
"clock": { "clock": {
"format": "{0:%Y-%m-%d} <b>{0:%H:%M}</b>", "format": "{0:%b %e, %Y} <b>{0:%H:%M}</b>",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{0:%B %e, %Y} <b>{0:%H:%M}</b>" "format-alt": "{0:%b %e, %Y} <b>{0:%H:%M}</b>"
}, },
// CPU // CPU
@ -168,9 +168,11 @@
// Feishin // Feishin
"custom/feishin": { "custom/feishin": {
"format": "{}", "format": "{}",
// "tooltip-format": "{}",
"return-type": "json", "return-type": "json",
"interval": 5, "interval": 5,
"exec": "$HOME/.config/waybar/scripts/feishin.sh", "exec": "$HOME/.config/waybar/scripts/feishin.sh",
// "exec": "playerctl --player Feishin metadata arti",
"exec-if": "pgrep Feishin", "exec-if": "pgrep Feishin",
"on-click":"swaymsg [class='feishin'] focus", "on-click":"swaymsg [class='feishin'] focus",
"escape": true "escape": true

View file

@ -3,4 +3,4 @@
artist=$(playerctl --player Feishin metadata artist) artist=$(playerctl --player Feishin metadata artist)
title=$(playerctl --player Feishin metadata title) title=$(playerctl --player Feishin metadata title)
printf '{"text":'"\" ${title} by ${artist}\""',"class":"enabled"}'; printf '{"text":'"\" ${title}\""',"class":"enabled","tooltip":'"\" ${artist}\""'}';