From rdiaz02 at gmail.com Sun May 16 16:59:46 2021 From: rdiaz02 at gmail.com (Ramon Diaz-Uriarte) Date: Sun, 16 May 2021 18:59:46 +0200 Subject: [xmonad] Layout.Hiding: showing hidden in rofi and/or unhiding all Message-ID: <875yziwr5p.fsf@gmail.com> Hi, Is it possible to have hidden windows (from Layout.Hiding) be shown by rofi (rofi -show window)? I guess the answer is no [1]. In such a case, is it possible to unhide all hidden windows in all workspaces? (Probably not, either). Why this or something similar? Sometimes I have a window that I hide (say, emacs editing a file, unsaved) because something comes up. A while later I might not remember where that was (only "I have emacs somewhere opened editing file whatever"). I am forced to go through all of my workspaces popping the possible hidden windows. Maybe there is something much more sensible I am missing. (Note that using Layout.Minimize, instead of Layout.Hiding, is not really an option, since it interferes with BinarySpacePartition, which I use most of the time). Thanks, [1] That is why they are hidden :-) : "completely removes windows from the window set " from the documentation. -- Ramon Diaz-Uriarte Department of Biochemistry, Lab B-25 Facultad de Medicina Universidad Autónoma de Madrid Arzobispo Morcillo, 4 28029 Madrid Spain Phone: +34-91-497-2412 Email: rdiaz02 at gmail.com ramon.diaz at iib.uam.es https://ligarto.org/rdiaz From samuli.thomasson at paivola.fi Mon May 17 17:31:58 2021 From: samuli.thomasson at paivola.fi (Samuli Thomasson) Date: Mon, 17 May 2021 19:31:58 +0200 Subject: [xmonad] xmonad Digest, Vol 154, Issue 1 In-Reply-To: References: Message-ID: <20210517172555.m3xoiz7jx2iqhint@applicative.funktionaali.com> Hi, Not an answer to your question per se, but there's a patch [1] I made for the BSP layout that adds support for X.U.Minimize minimized windows. I've been using it for some time now, works perfectly. Best, Samuli [1]: https://github.com/SimSaladin/xmonad-contrib/commit/340e2dbee29d307c7a8098a5d435010f2098816d On Mon, May 17, 2021 at 12:00:02PM +0000, xmonad-request at haskell.org wrote: > Date: Sun, 16 May 2021 18:59:46 +0200 > From: Ramon Diaz-Uriarte > To: xmonad at haskell.org > Subject: [xmonad] Layout.Hiding: showing hidden in rofi and/or unhiding all > > Hi, > > Is it possible to have hidden windows (from Layout.Hiding) be shown by rofi > (rofi -show window)? I guess the answer is no [1]. In such a case, is it > possible to unhide all hidden windows in all workspaces? (Probably not, > either). > > Why this or something similar? Sometimes I have a window that I hide (say, > emacs editing a file, unsaved) because something comes up. A while later I > might not remember where that was (only "I have emacs somewhere opened > editing file whatever"). I am forced to go through all of my workspaces > popping the possible hidden windows. > > Maybe there is something much more sensible I am missing. > > > (Note that using Layout.Minimize, instead of Layout.Hiding, is not really > an option, since it interferes with BinarySpacePartition, which I use most > of the time). > > > Thanks, > > [1] That is why they are hidden :-) : "completely removes windows from the > window set " from the documentation. > > -- > Ramon Diaz-Uriarte > Department of Biochemistry, Lab B-25 > Facultad de Medicina > Universidad Autónoma de Madrid > Arzobispo Morcillo, 4 > 28029 Madrid > Spain > > Phone: +34-91-497-2412 > > Email: rdiaz02 at gmail.com > ramon.diaz at iib.uam.es > > https://ligarto.org/rdiaz > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From rdiaz02 at gmail.com Tue May 18 13:57:17 2021 From: rdiaz02 at gmail.com (Ramon Diaz-Uriarte) Date: Tue, 18 May 2021 15:57:17 +0200 Subject: [xmonad] xmonad Digest, Vol 154, Issue 1 In-Reply-To: <20210517172555.m3xoiz7jx2iqhint@applicative.funktionaali.com> References: <20210517172555.m3xoiz7jx2iqhint@applicative.funktionaali.com> Message-ID: <87eee416wy.fsf@gmail.com> Thanks! Sorry if I am dense here, but is your suggestion that I try to use this patch ---which modifies ManageHelpers and BSP--- so that I can use Layout.Minimize instead of Layout.Hiding? (And you say X.U.Minimize; shouldn't it be X.Layout Minimize?) Best, R. On Mon, 17-May-2021, at 19:31:58, Samuli Thomasson wrote: > Hi, > > Not an answer to your question per se, but there's a patch [1] I made > for the BSP layout that adds support for X.U.Minimize minimized windows. > I've been using it for some time now, works perfectly. > > Best, > Samuli > > [1]: https://github.com/SimSaladin/xmonad-contrib/commit/340e2dbee29d307c7a8098a5d435010f2098816d > > On Mon, May 17, 2021 at 12:00:02PM +0000, xmonad-request at haskell.org wrote: >> Date: Sun, 16 May 2021 18:59:46 +0200 >> From: Ramon Diaz-Uriarte >> To: xmonad at haskell.org >> Subject: [xmonad] Layout.Hiding: showing hidden in rofi and/or unhiding all >> >> Hi, >> >> Is it possible to have hidden windows (from Layout.Hiding) be shown by rofi >> (rofi -show window)? I guess the answer is no [1]. In such a case, is it >> possible to unhide all hidden windows in all workspaces? (Probably not, >> either). >> >> Why this or something similar? Sometimes I have a window that I hide (say, >> emacs editing a file, unsaved) because something comes up. A while later I >> might not remember where that was (only "I have emacs somewhere opened >> editing file whatever"). I am forced to go through all of my workspaces >> popping the possible hidden windows. >> >> Maybe there is something much more sensible I am missing. >> >> >> (Note that using Layout.Minimize, instead of Layout.Hiding, is not really >> an option, since it interferes with BinarySpacePartition, which I use most >> of the time). >> >> >> Thanks, >> >> [1] That is why they are hidden :-) : "completely removes windows from the >> window set " from the documentation. >> >> -- >> Ramon Diaz-Uriarte >> Department of Biochemistry, Lab B-25 >> Facultad de Medicina >> Universidad Autónoma de Madrid >> Arzobispo Morcillo, 4 >> 28029 Madrid >> Spain >> >> Phone: +34-91-497-2412 >> >> Email: rdiaz02 at gmail.com >> ramon.diaz at iib.uam.es >> >> https://ligarto.org/rdiaz >> > > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad -- Ramon Diaz-Uriarte Department of Biochemistry, Lab B-25 Facultad de Medicina Universidad Autónoma de Madrid Arzobispo Morcillo, 4 28029 Madrid Spain Phone: +34-91-497-2412 Email: rdiaz02 at gmail.com ramon.diaz at iib.uam.es https://ligarto.org/rdiaz From rdiaz02 at gmail.com Sat May 22 09:54:42 2021 From: rdiaz02 at gmail.com (Ramon Diaz-Uriarte) Date: Sat, 22 May 2021 11:54:42 +0200 Subject: [xmonad] xmonad Digest, Vol 154, Issue 1 In-Reply-To: <87eee416wy.fsf@gmail.com> References: <20210517172555.m3xoiz7jx2iqhint@applicative.funktionaali.com> <87eee416wy.fsf@gmail.com> Message-ID: <87v97bccv1.fsf@gmail.com> I tried it and it works perfectly, thanks!! I get the hidden windows to be shown in, for instance rofi. A minor issue, though: when I minimize a window, focus is lost. This does not happen with Hidden (when a window is hidden, another gains focus). I've searched around, but I cannot find anything regarding this issue. Best, R. On Tue, 18-May-2021, at 15:57:17, Ramon Diaz-Uriarte wrote: > Thanks! > > Sorry if I am dense here, but is your suggestion that I try to use this > patch ---which modifies ManageHelpers and BSP--- so that I can use > Layout.Minimize instead of Layout.Hiding? > > (And you say X.U.Minimize; shouldn't it be X.Layout Minimize?) > > Best, > > R. > > > On Mon, 17-May-2021, at 19:31:58, Samuli Thomasson wrote: >> Hi, >> >> Not an answer to your question per se, but there's a patch [1] I made >> for the BSP layout that adds support for X.U.Minimize minimized windows. >> I've been using it for some time now, works perfectly. >> >> Best, >> Samuli >> >> [1]: https://github.com/SimSaladin/xmonad-contrib/commit/340e2dbee29d307c7a8098a5d435010f2098816d >> >> On Mon, May 17, 2021 at 12:00:02PM +0000, xmonad-request at haskell.org wrote: >>> Date: Sun, 16 May 2021 18:59:46 +0200 >>> From: Ramon Diaz-Uriarte >>> To: xmonad at haskell.org >>> Subject: [xmonad] Layout.Hiding: showing hidden in rofi and/or unhiding all >>> >>> Hi, >>> >>> Is it possible to have hidden windows (from Layout.Hiding) be shown by rofi >>> (rofi -show window)? I guess the answer is no [1]. In such a case, is it >>> possible to unhide all hidden windows in all workspaces? (Probably not, >>> either). >>> >>> Why this or something similar? Sometimes I have a window that I hide (say, >>> emacs editing a file, unsaved) because something comes up. A while later I >>> might not remember where that was (only "I have emacs somewhere opened >>> editing file whatever"). I am forced to go through all of my workspaces >>> popping the possible hidden windows. >>> >>> Maybe there is something much more sensible I am missing. >>> >>> >>> (Note that using Layout.Minimize, instead of Layout.Hiding, is not really >>> an option, since it interferes with BinarySpacePartition, which I use most >>> of the time). >>> >>> >>> Thanks, >>> >>> [1] That is why they are hidden :-) : "completely removes windows from the >>> window set " from the documentation. >>> >>> -- >>> Ramon Diaz-Uriarte >>> Department of Biochemistry, Lab B-25 >>> Facultad de Medicina >>> Universidad Autónoma de Madrid >>> Arzobispo Morcillo, 4 >>> 28029 Madrid >>> Spain >>> >>> Phone: +34-91-497-2412 >>> >>> Email: rdiaz02 at gmail.com >>> ramon.diaz at iib.uam.es >>> >>> https://ligarto.org/rdiaz >>> >> >> >> _______________________________________________ >> xmonad mailing list >> xmonad at haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad -- Ramon Diaz-Uriarte Department of Biochemistry, Lab B-25 Facultad de Medicina Universidad Autónoma de Madrid Arzobispo Morcillo, 4 28029 Madrid Spain Phone: +34-91-497-2412 Email: rdiaz02 at gmail.com ramon.diaz at iib.uam.es https://ligarto.org/rdiaz From pisit.jee at gmail.com Sat May 22 17:41:12 2021 From: pisit.jee at gmail.com (Pisit) Date: Sun, 23 May 2021 00:41:12 +0700 Subject: [xmonad] xmonad next active workspace Message-ID: Hi, I'm Peet. I looking util or something that can toggle active workspace Like: active workspace 1, 4 , 9 so when i press hot key xmonad will go through 1 , 4 ,9 , 1 ...... i already had : Xmonad.Actions.CycleWS thank. From platon7pronko at gmail.com Sat May 22 11:16:57 2021 From: platon7pronko at gmail.com (Platon Pronko) Date: Sat, 22 May 2021 14:16:57 +0300 Subject: [xmonad] xmonad next active workspace In-Reply-To: References: Message-ID: <66ce25d8-187c-ef4b-6f73-dbad7c0102db@gmail.com> Hi! You'll have to write some code to achieve this. You can use findWorkspace function from Xmonad.Actions.CycleWS as a stepping stone: https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Actions-CycleWS.html#v:findWorkspace It takes a workspace predicate as its third argument, so you can filter only those workspaces that are needed (1,4,9). Look at the source code for `nextWS` function and source code of functions that are called by it. Best regards, Platon Pronko On 2021-05-22 20:41, Pisit wrote: > Hi, I'm Peet. > > I looking util or something that can toggle active workspace > > Like: active workspace > > 1, 4 , 9 > > so when i press hot key xmonad will go through 1 , 4 ,9 , 1 ...... > > i already had : Xmonad.Actions.CycleWS > > thank. > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad From allbery.b at gmail.com Sat May 22 15:50:30 2021 From: allbery.b at gmail.com (Brandon Allbery) Date: Sat, 22 May 2021 11:50:30 -0400 Subject: [xmonad] xmonad next active workspace In-Reply-To: References: Message-ID: CycleWS already has what you need, as the first example: `moveTo Next NonEmptyWS`. On Sat, May 22, 2021 at 6:41 AM Pisit wrote: > Hi, I'm Peet. > > I looking util or something that can toggle active workspace > > Like: active workspace > > 1, 4 , 9 > > so when i press hot key xmonad will go through 1 , 4 ,9 , 1 ...... > > i already had : Xmonad.Actions.CycleWS > > thank. > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > -- brandon s allbery kf8nh allbery.b at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: