HiDPI and fonts

This commit is contained in:
2021-05-16 12:43:18 +01:00
parent eaa1f41744
commit 63b0af4617
11 changed files with 32 additions and 18 deletions

View File

@@ -16,9 +16,11 @@ case "$(file --mime-type -b "$trueloc")" in
*) notify-send "Error" "Not a valid image." ; exit 1;;
esac
[ -z "$trueloc" ] && trueloc="$(readlink -f "$bgloc")"
# If pywal is installed, use it.
command -v wal >/dev/null 2>&1 &&
wal -i "$trueloc" -n -o "${XDG_CONFIG_HOME:-$HOME/.config}/wal/postrun" >/dev/null 2>&1 &&
pidof dwm >/dev/null && xdotool key super+F12
dwmc xrdb
xwallpaper --zoom "$bgloc"