Files
dots/.config/herbstluftwm/scripts/resizestep
2023-07-08 15:20:42 +03:00

11 lines
291 B
Bash
Executable File

#!/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=")