(38 lines)
1 #!/usr/bin/env bash3 # a i3-like scratchpad for arbitrary applications.4 #5 # this lets a new monitor called "scratchpad" appear in from the top into the6 # current monitor. There the "scratchpad" will be shown (it will be created if7 # it doesn't exist yet). If the monitor already exists it is scrolled out of8 # the screen and removed again.9 #10 # Warning: this uses much resources because herbstclient is forked for each11 # animation step.12 #13 # If a tag name is supplied, this is used instead of the scratchpad20 EOF28 + focus_monitor M30 else34 , substitute M monitors.focus.index \38 fi