diff options
author | Mattias Andrée <maandree@kth.se> | 2021-06-26 13:18:37 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-06-26 13:18:37 +0200 |
commit | 3e21f6d13c0a70db95fec8b5a71b758223ff4293 (patch) | |
tree | 6d6d2eddb243935007ce1e316c61470224f93df0 /xpybar/Makefile | |
parent | Add inputrc for readline + m (diff) | |
download | dotfiles-3e21f6d13c0a70db95fec8b5a71b758223ff4293.tar.gz dotfiles-3e21f6d13c0a70db95fec8b5a71b758223ff4293.tar.bz2 dotfiles-3e21f6d13c0a70db95fec8b5a71b758223ff4293.tar.xz |
Add xpybar
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'xpybar/Makefile')
-rw-r--r-- | xpybar/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/xpybar/Makefile b/xpybar/Makefile new file mode 100644 index 0000000..6d0d753 --- /dev/null +++ b/xpybar/Makefile @@ -0,0 +1,18 @@ +.POSIX: +include ../common.mk + +install: + $(CHECK_INSTALLED) general-preprocessor + make -C config + mkdir -p -- ~/.config + if test -L ~/.config/xpybar; then \ + test "$$(readlink -- ~/.config/xpybar)" = ~/.dotfiles/xpybar/config; \ + else \ + test ! -e ~/.config/xpybar && \ + ln -s -- ~/.dotfiles/xpybar/config ~/.config/xpybar; \ + fi + +uninstall: + -unlink -- ~/.config/xpybar + +.PHONY: install uninstall |