Update 2 files

- /home/dot_local/bin/executable_open
- /home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl
This commit is contained in:
Brian Zalewski 2023-01-12 16:33:25 +00:00
parent b273a3892e
commit d70e237511
2 changed files with 9 additions and 4 deletions

View file

@ -50,18 +50,21 @@ SOURCE_DIR="/usr/local/share/icons/Candy/apps/scalable"
TARGET_DIR="/usr/local/share/icons/Candy/apps/scalable"
if [ -d "$SOURCE_DIR" ] && [ -d "$TARGET_DIR" ]; then
logg info 'Adding similar substitutes for some apps in the Candy icons theme'
if [ -f "$SOURCE_DIR/youtube-dl-gui.svg" ]; then
if [ -f "$SOURCE_DIR/youtube-dl-gui.svg" ] && [ ! -f "$TARGET_DIR/com.github.Johnn3y.Forklift.svg" ]; then
sudo cp -f "$SOURCE_DIR/youtube-dl-gui.svg" "$TARGET_DIR/com.github.Johnn3y.Forklift.svg"
fi
if [ -f "$SOURCE_DIR/rdm.svg" ]; then
if [ -f "$SOURCE_DIR/rdm.svg" ] && [ ! -f "$TARGET_DIR/app.resp.RESP.svg" ]; then
sudo cp -f "$SOURCE_DIR/rdm.svg" "$TARGET_DIR/app.resp.RESP.svg"
fi
if [ -f "$SOURCE_DIR/preferences-system-power.svg" ]; then
if [ -f "$SOURCE_DIR/preferences-system-power.svg" ] && [ ! -f "$TARGET_DIR/org.gnome.PowerStats.svg" ]; then
sudo cp -f "$SOURCE_DIR/preferences-system-power.svg" "$TARGET_DIR/org.gnome.PowerStats.svg"
fi
if [ -f "$SOURCE_DIR/software-store.svg" ]; then
if [ -f "$SOURCE_DIR/software-store.svg" ] && [ ! -f "$TARGET_DIR/software-properties-gtk.svg" ]; then
sudo cp -f "$SOURCE_DIR/software-store.svg" "$TARGET_DIR/software-properties-gtk.svg"
fi
if [ -f "$SOURCE_DIR/preferences-desktop-remote-desktop.svg" ] && [ ! -f "$TARGET_DIR/org.gnome.Connections.svg" ]; then
sudo cp -f "$SOURCE_DIR/preferences-desktop-remote-desktop.svg" "$TARGET_DIR/org.gnome.Connections.svg"
fi
fi
### Icons added to fork (https://github.com/ProfessorManhattan/candy-icons)

View file

@ -9,6 +9,8 @@
# It is used to handle cross-VM links when Gas Station is used to provision [Qubes](https://www.qubes-os.org/).
# When called with -d, the default program is used.
# TODO Add support for opening .desktop files with gtk-launch (i.e. `gtk-launch my-app.desktop`)
# Default to system open executable on macOS
if [ -d /Applications ] && [ -d /Library ]; then
/usr/bin/open "$*" && exit 0