#!/bin/bash menu="rofi -dmenu" resizestep=$(echo -e "0.04\n0.01\n0.004\n0.001" | $menu) confpath=$XDG_CONFIG_HOME/herbstluftwm/autostart source <(awk -v RS='' '/M=Mod/' $confpath) source <(awk -v RS='' '/key\(\)/' $confpath) source <(grep "resizestep" $confpath | grep -v "^resizestep=")