hypr setup: hello hyprmod & noctalia; goodbye hyprltm

This commit is contained in:
2026-09-22 23:24:08 +02:00
parent 4d9b3f99ac
commit a5eab1dda0
2 changed files with 5 additions and 31 deletions
-27
View File
@@ -57,31 +57,6 @@ install_npm() {
fi
}
# ---------------------------------------------------------------------------
# Post-install: hyprltm (network manager) via upstream script.
# ---------------------------------------------------------------------------
install_hyprltm() {
if command -v hyprltm >/dev/null 2>&1; then
echo "hyprltm bereits installiert; fahre fort."
return
fi
echo "Installiere hyprltm (Network Manager) ..."
curl -s https://raw.githubusercontent.com/hyprltm/hyprltm-net/main/setup.sh | bash
}
# ---------------------------------------------------------------------------
# Post-install: ensure fish PATH includes ~/.local/bin (for hyprltm).
# ---------------------------------------------------------------------------
add_fish_local_bin_path() {
local fish_config="$HOME/.config/fish/config.fish"
if [[ -f "$fish_config" ]] && grep -q '\$HOME/.local/bin' "$fish_config"; then
echo "fish ~/.local/bin PATH bereits gesetzt; fahre fort."
return
fi
echo "Fuege ~/.local/bin zum fish-PATH hinzu ..."
echo 'fish_add_path -m $HOME/.local/bin' >> "$fish_config"
}
# ---------------------------------------------------------------------------
# Post-install: run Hyprland environment & desktop integration scripts.
# ---------------------------------------------------------------------------
@@ -109,8 +84,6 @@ main() {
install_aur
install_npm
install_hyprltm
add_fish_local_bin_path
run_hypr_scripts
echo "Fertig. Hyprland und das Compositor-Okosystem sind eingerichtet."