Compare commits

...

2 commits

Author SHA1 Message Date
7184e752c2 fix(ags player): fix track title not updating 2023-10-02 17:35:48 -04:00
b220ff889c chore: update flake.lock 2023-10-02 17:35:26 -04:00
2 changed files with 9 additions and 11 deletions

View file

@ -62,7 +62,7 @@ export const TitleLabel = (player, params) => Label({
truncate: 'end',
justification: 'left',
className: 'title',
binds: [['label', player, 'trackTitle']],
binds: [['label', player, 'track-title']],
});
export const ArtistLabel = (player, params) => Label({
@ -72,9 +72,7 @@ export const ArtistLabel = (player, params) => Label({
truncate: 'end',
justification: 'left',
className: 'artist',
connections: [[player, label => {
label.label = player.trackArtists.join(', ') || '';
}]],
binds: [['label', player, 'track-artists', a => a.join(', ') || '']],
});
export const PlayerIcon = (player, { symbolic = true, ...params } = {}) => {

View file

@ -220,11 +220,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1696261674,
"narHash": "sha256-CF/8elCzin2P6hwB32SKVEHDJLbdTZBebLhhCgCyYFk=",
"lastModified": 1696261738,
"narHash": "sha256-ujhtnd7vCZHJosOxTi4lgIyHA6iblYwXhx+ZS678fxw=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "fcab2a435899f3848bc814ac4784d29e3169ea0b",
"rev": "b784931e678f907b1f1e41d04485fefd8a1faaf8",
"type": "github"
},
"original": {
@ -446,18 +446,18 @@
"flake": false,
"locked": {
"host": "gitlab.freedesktop.org",
"lastModified": 1695919988,
"narHash": "sha256-4RBgIZHaVqH0m1POnfzYRzwCWxifIKH4xQ0kCn2LGkA=",
"lastModified": 1696255886,
"narHash": "sha256-0KZfiqqREousitBgG1mkzKmmNX4tjOIWdbBm6MvRCjQ=",
"owner": "wlroots",
"repo": "wlroots",
"rev": "c2aa7fd965cb7ee8bed24f4122b720aca8f0fc1e",
"rev": "5ef42e8e8adece098848fac53c721b6eb3818fc2",
"type": "gitlab"
},
"original": {
"host": "gitlab.freedesktop.org",
"owner": "wlroots",
"repo": "wlroots",
"rev": "c2aa7fd965cb7ee8bed24f4122b720aca8f0fc1e",
"rev": "5ef42e8e8adece098848fac53c721b6eb3818fc2",
"type": "gitlab"
}
},