herbstclient "$@"
}
+spawn_with_rules() {(
+ herbstclient rule once maxage=10 "${RULES[@]}"
+ exec "$@"
+ ) &
+}
+
Mod=Mod4
# tags
hc keybind "$Mod-$i" use "$i"
hc keybind "$Mod-Shift-$i" move "$i"
done
+hc add scratchpad
case "$(hostname)" in
hepworth)
source .config/herbstluftwm/wallpaper.sh
set_wallpaper
+RULES=( instance=ncmpcpp tag=scratchpad focus=off )
+spawn_with_rules urxvtcd -name ncmpcpp -e ncmpcpp