Py3status: Feature request: mpris - configurable number of spaces between buttons

Created on 7 Mar 2019  路  3Comments  路  Source: ultrabug/py3status

Even with no spaces in the config format string, it appears there are three spaces between the mpris buttons.

rose_2019-03-07-02 54 56

feature request

All 3 comments

Quick solution.

  • Use py3status --include ~/.config/py3status/modules.
  • Place a copy of modified mpris.py with this diff.
  • Adjust min_width to your likings.
diff --git a/py3status/modules/mpris.py b/py3status/modules/mpris.py
index 8c2705c..cad64dc 100644
--- a/py3status/modules/mpris.py
+++ b/py3status/modules/mpris.py
@@ -303,7 +303,7 @@ class Py3status:
                 "color": color,
                 "full_text": control_state["icon"],
                 "index": button,
-                "min_width": 20,
+                "min_width": 10,
                 "align": "center",
             }

Thanks!

Closed via #1738.

Was this page helpful?
0 / 5 - 0 ratings