Stop the theme menu drawing theme names in the icon cell
This commit is contained in:
+3
-3
@@ -21,7 +21,7 @@ current_mode() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
list_theme_rows() {
|
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
|
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
|
[ -f "$theme_dir/colors.toml" ] || continue
|
||||||
slug=$(basename "$theme_dir")
|
slug=$(basename "$theme_dir")
|
||||||
[ "$slug" = "blob-dynamic" ] && continue
|
[ "$slug" = "blob-dynamic" ] && continue
|
||||||
printf '%s\t%s\n' "$(prettify "$slug")" "$slug"
|
printf '\t%s\t%s\n' "$(prettify "$slug")" "$slug"
|
||||||
done | sort -u -t$'\t' -k2,2
|
done | sort -u -t$'\t' -k3,3
|
||||||
}
|
}
|
||||||
|
|
||||||
print_current_colors() {
|
print_current_colors() {
|
||||||
|
|||||||
@@ -1243,6 +1243,7 @@ Item {
|
|||||||
font.family: row.iconFont.length > 0 ? row.iconFont : root.fontFamily
|
font.family: row.iconFont.length > 0 ? row.iconFont : root.fontFamily
|
||||||
font.pixelSize: Style.font.iconLarge
|
font.pixelSize: Style.font.iconLarge
|
||||||
width: Style.space(36)
|
width: Style.space(36)
|
||||||
|
elide: Text.ElideRight
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
|||||||
Reference in New Issue
Block a user