birdwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8d578a7b705ab52be970296ac566130e4ae902dd
parent 44aa9c26a6fac3eeeb880911ac9a88e4ca68945d
Author: bdmfegys@duck.com <bdmfegys@duck.com>
Date:   Sun, 19 May 2024 13:13:35 -0400

config.mk: simplify XDG_PICTURES definition; remove if statement

Diffstat:
Mconfig.mk | 10+++-------
1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/config.mk b/config.mk @@ -16,13 +16,9 @@ XINERAMALIBS = -lXinerama XINERAMAFLAGS = -DXINERAMA # Wallpaper folder location, for wallpaper script: -ifeq (${XDG_PICTURES}, $(shell false)) - WALLPAPERDIR = Pictures/wallpapers - GIFDIR = ${WALLPAPERDIR}/gif -else - WALLPAPERDIR = ${XDG_PICTURES}/wallpapers - GIFDIR = ${WALLPAPERDIR}/gif -endif +XDG_PICTURES ?= ${HOME}/Pictures +WALLPAPERDIR = ${XDG_PICTURES}/wallpapers +GIFDIR = ${WALLPAPERDIR}/gif # freetype FREETYPELIBS = -lfontconfig -lXft