diff --git a/applications/Basecamp.desktop b/applications/Basecamp.desktop new file mode 100644 index 0000000..3f3ae1b --- /dev/null +++ b/applications/Basecamp.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=Basecamp +Comment=Basecamp Project Management +Exec=google-chrome-stable --new-window --ozone-platform=wayland --app="https://launchpad.37signals.com" --name=Basecamp --class=Basecamp +Terminal=false +Type=Application +Icon=Basecamp +Categories=GTK; +MimeType=text/html;text/xml;application/xhtml_xml; +StartupNotify=true diff --git a/applications/HEY.desktop b/applications/HEY.desktop new file mode 100644 index 0000000..dfe8e5a --- /dev/null +++ b/applications/HEY.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Name=HEY +Comment=HEY Email + Calendar +Exec=google-chrome-stable --new-window --ozone-platform=wayland --app="https://app.hey.com" --name=HEY --class=HEY +Terminal=false +Type=Application +Icon=HEY +Categories=GTK; +MimeType=text/html;text/xml;application/xhtml_xml; +StartupNotify=true + diff --git a/applications/icons/Basecamp.png b/applications/icons/Basecamp.png new file mode 100644 index 0000000..3edec48 Binary files /dev/null and b/applications/icons/Basecamp.png differ diff --git a/applications/icons/HEY.png b/applications/icons/HEY.png new file mode 100644 index 0000000..3ac92d9 Binary files /dev/null and b/applications/icons/HEY.png differ diff --git a/applications/icons/index.theme b/applications/icons/index.theme new file mode 100644 index 0000000..a06e187 --- /dev/null +++ b/applications/icons/index.theme @@ -0,0 +1,9 @@ +[Icon Theme] +Name=User Icons +Comment=User-local icon theme +Directories=48x48/apps + +[48x48/apps] +Size=48 +Context=Apps +Type=Fixed diff --git a/bin/omarchy-sync-applications b/bin/omarchy-sync-applications index ce0bb79..c35594c 100755 --- a/bin/omarchy-sync-applications +++ b/bin/omarchy-sync-applications @@ -1,3 +1,14 @@ #!/bin/bash -cp ~/.local/share/omarchy/applications/* ~/.local/share/applications/ +# Ensure necessary directories are present +mkdir -p ~/.local/share/icons/hicolor/48x48/apps/ +mkdir -p ~/.local/share/applications/ + +# Copy and sync icon files +cp ~/.local/share/omarchy/applications/icons/*.png ~/.local/share/icons/hicolor/48x48/apps/ +cp ~/.local/share/omarchy/applications/icons/index.theme ~/.local/share/icons/hicolor/ +gtk-update-icon-cache ~/.local/share/icons/hicolor + +# Copy .desktop declarations +cp ~/.local/share/omarchy/applications/*.desktop ~/.local/share/applications/ +update-desktop-database ~/.local/share/applications