Skip to content

Commit

Permalink
wayland: fix showing pi-apps application icons in topbar on some DEs
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Oct 11, 2023
1 parent d0c4bb9 commit f34e909
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions etc/runonce-entries
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,11 @@ cp -f ~/.local/share/applications/pi-apps.desktop ~/Desktop/
chmod 755 ~/Desktop/pi-apps.desktop
gio set ~/Desktop/pi-apps.desktop "metadata::trusted" yes
#copy icon to local icons directory (necessary on some wayland DEs like on PiOS Wayfire)
mkdir -p ~/.local/share/icons
cp -f ${DIRECTORY}/icons/logo.png ~/.local/share/icons/pi-apps.png
cp -f ${DIRECTORY}/icons/settings.png ~/.local/share/icons/pi-apps-settings.png
#settings menu button
echo "Updating Settings menu button..."
echo "[Desktop Entry]
Expand Down
5 changes: 5 additions & 0 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ cp -f ~/.local/share/applications/pi-apps.desktop ~/Desktop/
chmod 755 ~/Desktop/pi-apps.desktop
gio set ~/Desktop/pi-apps.desktop "metadata::trusted" yes

#copy icon to local icons directory (necessary on some wayland DEs like on PiOS Wayfire)
mkdir -p ~/.local/share/icons
cp -f ${DIRECTORY}/icons/logo.png ~/.local/share/icons/pi-apps.png
cp -f ${DIRECTORY}/icons/settings.png ~/.local/share/icons/pi-apps-settings.png

#settings menu button
if [ ! -f ~/.local/share/applications/pi-apps-settings.desktop ];then
echo "Creating Settings menu button..."
Expand Down

0 comments on commit f34e909

Please sign in to comment.