Ref: Ersetzt Firefox durch Waterfox
This commit is contained in:
parent
832cf2f197
commit
193cbd7abb
16
Setup/6_Polish.sh
Executable file → Normal file
16
Setup/6_Polish.sh
Executable file → Normal file
@ -15,17 +15,13 @@ sudo ufw enable
|
|||||||
# Flatpak Flathub-Repo hinzufügen
|
# Flatpak Flathub-Repo hinzufügen
|
||||||
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
|
|
||||||
# Firefox-Installation
|
# Waterfox-Installation
|
||||||
echo "🌍 Firefox wird installiert..."
|
echo "🌍 Waterfox wird installiert..."
|
||||||
sudo install -d -m 0755 /etc/apt/keyrings
|
sudo install -d -m 0755 /etc/apt/keyrings
|
||||||
wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O /tmp/packages.mozilla.org.asc
|
curl -fsSL https://download.opensuse.org/repositories/home:hawkeye116477:waterfox/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_hawkeye116477_waterfox.gpg > /dev/null
|
||||||
gpg --dearmor </tmp/packages.mozilla.org.asc | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc >/dev/null
|
echo 'deb https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/home:hawkeye116477:waterfox.list
|
||||||
rm /tmp/packages.mozilla.org.asc
|
|
||||||
|
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" | sudo tee /etc/apt/sources.list.d/mozilla.list >/dev/null
|
sudo apt update && sudo apt install -y waterfox-g
|
||||||
echo -e 'Package: *\nPin: origin packages.mozilla.org\nPin-Priority: 1000' | sudo tee /etc/apt/preferences.d/mozilla >/dev/null
|
|
||||||
|
|
||||||
sudo apt update && sudo apt install -y firefox
|
|
||||||
|
|
||||||
# Hyprland User Bindings
|
# Hyprland User Bindings
|
||||||
HYPR_CONFIG_DIR="$HOME/.config/hypr/UserConfigs"
|
HYPR_CONFIG_DIR="$HOME/.config/hypr/UserConfigs"
|
||||||
@ -39,7 +35,7 @@ declare -A KEYBINDS=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
for BIND in "${!KEYBINDS[@]}"; do
|
for BIND in "${!KEYBINDS[@]}"; do
|
||||||
if ! grep -Fxq "$BIND" "$HYPR_CONFIG_DIR/UserKeybinds.conf" 2 >/dev/null; then
|
if ! grep -Fxq "$BIND" "$HYPR_CONFIG_DIR/UserKeybinds.conf" 2>/dev/null; then
|
||||||
echo "$BIND # ${KEYBINDS[$BIND]}" >>"$HYPR_CONFIG_DIR/UserKeybinds.conf"
|
echo "$BIND # ${KEYBINDS[$BIND]}" >>"$HYPR_CONFIG_DIR/UserKeybinds.conf"
|
||||||
echo "✅ Keybind hinzugefügt: ${KEYBINDS[$BIND]}"
|
echo "✅ Keybind hinzugefügt: ${KEYBINDS[$BIND]}"
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user