Remove idle-battery-suspend.sh from stage 06
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# ===========================================================================
|
# ===========================================================================
|
||||||
# Stage 06: Custom Scripts (~/.local/bin/)
|
# Stage 06: Custom Scripts (~/.local/bin/)
|
||||||
# Deploys Julian's custom scripts: Bitwarden SSH loader, Zoom wrapper,
|
# Deploys Julian's custom scripts: Bitwarden SSH loader, Zoom wrapper,
|
||||||
# idle battery suspend, env PATH helper, and more.
|
# env PATH helper, and more.
|
||||||
# ===========================================================================
|
# ===========================================================================
|
||||||
# These are the "glue" scripts that make the desktop work the way Julian
|
# These are the "glue" scripts that make the desktop work the way Julian
|
||||||
# expects. They were found in ~/.local/bin/ on the Pop machine.
|
# expects. They were found in ~/.local/bin/ on the Pop machine.
|
||||||
@@ -56,16 +56,7 @@ SCRIPT
|
|||||||
ok "zoom wrapper created (default)."
|
ok "zoom wrapper created (default)."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ---- 4. idle-battery-suspend.sh — Suspend on battery after idle ----
|
# ---- 4. Bitwarden CLI (bw) ----
|
||||||
# Checks if AC is disconnected before suspending. Prevents suspend on desktop.
|
|
||||||
# Used by systemd user service or GNOME autostart.
|
|
||||||
if [ -f "$SCRIPTS_DIR/idle-battery-suspend.sh" ]; then
|
|
||||||
cp "$SCRIPTS_DIR/idle-battery-suspend.sh" "$TARGET_DIR/idle-battery-suspend.sh"
|
|
||||||
chmod +x "$TARGET_DIR/idle-battery-suspend.sh"
|
|
||||||
ok "idle-battery-suspend.sh deployed."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ---- 5. Bitwarden CLI (bw) ----
|
|
||||||
# On Pop: ~/.local/bin/bw (138 MB standalone binary)
|
# On Pop: ~/.local/bin/bw (138 MB standalone binary)
|
||||||
if ! command -v bw &>/dev/null; then
|
if ! command -v bw &>/dev/null; then
|
||||||
info "Installing Bitwarden CLI..."
|
info "Installing Bitwarden CLI..."
|
||||||
|
|||||||
Reference in New Issue
Block a user