#!/bin/bash

# gnomecolors libre script by telur @ Parabola GNU/Linux Libre forum > GPL3+
# this script removes nonfree icons found in gnomecolors icon theme of course!
# navigate and execute this script inside extracted pcr/gnome-colors-icon-theme 5.5.1-3 folder
# also work for gnome colors extra

echo "begin removing icon..."

# gnome colors
# fedora
rm ./usr/share/icons/gnome-colors-common/scalable/apps/fedora-logo-icon.svg
rm ./usr/share/icons/gnome-colors-common/scalable/apps/fedora-logo-sprite.svg
rm ./usr/share/icons/gnome-colors-common/24x24/apps/fedora-logo-icon.png
rm ./usr/share/icons/gnome-colors-common/24x24/apps/fedora-logo-sprite.png
rm ./usr/share/icons/gnome-colors-common/16x16/apps/fedora-logo-icon.png
rm ./usr/share/icons/gnome-colors-common/16x16/apps/fedora-logo-sprite.png
rm ./usr/share/icons/gnome-colors-common/22x22/apps/fedora-logo-icon.png
rm ./usr/share/icons/gnome-colors-common/22x22/apps/fedora-logo-sprite.png
rm ./usr/share/icons/gnome-colors-common/32x32/apps/fedora-logo-icon.png
rm ./usr/share/icons/gnome-colors-common/32x32/apps/fedora-logo-sprite.png
# redhat
rm ./usr/share/icons/gnome-brave/scalable/places/redhat-system-group.svg
rm ./usr/share/icons/gnome-brave/scalable/apps/redhat-filemanager.svg
rm ./usr/share/icons/gnome-brave/24x24/places/redhat-system-group.png
rm ./usr/share/icons/gnome-brave/24x24/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-brave/16x16/places/redhat-system-group.png
rm ./usr/share/icons/gnome-brave/16x16/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-brave/22x22/places/redhat-system-group.png
rm ./usr/share/icons/gnome-brave/22x22/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-brave/32x32/places/redhat-system-group.png
rm ./usr/share/icons/gnome-brave/32x32/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-human/scalable/places/redhat-system-group.svg
rm ./usr/share/icons/gnome-human/scalable/apps/redhat-filemanager.svg
rm ./usr/share/icons/gnome-human/24x24/places/redhat-system-group.png
rm ./usr/share/icons/gnome-human/24x24/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-human/16x16/places/redhat-system-group.png
rm ./usr/share/icons/gnome-human/16x16/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-human/22x22/places/redhat-system-group.png
rm ./usr/share/icons/gnome-human/22x22/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-human/32x32/places/redhat-system-group.png
rm ./usr/share/icons/gnome-human/32x32/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-wise/scalable/places/redhat-system-group.svg
rm ./usr/share/icons/gnome-wise/scalable/apps/redhat-filemanager.svg
rm ./usr/share/icons/gnome-wise/24x24/places/redhat-system-group.png
rm ./usr/share/icons/gnome-wise/24x24/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-wise/16x16/places/redhat-system-group.png
rm ./usr/share/icons/gnome-wise/16x16/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-wise/22x22/places/redhat-system-group.png
rm ./usr/share/icons/gnome-wise/22x22/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-wise/32x32/places/redhat-system-group.png
rm ./usr/share/icons/gnome-wise/32x32/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-illustrious/scalable/places/redhat-system-group.svg
rm ./usr/share/icons/gnome-illustrious/scalable/apps/redhat-filemanager.svg
rm ./usr/share/icons/gnome-illustrious/24x24/places/redhat-system-group.png
rm ./usr/share/icons/gnome-illustrious/24x24/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-illustrious/16x16/places/redhat-system-group.png
rm ./usr/share/icons/gnome-illustrious/16x16/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-illustrious/22x22/places/redhat-system-group.png
rm ./usr/share/icons/gnome-illustrious/22x22/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-illustrious/32x32/places/redhat-system-group.png
rm ./usr/share/icons/gnome-illustrious/32x32/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-dust/scalable/places/redhat-system-group.svg
rm ./usr/share/icons/gnome-dust/scalable/apps/redhat-filemanager.svg
rm ./usr/share/icons/gnome-dust/24x24/places/redhat-system-group.png
rm ./usr/share/icons/gnome-dust/24x24/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-dust/16x16/places/redhat-system-group.png
rm ./usr/share/icons/gnome-dust/16x16/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-dust/22x22/places/redhat-system-group.png
rm ./usr/share/icons/gnome-dust/22x22/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-dust/32x32/places/redhat-system-group.png
rm ./usr/share/icons/gnome-dust/32x32/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-colors-common/scalable/places/redhat-network-server.svg
rm ./usr/share/icons/gnome-colors-common/scalable/apps/redhat-email.svg
rm ./usr/share/icons/gnome-colors-common/scalable/categories/redhat-programming.svg
rm ./usr/share/icons/gnome-colors-common/scalable/categories/redhat-accessories.svg
rm ./usr/share/icons/gnome-colors-common/scalable/categories/redhat-tools.svg
rm ./usr/share/icons/gnome-colors-common/scalable/categories/redhat-server_settings.svg
rm ./usr/share/icons/gnome-colors-common/scalable/categories/redhat-office.svg
rm ./usr/share/icons/gnome-colors-common/scalable/categories/redhat-system_settings.svg
rm ./usr/share/icons/gnome-colors-common/scalable/categories/redhat-internet.svg
rm ./usr/share/icons/gnome-colors-common/scalable/categories/redhat-sound_video.svg
rm ./usr/share/icons/gnome-colors-common/scalable/categories/redhat-system_tools.svg
rm ./usr/share/icons/gnome-colors-common/scalable/categories/redhat-preferences.svg
rm ./usr/share/icons/gnome-colors-common/scalable/categories/redhat-games.svg
rm ./usr/share/icons/gnome-colors-common/scalable/actions/redhat-home.svg
rm ./usr/share/icons/gnome-colors-common/24x24/places/redhat-network-server.png
rm ./usr/share/icons/gnome-colors-common/24x24/apps/redhat-email.png
rm ./usr/share/icons/gnome-colors-common/24x24/categories/redhat-system_tools.png
rm ./usr/share/icons/gnome-colors-common/24x24/categories/redhat-sound_video.png
rm ./usr/share/icons/gnome-colors-common/24x24/categories/redhat-programming.png
rm ./usr/share/icons/gnome-colors-common/24x24/categories/redhat-office.png
rm ./usr/share/icons/gnome-colors-common/24x24/categories/redhat-games.png
rm ./usr/share/icons/gnome-colors-common/24x24/categories/redhat-system_settings.png
rm ./usr/share/icons/gnome-colors-common/24x24/categories/redhat-server_settings.png
rm ./usr/share/icons/gnome-colors-common/24x24/categories/redhat-internet.png
rm ./usr/share/icons/gnome-colors-common/24x24/categories/redhat-preferences.png
rm ./usr/share/icons/gnome-colors-common/24x24/categories/redhat-accessories.png
rm ./usr/share/icons/gnome-colors-common/24x24/categories/redhat-tools.png
rm ./usr/share/icons/gnome-colors-common/24x24/actions/redhat-home.png
rm ./usr/share/icons/gnome-colors-common/16x16/places/redhat-network-server.png
rm ./usr/share/icons/gnome-colors-common/16x16/apps/redhat-email.png
rm ./usr/share/icons/gnome-colors-common/16x16/categories/redhat-system_tools.png
rm ./usr/share/icons/gnome-colors-common/16x16/categories/redhat-sound_video.png
rm ./usr/share/icons/gnome-colors-common/16x16/categories/redhat-programming.png
rm ./usr/share/icons/gnome-colors-common/16x16/categories/redhat-office.png
rm ./usr/share/icons/gnome-colors-common/16x16/categories/redhat-games.png
rm ./usr/share/icons/gnome-colors-common/16x16/categories/redhat-system_settings.png
rm ./usr/share/icons/gnome-colors-common/16x16/categories/redhat-server_settings.png
rm ./usr/share/icons/gnome-colors-common/16x16/categories/redhat-internet.png
rm ./usr/share/icons/gnome-colors-common/16x16/categories/redhat-preferences.png
rm ./usr/share/icons/gnome-colors-common/16x16/categories/redhat-accessories.png
rm ./usr/share/icons/gnome-colors-common/16x16/categories/redhat-tools.png
rm ./usr/share/icons/gnome-colors-common/16x16/actions/redhat-home.png
rm ./usr/share/icons/gnome-colors-common/22x22/places/redhat-network-server.png
rm ./usr/share/icons/gnome-colors-common/22x22/apps/redhat-email.png
rm ./usr/share/icons/gnome-colors-common/22x22/categories/redhat-system_tools.png
rm ./usr/share/icons/gnome-colors-common/22x22/categories/redhat-sound_video.png
rm ./usr/share/icons/gnome-colors-common/22x22/categories/redhat-programming.png
rm ./usr/share/icons/gnome-colors-common/22x22/categories/redhat-office.png
rm ./usr/share/icons/gnome-colors-common/22x22/categories/redhat-games.png
rm ./usr/share/icons/gnome-colors-common/22x22/categories/redhat-system_settings.png
rm ./usr/share/icons/gnome-colors-common/22x22/categories/redhat-server_settings.png
rm ./usr/share/icons/gnome-colors-common/22x22/categories/redhat-internet.png
rm ./usr/share/icons/gnome-colors-common/22x22/categories/redhat-preferences.png
rm ./usr/share/icons/gnome-colors-common/22x22/categories/redhat-accessories.png
rm ./usr/share/icons/gnome-colors-common/22x22/categories/redhat-tools.png
rm ./usr/share/icons/gnome-colors-common/22x22/actions/redhat-home.png
rm ./usr/share/icons/gnome-colors-common/32x32/places/redhat-network-server.png
rm ./usr/share/icons/gnome-colors-common/32x32/apps/redhat-email.png
rm ./usr/share/icons/gnome-colors-common/32x32/categories/redhat-system_tools.png
rm ./usr/share/icons/gnome-colors-common/32x32/categories/redhat-sound_video.png
rm ./usr/share/icons/gnome-colors-common/32x32/categories/redhat-programming.png
rm ./usr/share/icons/gnome-colors-common/32x32/categories/redhat-office.png
rm ./usr/share/icons/gnome-colors-common/32x32/categories/redhat-games.png
rm ./usr/share/icons/gnome-colors-common/32x32/categories/redhat-system_settings.png
rm ./usr/share/icons/gnome-colors-common/32x32/categories/redhat-server_settings.png
rm ./usr/share/icons/gnome-colors-common/32x32/categories/redhat-internet.png
rm ./usr/share/icons/gnome-colors-common/32x32/categories/redhat-preferences.png
rm ./usr/share/icons/gnome-colors-common/32x32/categories/redhat-accessories.png
rm ./usr/share/icons/gnome-colors-common/32x32/categories/redhat-tools.png
rm ./usr/share/icons/gnome-colors-common/32x32/actions/redhat-home.png
rm ./usr/share/icons/gnome-noble/scalable/places/redhat-system-group.svg
rm ./usr/share/icons/gnome-noble/scalable/apps/redhat-filemanager.svg
rm ./usr/share/icons/gnome-noble/24x24/places/redhat-system-group.png
rm ./usr/share/icons/gnome-noble/24x24/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-noble/16x16/places/redhat-system-group.png
rm ./usr/share/icons/gnome-noble/16x16/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-noble/22x22/places/redhat-system-group.png
rm ./usr/share/icons/gnome-noble/22x22/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-noble/32x32/places/redhat-system-group.png
rm ./usr/share/icons/gnome-noble/32x32/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-wine/scalable/places/redhat-system-group.svg
rm ./usr/share/icons/gnome-wine/scalable/apps/redhat-filemanager.svg
rm ./usr/share/icons/gnome-wine/24x24/places/redhat-system-group.png
rm ./usr/share/icons/gnome-wine/24x24/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-wine/16x16/places/redhat-system-group.png
rm ./usr/share/icons/gnome-wine/16x16/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-wine/22x22/places/redhat-system-group.png
rm ./usr/share/icons/gnome-wine/22x22/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-wine/32x32/places/redhat-system-group.png
rm ./usr/share/icons/gnome-wine/32x32/apps/redhat-filemanager.png

