aboutsummaryrefslogtreecommitdiffstats
path: root/dmenu/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-11-23 17:57:29 +0100
committerMattias Andrée <maandree@kth.se>2023-11-23 17:57:29 +0100
commite540b7fed768a77facc2993dd7307b30b49c2546 (patch)
tree32f5fc1877d0d23d9f9349bb99e3dd0ec992100c /dmenu/Makefile
parentFix losetup usage error in {signal,element,wire}-desktop/umount-* (diff)
downloaddotfiles-e540b7fed768a77facc2993dd7307b30b49c2546.tar.gz
dotfiles-e540b7fed768a77facc2993dd7307b30b49c2546.tar.bz2
dotfiles-e540b7fed768a77facc2993dd7307b30b49c2546.tar.xz
Update dmenu to use different fonts (primary size due to different DPI, distance, and screen size) on different computers
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--dmenu/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/dmenu/Makefile b/dmenu/Makefile
index d60be4d..7183f39 100644
--- a/dmenu/Makefile
+++ b/dmenu/Makefile
@@ -1,14 +1,19 @@
.POSIX:
install:
- ../check-installed-shebang dmenu
+ ../check-installed-shebang dmenu.gpp
../check-installed-shebang ipa
../check-installed-shebang unicode
../check-installed-shebang plumb
../check-in-path vis
+ ../check-installed general-preprocessor
cd unicode.d && make
+ gpp -s '%%' < dmenu.gpp > .dmenu
+ chmod +x .dmenu
+ ../check-installed-shebang .dmenu
mkdir -p -- ~/.local/bin
- ln -sf -- ~/.dotfiles/dmenu/dmenu ~/.local/bin/
+ test ! -e ~/.local/bin/dmenu || test -L ~/.local/bin/dmenu
+ ln -sf -- ~/.dotfiles/dmenu/.dmenu ~/.local/bin/dmenu
ln -sf -- ~/.dotfiles/dmenu/ipa ~/.local/bin/
ln -sf -- ~/.dotfiles/dmenu/unicode ~/.local/bin/
ln -sf -- ~/.dotfiles/dmenu/plumb ~/.local/bin/