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
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,10 @@
changequote(`[', `]')
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
font pango:monospace 7