summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/bar.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/bar.tsx b/src/modules/bar.tsx
index e7d9138..709f948 100644
--- a/src/modules/bar.tsx
+++ b/src/modules/bar.tsx
@@ -151,7 +151,7 @@ const MediaPlaying = () => {
angle={config.vertical ? 270 : 0}
setup={self =>
players.hookLastPlayer(self, ["notify::title", "notify::artist"], () => {
- self.label = ellipsize(getLabel("No media")); // TODO: scroll text
+ self.label = ellipsize(getLabel("No media"), config.vertical ? 30 : 40); // TODO: scroll text
})
}
/>