mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Fix syncing
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
[Icon Theme]
|
||||
Name=User Icons
|
||||
Comment=User-local icon theme
|
||||
Directories=48x48/apps
|
||||
|
||||
[48x48/apps]
|
||||
Size=48
|
||||
Context=Apps
|
||||
Type=Fixed
|
@ -1,13 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Ensure necessary directories are present
|
||||
mkdir -p ~/.local/share/icons/hicolor/48x48/apps/
|
||||
mkdir -p ~/.local/share/icons/hicolor/scalable/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
|
||||
sudo cp ~/.local/share/omarchy/applications/icons/*.png /usr/share/icons/hicolor/48x48/apps/
|
||||
sudo gtk-update-icon-cache /usr/share/icons/hicolor &>/dev/null
|
||||
|
||||
# Copy .desktop declarations
|
||||
cp ~/.local/share/omarchy/applications/*.desktop ~/.local/share/applications/
|
||||
|
Reference in New Issue
Block a user