hypr setup: hello hyprmod & noctalia; goodbye hyprltm
This commit is contained in:
@@ -3,10 +3,7 @@
|
|||||||
#
|
#
|
||||||
# Wayland compositor, screenshot tool and supporting utilities. The desktop
|
# Wayland compositor, screenshot tool and supporting utilities. The desktop
|
||||||
# shell (bar, launcher, notifications, lock screen, wallpaper, idle, session
|
# shell (bar, launcher, notifications, lock screen, wallpaper, idle, session
|
||||||
# menu) is Noctalia (`sudo pacman -S noctalia`), not a set of standalone
|
# menu) is Noctalia, not a set of standalone ecosystem tools.
|
||||||
# ecosystem tools.
|
|
||||||
# `hyprltm` (network manager) is installed via a post-install hook in
|
|
||||||
# setup.sh since it is not available as a standard pacman/aur package.
|
|
||||||
#
|
#
|
||||||
# - Lines starting with '#' and blank lines are ignored.
|
# - Lines starting with '#' and blank lines are ignored.
|
||||||
# - Use "@pacman", "@aur" or "@npm" markers to switch section.
|
# - Use "@pacman", "@aur" or "@npm" markers to switch section.
|
||||||
@@ -22,3 +19,7 @@ wev
|
|||||||
wl-clipboard
|
wl-clipboard
|
||||||
hyprshot
|
hyprshot
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
noctalia
|
||||||
|
|
||||||
|
@aur
|
||||||
|
hyprmod
|
||||||
|
|||||||
@@ -57,31 +57,6 @@ install_npm() {
|
|||||||
fi
|
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.
|
# Post-install: run Hyprland environment & desktop integration scripts.
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
@@ -109,8 +84,6 @@ main() {
|
|||||||
install_aur
|
install_aur
|
||||||
install_npm
|
install_npm
|
||||||
|
|
||||||
install_hyprltm
|
|
||||||
add_fish_local_bin_path
|
|
||||||
run_hypr_scripts
|
run_hypr_scripts
|
||||||
|
|
||||||
echo "Fertig. Hyprland und das Compositor-Okosystem sind eingerichtet."
|
echo "Fertig. Hyprland und das Compositor-Okosystem sind eingerichtet."
|
||||||
|
|||||||
Reference in New Issue
Block a user