New backup 2024-11-30 22:00:09
This commit is contained in:
parent
3c4bc2db30
commit
7583eb6679
2 changed files with 6 additions and 4 deletions
|
@ -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} <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>",
|
||||
"format-alt": "{0:%B %e, %Y} <b>{0:%H:%M}</b>"
|
||||
"format-alt": "{0:%b %e, %Y} <b>{0:%H:%M}</b>"
|
||||
},
|
||||
|
||||
// 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
|
||||
|
|
|
@ -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}\""'}';
|
||||
|
|
Loading…
Add table
Reference in a new issue