From 3211350435e0b8d83f1a550346620d51825f17ca Mon Sep 17 00:00:00 2001 From: Sir Blob Date: Mon, 21 Sep 2026 02:10:28 +0000 Subject: [PATCH] Stop the theme menu drawing theme names in the icon cell --- bin/blob-theme-menu | 6 +++--- shell/plugins/menu/Menu.qml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/blob-theme-menu b/bin/blob-theme-menu index f8b6c36..9528911 100755 --- a/bin/blob-theme-menu +++ b/bin/blob-theme-menu @@ -21,7 +21,7 @@ current_mode() { } list_theme_rows() { - printf 'Dynamic (from wallpaper)\tblob-dynamic\n' + printf '\tDynamic (from wallpaper)\tblob-dynamic\n' { find "$user_themes_dir" -mindepth 1 -maxdepth 1 -type d 2>/dev/null @@ -30,8 +30,8 @@ list_theme_rows() { [ -f "$theme_dir/colors.toml" ] || continue slug=$(basename "$theme_dir") [ "$slug" = "blob-dynamic" ] && continue - printf '%s\t%s\n' "$(prettify "$slug")" "$slug" - done | sort -u -t$'\t' -k2,2 + printf '\t%s\t%s\n' "$(prettify "$slug")" "$slug" + done | sort -u -t$'\t' -k3,3 } print_current_colors() { diff --git a/shell/plugins/menu/Menu.qml b/shell/plugins/menu/Menu.qml index 81157dc..816c416 100644 --- a/shell/plugins/menu/Menu.qml +++ b/shell/plugins/menu/Menu.qml @@ -1243,6 +1243,7 @@ Item { font.family: row.iconFont.length > 0 ? row.iconFont : root.fontFamily font.pixelSize: Style.font.iconLarge width: Style.space(36) + elide: Text.ElideRight horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter anchors.left: parent.left