* Switched to Firefox * Midori was crashing too often * Rewrote the wallpaper code * Should fix issue where no wallpaper was shown if running from UFD * The pacman mirrorlist is now a static list. * This needs manually updated at build-time Cleanup * Disabled console screen blanking * Fixed typo preventing aliases from loading correctly * mount-all-volumes now removes /media/hhtech properly * Removed leftover netctl files * Removed leftover nodm BREAKING: Moved config files back inside UFD/arch instead of UFD/config
26 lines
718 B
Bash
26 lines
718 B
Bash
#!/bin/bash
|
|
|
|
BOOT_PATH="/run/archiso/bootmnt/arch/"
|
|
BURNED_IN="/usr/share/wallpaper/burned.in"
|
|
WALLPAPER="$HOME/.wallpaper.png"
|
|
|
|
function link_wall() {
|
|
sudo rm "$WALLPAPER"
|
|
sudo ln -s "$1" "$WALLPAPER"
|
|
}
|
|
|
|
# Check for wallpaper
|
|
## Checks BOOT_PATH and uses the BURNED_IN file if nothing is found
|
|
for f in "$BOOT_PATH"/{Arch,arch}.{jpg,png} "$BURNED_IN"; do
|
|
if [[ -f "$f" ]]; then
|
|
link_wall "$f"
|
|
break
|
|
fi
|
|
done
|
|
|
|
# Update Xfce4 (mostly redundant, but will catch multi-display setups)
|
|
for monitor in monitor{0..2}; do
|
|
for workspace in workspace{0..3}; do
|
|
xfconf-query -c xfce4-desktop -p /backdrop/screen0/$monitor/$workspace/last-image -s "$WALLPAPER" 2>/dev/null
|
|
done
|
|
done
|