Для интерактивных панелей
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
mos-panel-desktop/kometa-panel-desktop/PlasmaFavorites.filetrigger

5 lines
307 B

#!/bin/sh
f=/usr/share/kf5/plasma/plasmoids/org.kde.plasma.kicker/contents/config/main.xml
if ! grep -q "$f"; then exit 0; fi
orig_line="$(xml_grep --cond "[@name='favoriteApps']" "$f" | grep -oPm1 "(?<=<default>)[^<]+")"
sed -i'.rpmsave' -e "s@${orig_line}@org.kde.dolphin.desktop,chromium.desktop@g" "$f"