From 379bfd8ec8627e38aff2276a87b618dc1b1b529d Mon Sep 17 00:00:00 2001 From: Morgan Aldridge Date: Fri, 28 Jul 2023 12:27:00 -0400 Subject: [PATCH] Updated Makefile to reorganize & better comment icon/pixmap downloads, plus added mpv styles --- .mlvwm/apps/.AppsManifest | 1 + .mlvwm/apps/mpv | 12 ++++++++++++ Makefile | 16 ++++++++++++---- README.md | 1 + 4 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 .mlvwm/apps/mpv diff --git a/.mlvwm/apps/.AppsManifest b/.mlvwm/apps/.AppsManifest index c102306..69c1985 100644 --- a/.mlvwm/apps/.AppsManifest +++ b/.mlvwm/apps/.AppsManifest @@ -6,6 +6,7 @@ Read .mlvwm/apps/firefox Read .mlvwm/apps/HandBrake Read .mlvwm/apps/krita Read .mlvwm/apps/meld +Read .mlvwm/apps/mpv Read .mlvwm/apps/pcmanfm Read .mlvwm/apps/remmina Read .mlvwm/apps/retroarch diff --git a/.mlvwm/apps/mpv b/.mlvwm/apps/mpv new file mode 100644 index 0000000..d1f03ba --- /dev/null +++ b/.mlvwm/apps/mpv @@ -0,0 +1,12 @@ +Menu MPV-File, Label "File", Left +"Quit" Action SendMessage N+q +END + +MenuBar MPV +MPV-File +END + +Style +"mpv" NoSBarH, NoSBarV +"mpv" MiniIcon mpv.xpm, MenuBar MPV +END diff --git a/Makefile b/Makefile index f11aaee..971ebb4 100644 --- a/Makefile +++ b/Makefile @@ -6,16 +6,23 @@ PATTERNS=$(CONF)/patterns all: pixmap patterns pixmap: - test ! -d $(TEMP) && mkdir $(TEMP) + # make the temp directory + mkdir -p $(TEMP) + # download & extract mini-icons 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 + # download XPM icons from source code repositories curl -# -L https://raw.githubusercontent.com/videolan/vlc/master/share/icons/16x16/vlc.xpm -o $(PIXMAP)/vlc.xpm + # donwload & convert icons from source code repositories curl -# -L https://raw.githubusercontent.com/zealdocs/zeal/main/assets/freedesktop/16-apps-zeal.png -o $(TEMP)/zeal.png convert $(TEMP)/zeal.png $(PIXMAP)/zeal.xpm + curl -# -L https://raw.githubusercontent.com/mpv-player/mpv.io/master/source/images/favicon.png -o $(TEMP)/mpv.png + convert $(TEMP)/mpv.png -resize 16x16\> $(PIXMAP)/mpv.xpm + # download & convert website favicons convert https://www.chromium.org/favicon.ico $(PIXMAP)/chromium.xpm curl -# -L https://claws-mail.org/favicon.ico -o $(TEMP)/claws-mail-favicon.ico - curl -# -L https://iridiumbrowser.de/favicon.ico -o $(TEMP)/iridium-favicon.ico convert $(TEMP)/claws-mail-favicon.ico $(PIXMAP)/claws-mail.xpm + curl -# -L https://iridiumbrowser.de/favicon.ico -o $(TEMP)/iridium-favicon.ico convert $(TEMP)/iridium-favicon.ico[2] $(PIXMAP)/iridium.xpm patterns: @@ -23,8 +30,8 @@ patterns: curl -# -L https://forums.macrumors.com/attachments/mac-os-background-jpg.61609 -o $(PATTERNS)/mac-os-background.jpg curl -# -L https://wallpaperbat.com/img/250263-classic-mac-os-wallpaper.png -o $(PATTERNS)/mac-os-background-hi-res.png curl -# -L https://forums.macrumors.com/attachments/mac-os-default-png.61610 -o $(PATTERNS)/mac-os-default.png - curl -# -L https://imgur.com/a/9jYy0/zip -o $(TEMP)/Mac\ OS\ Solid\ Color\ Backgrounds.zip - unzip -d $(PATTERNS) $(TEMP)/Mac\ OS\ Solid\ Color\ Backgrounds.zip + curl -# -L https://imgur.com/a/9jYy0/zip -o "$(TEMP)/Mac OS Solid Color Backgrounds.zip" + unzip -d $(PATTERNS) "$(TEMP)/Mac OS Solid Color Backgrounds.zip" install: cp -R $(CONF) $(HOME)/ @@ -40,6 +47,7 @@ clean-pixmap: rm $(PIXMAP)/chromium.xpm rm $(PIXMAP)/claws-mail.xpm rm $(PIXMAP)/iridium.xpm + rm $(PIXMAP)/mpv.xpm rm $(PIXMAP)/vlc.xpm rm $(PIXMAP)/zeal.xpm diff --git a/README.md b/README.md index 9cfdda5..2fb5d62 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ Configurations for the following X11 applications are included: * [HandBrake](https://handbrake.fr/) * [Krita](https://krita.org/) * [Meld](http://meldmerge.org/) +* [mpv](https://mpv.io/) * [PCManFM](https://en.wikipedia.org/wiki/PCMan_File_Manager) * [RetroArch](https://www.retroarch.com/) * [Remmina](https://remmina.org/)