Skip to content

Commit

Permalink
Update mate-hud icon with one that is Yaru style
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Sep 22, 2022
1 parent eb6d1d9 commit 6198062
Show file tree
Hide file tree
Showing 21 changed files with 6 additions and 150 deletions.
6 changes: 4 additions & 2 deletions gen_icons.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

dir="$( dirname "$(readlink -f "$0")" )"

Expand All @@ -7,7 +7,7 @@ if [ ! -f "${dir}"/usr/share/pixmaps/mate-hud.svg ] ; then
exit 1
fi

if [ ! `which inkscape 2>/dev/null` ] ; then
if ! which inkscape 2>/dev/null; then
echo "inkscape required to convert svg to png"
exit 1
fi
Expand All @@ -18,13 +18,15 @@ for d in 16 22 24 32 48 64 128 256 512 1024; do
install -dm755 "${dir}"/usr/share/icons/hicolor/${d}x${d}/apps
inkscape -w ${d} -h ${d} "${dir}"/usr/share/pixmaps/mate-hud.svg \
-o "${dir}"/usr/share/icons/hicolor/${d}x${d}/apps/mate-hud.png
optipng -strip all -o7 "${dir}"/usr/share/icons/hicolor/${d}x${d}/apps/mate-hud.png
done

for d in 16 22 24 32 48 64 128 256; do
d2=$(( $d * 2 ))
install -dm755 "${dir}"/usr/share/icons/hicolor/${d}x${d}@2/apps
inkscape -w ${d2} -h ${d2} "${dir}"/usr/share/pixmaps/mate-hud.svg \
-o "${dir}"/usr/share/icons/hicolor/${d}x${d}@2/apps/mate-hud.png
optipng -strip all -o7 "${dir}"/usr/share/icons/hicolor/${d}x${d}@2/apps/mate-hud.png
done

install -Dm644 "${dir}"/usr/share/pixmaps/mate-hud.svg \
Expand Down
Binary file modified usr/share/icons/hicolor/1024x1024/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/128x128/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/128x128@2/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/16x16/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/16x16@2/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/22x22/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/22x22@2/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/24x24/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/24x24@2/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/256x256/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/256x256@2/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/32x32/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/32x32@2/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/48x48/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/48x48@2/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/512x512/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/64x64/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified usr/share/icons/hicolor/64x64@2/apps/mate-hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
75 changes: 1 addition & 74 deletions usr/share/icons/hicolor/scalable/apps/mate-hud.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6198062

Please sign in to comment.