# gnome colors extra
rm ./usr/share/icons/gnome-carbonite/scalable/places/redhat-system-group.svg
rm ./usr/share/icons/gnome-carbonite/scalable/apps/redhat-filemanager.svg
rm ./usr/share/icons/gnome-carbonite/24x24/places/redhat-system-group.png
rm ./usr/share/icons/gnome-carbonite/24x24/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-carbonite/16x16/places/redhat-system-group.png
rm ./usr/share/icons/gnome-carbonite/16x16/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-carbonite/22x22/places/redhat-system-group.png
rm ./usr/share/icons/gnome-carbonite/22x22/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-carbonite/32x32/places/redhat-system-group.png
rm ./usr/share/icons/gnome-carbonite/32x32/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-tribute/scalable/places/redhat-system-group.svg
rm ./usr/share/icons/gnome-tribute/scalable/apps/redhat-filemanager.svg
rm ./usr/share/icons/gnome-tribute/24x24/places/redhat-system-group.png
rm ./usr/share/icons/gnome-tribute/24x24/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-tribute/16x16/places/redhat-system-group.png
rm ./usr/share/icons/gnome-tribute/16x16/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-tribute/22x22/places/redhat-system-group.png
rm ./usr/share/icons/gnome-tribute/22x22/apps/redhat-filemanager.png
rm ./usr/share/icons/gnome-tribute/32x32/places/redhat-system-group.png
rm ./usr/share/icons/gnome-tribute/32x32/apps/redhat-filemanager.png

echo "done! those hat duo really great back then"
read -p "press enter"






