aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-xrandr/setres/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-26 14:28:22 +0200
committerMattias Andrée <maandree@kth.se>2021-06-26 14:28:22 +0200
commit7a0b602f284da36ba0e51a6a171e221b0cf63fd8 (patch)
tree688b1068b6394da743b367d65b6451dbaf9f415b /xorg-xrandr/setres/Makefile
parentAdd xmonad-autofocus-output (diff)
downloaddotfiles-7a0b602f284da36ba0e51a6a171e221b0cf63fd8.tar.gz
dotfiles-7a0b602f284da36ba0e51a6a171e221b0cf63fd8.tar.bz2
dotfiles-7a0b602f284da36ba0e51a6a171e221b0cf63fd8.tar.xz
Add setkeys and setres
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'xorg-xrandr/setres/Makefile')
-rw-r--r--xorg-xrandr/setres/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/xorg-xrandr/setres/Makefile b/xorg-xrandr/setres/Makefile
new file mode 100644
index 0000000..770d45d
--- /dev/null
+++ b/xorg-xrandr/setres/Makefile
@@ -0,0 +1,17 @@
+all: setres
+
+setres.zip: __main__.py get.py set.py
+ zip $@ $^
+
+setres: setres.zip
+ echo '#!/usr/bin/python3' > $@
+ cat setres.zip >> $@
+ chmod a+x $@
+
+clean:
+ -rm -r *.zip *.pyc __pycache__/ *~
+
+reallyclean: clean
+ -rm setres
+
+.PHONY: all clean reallyclean