Discussion:
[xmonad] can't hide the scratchpads
Peet
2021-03-21 06:29:51 UTC
Permalink
Hi, I'm Peet.

I can get Scratchpads work, but i can't hide it. please help

Thanks!

config in attachfile
Platon Pronko
2021-03-21 12:57:19 UTC
Permalink
Hi!

According to your config your scratchpad appears when you press M-S-<Return>. What happens when you press it again?

Also if I understand it correctly M-S-<Return> is the default keybinding for opening new terminal. Maybe there is a conflict? What will happen if you bind namedScatchpadAction to something else? For example I use F12 for my scratchpad.

Best regards,
Platon Pronko
Post by Peet
Hi, I'm Peet.
I can get Scratchpads work, but i can't hide it. please help
Thanks!
config in attachfile
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Brandon Allbery
2021-03-21 12:59:37 UTC
Permalink
The new binding will replace the default, so it won't open a terminal any
more (unless the scratchpad is a terminal, of course).
Post by Platon Pronko
Hi!
According to your config your scratchpad appears when you press
M-S-<Return>. What happens when you press it again?
Also if I understand it correctly M-S-<Return> is the default keybinding
for opening new terminal. Maybe there is a conflict? What will happen if
you bind namedScatchpadAction to something else? For example I use F12 for
my scratchpad.
Best regards,
Platon Pronko
Post by Peet
Hi, I'm Peet.
I can get Scratchpads work, but i can't hide it. please help
Thanks!
config in attachfile
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Brandon Allbery
2021-03-21 14:01:21 UTC
Permalink
I don't see `namedScratchpadManageHook` in your `manageHook`, so it never
finds out that the terminal is a scratchpad window.
Post by Peet
Hi, I'm Peet.
I can get Scratchpads work, but i can't hide it. please help
Thanks!
config in attachfile
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
--
brandon s allbery kf8nh
***@gmail.com
Platon Pronko
2021-03-21 14:12:27 UTC
Permalink
Hi!

There is one, on line 291. It's just composed in a wierd way.

Best regards,
Platon Pronko
I don't see `namedScratchpadManageHook` in your `manageHook`, so it never finds out that the terminal is a scratchpad window.
Hi, I'm Peet.
I can get Scratchpads work, but i can't hide it. please help
Thanks!
config in attachfile
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad <http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad>
--
brandon s allbery kf8nh
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Brandon Allbery
2021-03-21 14:19:30 UTC
Permalink
Hm, so it is. :/

Then the question becomes why try to use the title to match it. If they're
passing `-name scratchpad` then it should be matching on `resource =?
"scratchpad"`.
Post by Platon Pronko
Hi!
There is one, on line 291. It's just composed in a wierd way.
Best regards,
Platon Pronko
Post by Brandon Allbery
I don't see `namedScratchpadManageHook` in your `manageHook`, so it
never finds out that the terminal is a scratchpad window.
Post by Brandon Allbery
Hi, I'm Peet.
I can get Scratchpads work, but i can't hide it. please help
Thanks!
config in attachfile
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad <
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad>
Post by Brandon Allbery
--
brandon s allbery kf8nh
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
--
brandon s allbery kf8nh
***@gmail.com
Continue reading on narkive:
Loading...