Updated Makefile to download desktop patterns

This commit is contained in:
Morgan Aldridge 2019-07-26 22:12:54 -04:00
parent d0d7f893fa
commit c8de3cf15f
2 changed files with 11 additions and 2 deletions

View File

@ -2,6 +2,8 @@ InitFunction
# Set the root window (i.e. desktop) background color (or image)
Exec "xsetroot" xsetroot -grey &
# Exec "xsetroot" xsetroot -solid darkgrey &
# Exec "xsetbg" xsetbg -fullscreen ~/.mlvwm/patterns/mac-os-background.jpg
# Exec "xsetbg" xsetbg ~/.mlvwm/patterns/mac-os-default.png
# Launch Xterm on the first desktop (i.e. screen)
Desk 0

View File

@ -1,14 +1,20 @@
TEMP=tmp
CONF=.mlvwm
PIXMAP=$(CONF)/pixmap
PATTERNS=$(CONF)/patterns
all: pixmap
all: pixmap patterns
pixmap:
test ! -d $(TEMP) && mkdir $(TEMP)
curl -# -L http://www2u.biglobe.ne.jp/~y-miyata/mlvwm/mini-icons.tar.gz -o $(TEMP)/mini-icons.tar.gz
tar -C $(PIXMAP) -xzf $(TEMP)/mini-icons.tar.gz
patterns:
test ! -d $(PATTERNS) && mkdir $(PATTERNS)
curl -# -L https://forums.macrumors.com/attachments/mac-os-background-jpg.61609 -o $(PATTERNS)/mac-os-background.jpg
curl -# -L https://forums.macrumors.com/attachments/mac-os-default-png.61610 -o $(PATTERNS)/mac-os-default.png
install:
cp -R $(CONF) $(HOME)/
ln -fs $(HOME)/$(CONF)/.mlvwmrc $(HOME)/.mlvwmrc
@ -16,4 +22,5 @@ install:
clean:
rm -r $(TEMP)
rm -r $(PIXMAP)/mini*.xpm
rm -r $(PIXMAP)/mini*.xpm
rm -rf $(PATTERNS)