stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] select a window from all the group


From: Piotr Klibert
Subject: Re: [STUMP] select a window from all the group
Date: Tue, 26 Jul 2016 23:47:12 +0200

Hi,

I don't know if there is a built-in way to do this, but I just wrote a command and after some crude testing it appears to work:


(defun concat-list (lst)
  (apply #'concatenate 'list lst))

(defcommand fullwinlist () ()
  (let
      ((selected-win (stumpwm::select-window-from-menu
                      (concat-list (mapcar #'group-windows
                                           (screen-groups (current-screen))))
                      *window-format*)))
    (stumpwm::switch-to-group (window-group selected-win))
    (stumpwm::group-focus-window (current-group) selected-win)))






Best regards,
Piotr Klibert

2016-07-26 12:03 GMT+02:00 Andrea De Michele <address@hidden>:
Hi,

there is a way to select a window like comand: windowlist but from all the windows in all group?


--
Andrea De Michele


_______________________________________________
Stumpwm-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]