Project

General

Profile

[Script] Minimize all windows

Added by Per Amundsen over 7 years ago

Minimize all windows

alias minimizeall {
  var %s = 0
  while (%s < $scon(0)) {
    inc %s
    scon %s
    var %c = 0
    while (%c < $window(*, 0)) {
      inc %c
      window -n $qt($window(*, %c))
    }
  }
}