Logs: liberachat/#xmonad
| 2022-09-29 10:25:00 | × | sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 264 seconds) |
| 2022-09-29 10:26:45 | → | sogens joins (~sogens@pa49-197-49-85.pa.qld.optusnet.com.au) |
| 2022-09-29 10:33:45 | ← | Cypherpunks0x[m] parts (~cypherpun@2001:470:69fc:105::2:8a0d) () |
| 2022-09-29 11:26:16 | × | sogens quits (~sogens@pa49-197-49-85.pa.qld.optusnet.com.au) (Ping timeout: 260 seconds) |
| 2022-09-29 11:28:12 | → | sogens joins (sogens@gateway/vpn/protonvpn/sogens) |
| 2022-09-29 11:28:22 | <thyriaen_> | I have a certain application ( kitty started with nnn in a wm class 'NNN' ) with a keybinding 'v' - i would like that pressing 'v' again when it is already running to hide it ( not closing the terminal - it should still run offscreen ) and then by pressing v again to show it again - how do i do that ? |
| 2022-09-29 11:28:36 | → | liskin[m] joins (~liskinmat@2001:470:69fc:105::768) |
| 2022-09-29 11:33:06 | <[Leary]> | thyriaen_: X.U.NamedScratchpad |
| 2022-09-29 11:36:39 | <thyriaen_> | [Leary], as far as i can tell scratchpad bundles all the things i want together - how can i hide and show a window within that scratchpad ? |
| 2022-09-29 12:05:36 | <byorgey> | thyriaen_: not sure what you mean, it sounds to me like NamedScratchpad does exactly what you want. Each window is a separate "scratchpad" (scratchpad is kind of a strange name for it). I have a whole bunch of individual NamedScratchpads, like "M-a s" shows and hides a floating terminal window, "M-a g" shows and hides a floating GHCi window, etc. |
| 2022-09-29 12:06:08 | <thyriaen_> | byorgey, ah maybe i misunderstood what a scratchpad does |
| 2022-09-29 12:06:11 | <thyriaen_> | perfect thanks |
| 2022-09-29 12:19:55 | × | thyriaen quits (~thyriaen@2a02:8109:8340:686c:7383:e0e2:ad95:9fce) (Quit: Leaving) |
| 2022-09-29 12:46:07 | × | mestre quits (~mestre@191.177.181.194) (Quit: Lost terminal) |
| 2022-09-29 14:16:58 | × | thyriaen_ quits (~thyriaen@2a02:8109:8340:686c:7383:e0e2:ad95:9fce) (Quit: Leaving) |
| 2022-09-29 14:25:22 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-09-29 16:00:13 | × | liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle) |
| 2022-09-29 16:28:30 | EnchanterTim | is now known as Linux |
| 2022-09-29 16:29:17 | <Linux> | Question, does anyone know if there is a way to have selected text in Xmonad shortcut that sends the text to a pastebin and returns a url in the paste buffer/bin etc. Or is this outside the scope of xmonad? |
| 2022-09-29 16:29:31 | → | liskin[m] joins (~liskinmat@2001:470:69fc:105::768) |
| 2022-09-29 16:29:50 | <geekosaur> | probably outside the scope |
| 2022-09-29 16:30:10 | <geekosaur> | you don't want your window manager locked up waiting for a response from a pastebin |
| 2022-09-29 16:30:19 | <Linux> | Oh? |
| 2022-09-29 16:30:21 | <Linux> | Hmm. |
| 2022-09-29 16:32:06 | <geekosaur> | the handleEventHook doesn't help you much because it only responds to X11 messages, not to e.g. activity on a socket |
| 2022-09-29 16:34:50 | <geekosaur> | additionally, pasting anything larger than a key *from* xmonad is actually a complex operation because there isn't actually a paste buffer. it's more like a message on a corkboard with little phone number tear-offs, and the paster and pastee have to call and negotiate (in this case, a paste format) |
| 2022-09-29 16:35:13 | <Linux> | What about a script that runs and does this ? |
| 2022-09-29 16:35:20 | <Linux> | Bind to a key |
| 2022-09-29 16:35:28 | <Linux> | that will hold up the wm? |
| 2022-09-29 16:35:33 | <geekosaur> | no |
| 2022-09-29 16:36:26 | <geekosaur> | but the script has to be more difficult than you think because of that protocol negotiation: the script has to stick around waiting for "calls" until something else seizes the selection |
| 2022-09-29 16:37:03 | <geekosaur> | cut buffers worked the way most people think selections work. PRIMARY and CLIPBOARD don't |
| 2022-09-29 16:45:43 | × | ml|_ quits (~ml|@user/ml/x-5298235) (Ping timeout: 246 seconds) |
| 2022-09-29 16:59:53 | → | ml|_ joins (~ml|@user/ml/x-5298235) |
| 2022-09-29 17:41:09 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 250 seconds) |
| 2022-09-29 17:54:16 | <xmonadtrack> | New xmonad-contrib branch created: pull/758 (1 commit) https://github.com/xmonad/xmonad-contrib/pull/758 |
| 2022-09-29 17:54:17 | <xmonadtrack> | xmonad-contrib alexandersokolow https://github.com/xmonad/xmonad-contrib/pull/758 * v0.17.1-20-g9e55ae91: expose more messages in MouseResizableTile layout (11 minutes ago, 1 file, 1+ 1-) https://github.com/xmonad/xmonad-contrib/commit/9e55ae9184a5 |
| 2022-09-29 17:54:42 | → | cfricke joins (~cfricke@user/cfricke) |
| 2022-09-29 17:55:27 | × | cfricke quits (~cfricke@user/cfricke) (Client Quit) |
| 2022-09-29 18:08:06 | → | thunderrd joins (~thunderrd@183.182.115.199) |
| 2022-09-29 18:08:35 | × | sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6) |
| 2022-09-29 18:14:16 | → | ft joins (~ft@p3e9bc57b.dip0.t-ipconnect.de) |
| 2022-09-29 19:11:20 | × | defjam quits (~eb0t@33ba5927.skybroadband.com) (Ping timeout: 268 seconds) |
| 2022-09-29 19:12:51 | → | defjam joins (~eb0t@33bb4b25.skybroadband.com) |
| 2022-09-29 19:13:24 | → | sogens joins (~sogens@pa49-197-49-85.pa.qld.optusnet.com.au) |
| 2022-09-29 19:19:56 | × | sogens quits (~sogens@pa49-197-49-85.pa.qld.optusnet.com.au) (Ping timeout: 268 seconds) |
| 2022-09-29 19:21:46 | → | sogens joins (sogens@gateway/vpn/protonvpn/sogens) |
| 2022-09-29 19:30:47 | × | Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: leaving) |
| 2022-09-29 20:07:36 | × | mncheck quits (~mncheck@193.224.205.254) (Ping timeout: 264 seconds) |
| 2022-09-29 20:42:51 | → | Maeda joins (~Maeda@91-161-10-149.subs.proxad.net) |
| 2022-09-29 21:10:30 | × | sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6) |
| 2022-09-29 21:18:55 | × | fjMSX quits (~hypni2p@2.92.213.55) (Ping timeout: 265 seconds) |
| 2022-09-29 21:20:10 | → | sogens joins (sogens@gateway/vpn/protonvpn/sogens) |
| 2022-09-29 22:09:01 | × | sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6) |
| 2022-09-29 22:35:09 | → | sogens joins (~sogens@pa49-197-49-85.pa.qld.optusnet.com.au) |
| 2022-09-29 22:46:24 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection) |
| 2022-09-29 22:47:22 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-09-29 23:02:17 | × | sogens quits (~sogens@pa49-197-49-85.pa.qld.optusnet.com.au) (Remote host closed the connection) |
| 2022-09-29 23:08:33 | → | thyriaen joins (~thyriaen@2a02:8109:8340:686c:7383:e0e2:ad95:9fce) |
| 2022-09-29 23:09:44 | → | sogens joins (~sogens@pa49-197-49-85.pa.qld.optusnet.com.au) |
| 2022-09-29 23:10:10 | <thyriaen> | myManageHooks is a ComposeAll [ and then a list of things for example , className =? "Nemo" --> floatingNemo ] -- I would like to add a NamedScratchpad - do i just include that in the list as one position ? like , namedScratchpadManageHook scratchpads , ? |
| 2022-09-29 23:14:18 | <geekosaur[m]> | Yes |
| 2022-09-29 23:14:51 | × | sogens quits (~sogens@pa49-197-49-85.pa.qld.optusnet.com.au) (Ping timeout: 268 seconds) |
| 2022-09-29 23:16:04 | → | sogens joins (sogens@gateway/vpn/protonvpn/sogens) |
| 2022-09-29 23:17:10 | <thyriaen> | okey there is only one issue |
| 2022-09-29 23:17:21 | <thyriaen> | if i press the button for my scratchpad nothing happens :p |
| 2022-09-29 23:22:58 | <thyriaen> | ok i fixed it |
| 2022-09-29 23:23:08 | <thyriaen> | now my polybar displays the hidden workspace though |
| 2022-09-29 23:23:17 | <thyriaen> | so it is not infact really hidden is it ? :P |
| 2022-09-29 23:29:01 | <thyriaen> | easily fixed tho |
| 2022-09-29 23:29:47 | → | fjMSX joins (~hypni2p@2.92.213.55) |
| 2022-09-29 23:45:07 | × | thyriaen quits (~thyriaen@2a02:8109:8340:686c:7383:e0e2:ad95:9fce) (Quit: Leaving) |
| 2022-09-29 23:55:43 | → | berberman joins (~berberman@user/berberman) |
| 2022-09-29 23:57:03 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::778c) |
| 2022-09-30 00:17:12 | × | chomwitt quits (~chomwitt@2a02:587:dc14:f500:9e6a:c6cb:5be3:53b3) (Ping timeout: 264 seconds) |
| 2022-09-30 00:24:34 | × | sagax quits (~sagax_nb@user/sagax) (Ping timeout: 244 seconds) |
| 2022-09-30 01:00:37 | → | sagax joins (~sagax_nb@user/sagax) |
| 2022-09-30 01:19:37 | <Linux> | use the noTaskbar |
| 2022-09-30 01:20:29 | <geekosaur> | that doesn't hide the NSP workspace though |
| 2022-09-30 01:20:50 | <Linux> | Oh you can hide the NSP workspace? |
| 2022-09-30 01:20:52 | <Linux> | How? |
| 2022-09-30 01:22:20 | <Linux> | I see |
| 2022-09-30 01:22:43 | <Linux> | manageHook = manageDocks <+> myManageHook <+> namedScratchpadManageHook scratchpads <+> manageHook def <- I have like so |
| 2022-09-30 01:22:52 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Hooks-StatusBar-PP.html#v:filterOutWsPP |
| 2022-09-30 01:23:10 | <geekosaur> | but that's for xmobar, not for polybar |
| 2022-09-30 01:23:30 | <geekosaur> | if it uses EWMH to get workspace information then you have to do something trickier |
| 2022-09-30 01:23:35 | <Linux> | I see |
| 2022-09-30 01:23:45 | <Linux> | I'd like to hid NSP on the KDE plasma panel I use |
| 2022-09-30 01:23:51 | <Linux> | Any idea about that? |
| 2022-09-30 01:24:11 | <Linux> | I also used dynamic log from years ago, and probably need to update to statusbar the one you linked |
| 2022-09-30 01:24:11 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Util-WorkspaceCompare.html#v:filterOutWs |
| 2022-09-30 01:24:48 | <geekosaur> | the docs tell you how to use it to filter NSP out of the EWMH workspaces, so polybar and plasma-panel won't see it |
| 2022-09-30 01:24:55 | <Linux> | Ok I will try it |
| 2022-09-30 01:25:05 | <Linux> | I don't know the language of haskell |
| 2022-09-30 01:25:07 | <Linux> | :) |
| 2022-09-30 01:25:26 | <geekosaur> | I'm not going to be up a whole lot longer though |
| 2022-09-30 01:25:35 | <geekosaur> | maybe someone else can help |
| 2022-09-30 01:25:37 | <Linux> | I'm not in a rush, I'll try it round, see what I can do |
| 2022-09-30 01:25:48 | <Linux> | I will come back later when you guys are awake and have time |
| 2022-09-30 01:25:49 | <geekosaur> | (my sleep monitor is already yelling at me because I'm not in bed yet) |
All times are in UTC.