2022/04/28

2022-04-28 00:06:50 +0000lisq(~quassel@lis.moe) (Quit: lisq)
2022-04-28 00:23:26 +0000[Leary](~Leary]@122-58-90-96-vdsl.sparkbb.co.nz) (Ping timeout: 272 seconds)
2022-04-28 00:26:00 +0000stackdroid18(14094@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-04-28 00:29:19 +0000srk(~sorki@user/srk) (Ping timeout: 240 seconds)
2022-04-28 00:44:44 +0000srk(~sorki@user/srk)
2022-04-28 00:48:08 +0000lis(~quassel@lis.moe)
2022-04-28 00:49:18 +0000lislisq
2022-04-28 01:09:33 +0000stackdroid18(~stackdroi@user/stackdroid)
2022-04-28 01:27:04 +0000stackdroid18(~stackdroi@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-04-28 01:28:04 +0000[Leary](~Leary]@122-58-228-205-vdsl.sparkbb.co.nz)
2022-04-28 02:03:39 +0000banc-(banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds)
2022-04-28 02:12:04 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-04-28 02:13:58 +0000ectospasm(~ectospasm@user/ectospasm)
2022-04-28 02:24:46 +0000banc(banc@gateway/vpn/airvpn/banc)
2022-04-28 02:35:19 +0000td_(~td@muedsl-82-207-238-136.citykom.de) (Ping timeout: 240 seconds)
2022-04-28 02:37:22 +0000td_(~td@muedsl-82-207-238-120.citykom.de)
2022-04-28 02:40:19 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 240 seconds)
2022-04-28 03:59:52 +0000mvk(~mvk@2607:fea8:5ce3:8500::aa1d) (Ping timeout: 248 seconds)
2022-04-28 04:20:30 +0000twiclo(~twiclo@204.14.20.66.static.utbb.net) (Ping timeout: 250 seconds)
2022-04-28 04:22:32 +0000twiclo(~twiclo@mail.twil.cx)
2022-04-28 04:33:28 +0000zawaken(~zawaken@user/zawaken) (Ping timeout: 248 seconds)
2022-04-28 04:54:20 +0000 <abastro[m]> So how do I do nested X sessions again? geekosaur
2022-04-28 05:08:35 +0000zawaken(~zawaken@user/zawaken)
2022-04-28 06:30:22 +0000 <liskin> Xephyr
2022-04-28 06:57:37 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-04-28 07:24:51 +0000cfricke(~cfricke@user/cfricke)
2022-04-28 08:23:49 +0000 <abastro[m]> How do I invoke Xephyr with gdb debugging xmonad
2022-04-28 09:00:08 +0000iffsid(~iffsid@2001:470:69fc:105::a3e) (Quit: You have been kicked for being idle)
2022-04-28 09:24:25 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
2022-04-28 09:26:11 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-04-28 09:38:59 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 240 seconds)
2022-04-28 10:07:36 +0000cfricke(~cfricke@user/cfricke)
2022-04-28 10:08:58 +0000[Leary](~Leary]@122-58-228-205-vdsl.sparkbb.co.nz) (Remote host closed the connection)
2022-04-28 10:19:46 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.4.1)
2022-04-28 10:21:39 +0000[Leary](~Leary]@122-58-228-205-vdsl.sparkbb.co.nz)
2022-04-28 10:23:12 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 272 seconds)
2022-04-28 11:08:13 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-04-28 11:11:07 +0000zawaken(~zawaken@user/zawaken) (Quit: ZNC 1.9.x-git-unknown - https://znc.in)
2022-04-28 11:12:10 +0000zawaken(~zawaken@user/zawaken)
2022-04-28 11:15:50 +0000 <geekosaur> gdb unlikley to help in your case
2022-04-28 11:16:13 +0000 <abastro[m]> :< why? geekosaur
2022-04-28 11:16:30 +0000 <abastro[m]> Sad..
2022-04-28 11:16:42 +0000 <geekosaur> I told you before, by the time you get that invalid closure it's already too late and there won't be a way to trace it back to its source
2022-04-28 11:17:54 +0000 <geekosaur> xinit /usr/bin/gdb /path/to/xmonad -- /usr/bin/Xephyr :1 (or :2 or something that is not already in use)
2022-04-28 11:18:35 +0000 <Ether[m]> I would like to create my own swap left function. How do i execute this sequence;
2022-04-28 11:18:35 +0000 <Ether[m]> 1. sendMessage $ Go R
2022-04-28 11:18:35 +0000 <Ether[m]> 2. sendMessage $ Swap L
2022-04-28 11:18:35 +0000 <Ether[m]> 3. sendMessage $ Go R
2022-04-28 11:18:54 +0000 <Ether[m]> One key bind for all.
2022-04-28 11:19:01 +0000 <Ether[m]> Impossible?
2022-04-28 11:21:22 +0000 <geekosaur> you should be able to join them with >> or *>, but you'll have to replace the $ with parentheses
2022-04-28 11:21:45 +0000 <abastro[m]> do
2022-04-28 11:21:45 +0000 <abastro[m]> sendMessage (Go R)
2022-04-28 11:21:45 +0000 <abastro[m]> sendMessage (Swap L)
2022-04-28 11:21:56 +0000 <geekosaur> yes
2022-04-28 11:21:57 +0000 <abastro[m]> A bit too advanced, ye
2022-04-28 11:22:03 +0000 <Ether[m]> How do i bind?
2022-04-28 11:22:08 +0000 <Ether[m]> M-l
2022-04-28 11:22:39 +0000 <abastro[m]> Wdym by bind
2022-04-28 11:22:54 +0000 <Ether[m]> I need this sequence as a binding
2022-04-28 11:23:20 +0000 <abastro[m]> Bound to a key?
2022-04-28 11:23:28 +0000 <Ether[m]> Yes
2022-04-28 11:23:38 +0000 <abastro[m]> Just put what I said in the place where actions go
2022-04-28 11:23:43 +0000 <geekosaur> just do it. nothing wrong with a multi-line binding
2022-04-28 11:23:56 +0000 <Ether[m]> No comma?
2022-04-28 11:23:58 +0000 <abastro[m]> It's okay to have multiple lines e.g. for single action
2022-04-28 11:24:12 +0000 <geekosaur> or use >> as I said, or even do with semicolons
2022-04-28 11:24:30 +0000 <geekosaur> ("M-l", do ...)
2022-04-28 11:24:54 +0000 <Ether[m]> Thanks
2022-04-28 11:25:10 +0000 <Ether[m]> Is there a way to speed up the execution?
2022-04-28 11:25:13 +0000 <abastro[m]> Just to explode your head, you can also do `traverse_ sendMessage [Go R, Swap L, Go R]`
2022-04-28 11:26:07 +0000abastro[m]sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/0866f50250154fe7bff69644322f36e8cac6…
2022-04-28 11:26:24 +0000 <geekosaur> use sendMessageWithNoRefresh and then refresh afterward
2022-04-28 11:29:17 +0000Ether[m]uploaded an image: (520KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/zsDvqXlbcsHIlgJRGcQrslbT/20220428_172… >
2022-04-28 11:29:53 +0000 <geekosaur> it's "traverse_ saendMessage" with a space
2022-04-28 11:29:56 +0000 <geekosaur> er
2022-04-28 11:30:05 +0000 <geekosaur> "traverse_ sendMessage"
2022-04-28 11:30:39 +0000 <geekosaur> the convention is that a name ending in "_" produces only () as a result, which we use when the result of "traverse" would be a list of ()
2022-04-28 11:31:35 +0000Ether[m]uploaded an image: (456KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/YdgsrjKUuSinpWsZnlAMlXqT/20220428_173… >
2022-04-28 11:34:47 +0000 <abastro[m]> Ouch. You could import Data.Foldable to fix it.
2022-04-28 11:34:47 +0000 <abastro[m]> I should have not mentioned the traverse_ way.. I meant it mostly as a lterrible) joke
2022-04-28 11:35:50 +0000 <Ether[m]> Actually the smallest and cleanest piece of code for this
2022-04-28 11:37:45 +0000 <Ether[m]> Works like a charm!
2022-04-28 11:37:59 +0000 <Ether[m]> Thanks geekosaur and abastro..
2022-04-28 11:41:37 +0000 <geekosaur> you may still want to try the sendMessageWithNoRefresh way to make it a bit faster
2022-04-28 11:41:53 +0000 <geekosaur> traverse_ sendMessageWithNoRefresh [...] >> refresh
2022-04-28 11:49:04 +0000mc47(~mc47@xmonad/TheMC47)
2022-04-28 11:53:58 +0000cfricke(~cfricke@user/cfricke)
2022-04-28 12:24:02 +0000 <Ether[m]> Its fast enough, will experiment with it, Thanks
2022-04-28 12:41:06 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 276 seconds)
2022-04-28 12:41:36 +0000abastro(~abab9579@220.75.216.63)
2022-04-28 12:57:30 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-04-28 13:15:39 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 240 seconds)
2022-04-28 13:23:47 +0000 <Ether[m]> Why is this not the default? It seems extremely sane to me!
2022-04-28 13:24:36 +0000 <Ether[m]> It works with all layouts.
2022-04-28 13:25:02 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.4.1)
2022-04-28 13:31:17 +0000 <geekosaur> mostly for historical reasons
2022-04-28 13:31:30 +0000 <geekosaur> most people except the current default, which came from dwm
2022-04-28 13:39:30 +0000abastro(~abab9579@220.75.216.63) (Ping timeout: 250 seconds)
2022-04-28 13:42:43 +0000benin(~benin@183.82.204.110)
2022-04-28 13:47:50 +0000 <Ether[m]> <geekosaur> "you may still want to try the..." <- How does this change execution speed?
2022-04-28 13:48:19 +0000 <geekosaur> instead of redrawing everything after each action in the list, it does one redraw at the end
2022-04-28 13:48:41 +0000 <Ether[m]> And is a there chance for it cause instability?
2022-04-28 13:48:57 +0000 <geekosaur> there shouldn't be
2022-04-28 13:49:26 +0000 <Ether[m]> geekosaur: Ohh, is it should be more stable?
2022-04-28 13:50:21 +0000 <geekosaur> should be just as stable, just faster because it doesn't force a redraw between each step of the traversal
2022-04-28 14:00:21 +0000 <geekosaur> mm, not just redraws even. it'll also delay the logHook run until the end, which is good if you have ewmh because that does a lot of updates that only really need to be done once in this case
2022-04-28 14:01:53 +0000 <abastro[m]> What is ewmh?
2022-04-28 14:02:20 +0000 <geekosaur> https://specifications.freedesktop.org/wm-spec/latest
2022-04-28 14:02:45 +0000 <abastro[m]> Oh
2022-04-28 14:02:52 +0000 <geekosaur> X11R4 and later came with a specification for how window managers and clients communicate with each other, EWMH extends that protocol
2022-04-28 14:02:58 +0000 <abastro[m]> Is it like X extension?
2022-04-28 14:03:10 +0000 <geekosaur> but in this case I'm talking about the `ewmh` combinator that implements it for xmonad
2022-04-28 14:03:23 +0000 <geekosaur> no, it's not a server extension
2022-04-28 14:04:23 +0000 <abastro[m]> Hm I thought X specification also touches the communication protocol
2022-04-28 14:04:28 +0000 <geekosaur> it *is* an xmonad extension because by default it only supports the old specification (ICCCM)
2022-04-28 14:05:09 +0000 <geekosaur> the communication protocol remains the same. EWMH (and ICCCM) is implemented as specific property atoms set on the root window and client windows
2022-04-28 14:05:50 +0000 <geekosaur> and a couple of client messages that can be sent to the root window (which the window manager listens on since it doesn't have a window of its own)
2022-04-28 14:06:31 +0000 <geekosaur> so it's not extensions to the protocol, it's using the existing protocol in specific ways
2022-04-28 14:08:14 +0000 <geekosaur> properties and client messages beginning with "WM_" are part of ICCCM; those starting with "_NET_WM_" belong to EWMH
2022-04-28 14:16:48 +0000 <geekosaur> and the server is only a passive conduit; this is all about communication between a WM and other GUI programs
2022-04-28 14:47:48 +0000valarMorghulis[m(~lladeebll@2001:470:69fc:105::2:72)
2022-04-28 14:51:39 +0000 <valarMorghulis[m> Does anyome know of a way to implement windows snapping (window goes to fullscreen if u drag it with mouse to the top of the screen) in xmonad?
2022-04-28 14:58:52 +0000 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Actions-FloatSnap.html this doesn't quite do what you want but you could probably implement something based on it
2022-04-28 15:03:57 +0000 <valarMorghulis[m> <geekosaur> "https://hackage.haskell.org/..." <- I tried it and customer implement that, it snaps a window on some another window
2022-04-28 15:04:12 +0000 <valarMorghulis[m> * couldn't implement
2022-04-28 15:04:23 +0000 <geekosaur> right, as I said, you could start from its code to write what you want
2022-04-28 15:04:38 +0000 <geekosaur> npothing does what you asked for already
2022-04-28 15:59:27 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-04-28 16:00:08 +0000harlchen[m](~harlchent@2001:470:69fc:105::1:3b28) (Quit: You have been kicked for being idle)
2022-04-28 16:00:11 +0000 <geekosaur> mm, looking at it, you would replace `ifClick` in the mouse move example with a function to check if the window is at y==0 and fullscreened it
2022-04-28 16:00:28 +0000harlchen[m](~harlchent@2001:470:69fc:105::1:3b28)
2022-04-28 16:00:34 +0000harlchen[m](~harlchent@2001:470:69fc:105::1:3b28) ()
2022-04-28 16:11:02 +0000stackdroid18(14094@user/stackdroid)
2022-04-28 16:12:59 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 256 seconds)
2022-04-28 16:46:48 +0000benin(~benin@183.82.204.110) (Remote host closed the connection)
2022-04-28 17:50:48 +0000cfricke(~cfricke@user/cfricke)
2022-04-28 18:05:15 +0000mannerism(~tic@107.191.100.185)
2022-04-28 18:05:23 +0000mannerism(~tic@107.191.100.185) ()
2022-04-28 18:45:39 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 246 seconds)
2022-04-28 20:05:10 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-04-28 20:26:17 +0000jakeStateless-Fa(~jakefroms@2001:470:69fc:105::15ef)
2022-04-28 20:26:18 +0000 <jakeStateless-Fa> sometimes when launching XMonad struts stop working, and my border color gets set to the default and my show-workspace-tooltip thing shows up as a black box, until I restart XMonad via mod-q... I noticed it once I added my custom fullscreen implementation here: [https://gitlab.com/mikenrafter/config/-/blob/master/.xmonad/lib/Custom/Fullscreen.hs](My Dotfiles)
2022-04-28 20:26:23 +0000 <jakeStateless-Fa> does anyone know what's up here?
2022-04-28 20:26:53 +0000 <jakeStateless-Fa> * implementation here: \[https://gitlab.com/mikenrafter/config/-/blob/master/.xmonad/lib/Custom/Fullscreen.hs](My Dotfiles)
2022-04-28 20:27:26 +0000 <jakeStateless-Fa> ugh, the URL is slightly messed up because of improper md formatting on element, and that edit probably duplicated it on IRC, sorry about that... anyway...
2022-04-28 20:32:48 +0000 <geekosaur> you would probably need to look at xmonad's stderr (check ~/.xsession-errors, unless you're using startx and then it'll be something like ctrl-alt-f1 to get back to the text console)
2022-04-28 20:38:20 +0000stackdroid18(14094@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-04-28 21:34:52 +0000jludwig(~justin@li657-110.members.linode.com) (Quit: ZNC - https://znc.in)
2022-04-28 21:35:48 +0000jludwig(~justin@li657-110.members.linode.com)
2022-04-28 22:54:11 +0000noex(~null@user/noex) (Quit: :q!)
2022-04-28 22:59:07 +0000noex(~null@user/noex)
2022-04-28 23:39:29 +0000 <abastro[m]> geekosaur: Using existing protocol, in specific ways, I see.
2022-04-28 23:43:43 +0000 <abastro[m]> What is show-workspace-tooltip? Can xmonad tooltip,
2022-04-28 23:46:49 +0000mvk(~mvk@2607:fea8:5ce3:8500::aa1d)
2022-04-28 23:54:08 +0000 <geekosaur> I assume that means either the old https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-ShowWName.html or the new https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.17.0.9/XMonad-Hooks-ShowWName.html