Discussion:
[xmonad] xmonad Digest, Vol 154, Issue 1
Samuli Thomasson
2021-05-17 17:31:58 UTC
Permalink
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
Date: Sun, 16 May 2021 18:59:46 +0200
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
https://ligarto.org/rdiaz
Ramon Diaz-Uriarte
2021-05-18 13:57:17 UTC
Permalink
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.
Post by Samuli Thomasson
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
Date: Sun, 16 May 2021 18:59:46 +0200
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
https://ligarto.org/rdiaz
_______________________________________________
xmonad mailing list
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: ***@gmail.com
***@iib.uam.es

https://ligarto.org/rdiaz
Ramon Diaz-Uriarte
2021-05-22 09:54:42 UTC
Permalink
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.
Post by Ramon Diaz-Uriarte
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.
Post by Samuli Thomasson
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
Date: Sun, 16 May 2021 18:59:46 +0200
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
https://ligarto.org/rdiaz
_______________________________________________
xmonad mailing list
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: ***@gmail.com
***@iib.uam.es

https://ligarto.org/rdiaz
Loading...