mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Merge pull request #1845 from djordje/fix-omarchy-tui-install
Fix omarchy-tui-install
This commit is contained in:
@@ -43,7 +43,7 @@ cat >"$DESKTOP_FILE" <<EOF
|
|||||||
Version=1.0
|
Version=1.0
|
||||||
Name=$APP_NAME
|
Name=$APP_NAME
|
||||||
Comment=$APP_NAME
|
Comment=$APP_NAME
|
||||||
Exec=$TERMINAL --class $APP_CLASS -e $APP_EXEC
|
Exec=\$TERMINAL --class=$APP_CLASS -e $APP_EXEC
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Icon=$ICON_PATH
|
Icon=$ICON_PATH
|
||||||
|
|||||||
17
migrations/1758436991.sh
Normal file
17
migrations/1758436991.sh
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
echo "Fix Disk Usage and Docker TUIs"
|
||||||
|
|
||||||
|
APP_DIR="$HOME/.local/share/applications"
|
||||||
|
ICON_DIR="$APP_DIR/icons"
|
||||||
|
|
||||||
|
# Don't use omarchy-tui-remove to preserve icons
|
||||||
|
|
||||||
|
if [[ -f "$APP_DIR/Docker.desktop" ]]; then
|
||||||
|
rm "$APP_DIR/Docker.desktop"
|
||||||
|
omarchy-tui-install "Docker" "lazydocker" tile "$ICON_DIR/Docker.png"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f "$APP_DIR/Disk Usage.desktop" ]]; then
|
||||||
|
rm "$APP_DIR/Disk Usage.desktop"
|
||||||
|
omarchy-tui-install "Disk Usage" "bash -c 'dust -r; read -n 1 -s'" float "$ICON_DIR/Disk Usage.png"
|
||||||
|
fi
|
||||||
|
|
||||||
Reference in New Issue
Block a user