mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Use dua for disk usage (#6052)
This commit is contained in:
@@ -26,7 +26,7 @@ docker-buildx
|
||||
docker-compose
|
||||
dosfstools
|
||||
dotnet-runtime-9.0
|
||||
dust
|
||||
dua-cli
|
||||
evince
|
||||
exfatprogs
|
||||
expac
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
ICON_DIR="$HOME/.local/share/applications/icons"
|
||||
|
||||
omarchy-tui-install "Disk Usage" "bash -c 'dust -r; read -n 1 -s'" float "$ICON_DIR/Disk Usage.png"
|
||||
omarchy-tui-install "Disk Usage" "dua i" float "$ICON_DIR/Disk Usage.png"
|
||||
omarchy-tui-install "Docker" "lazydocker" tile "$ICON_DIR/Docker.png"
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
echo "Use dua for Disk Usage TUI"
|
||||
|
||||
omarchy-pkg-add dua-cli
|
||||
omarchy-pkg-drop dust
|
||||
|
||||
APP_DIR="$HOME/.local/share/applications"
|
||||
ICON_DIR="$APP_DIR/icons"
|
||||
|
||||
if [ -f "$APP_DIR/Disk Usage.desktop" ]; then
|
||||
rm "$APP_DIR/Disk Usage.desktop"
|
||||
omarchy-tui-install "Disk Usage" "dua i" float "$ICON_DIR/Disk Usage.png"
|
||||
fi
|
||||
Reference in New Issue
Block a user