Skip to content

Instantly share code, notes, and snippets.

@ninogresenz
ninogresenz / icons-for-chrome-apps.sh
Last active March 26, 2023 13:06
This script is setting the right icon for all installed chrome apps in KDE's app panel (Icons-only Task Manager). By default it's only showing the chrome icon which is very confusing.
#!/bin/bash
set -e
DIR="$HOME/.local/share/applications"
PATTERN="chrome-*.desktop"
echo -e "Please backup your $PATTERN files in $DIR first. \nContinue? (y/n)"
read continue_process
if [ "$continue_process" != "y" ]; then