fix missing forloop macro in i3/config.m4

This commit is contained in:
Gabriel Ebner 2015-06-03 15:52:21 +02:00
parent b5ccc26140
commit 1864b3407b

@ -3,6 +3,10 @@
changequote(`[', `]') changequote(`[', `]')
define([hostname], esyscmd([echo -n `hostname`])) define([hostname], esyscmd([echo -n `hostname`]))
define([forloop], [pushdef([$1], [$2])_forloop($@)popdef([$1])])
define([_forloop],
[$4[]ifelse($1, [$3], [], [define([$1], incr($1))$0($@)])])
set $mod Mod4 set $mod Mod4
font pango:monospace 7 font pango:monospace 7