2022/04/28

2022-04-28 00:13:42 +0200werneta(~werneta@137.79.197.49)
2022-04-28 00:25:57 +0200twiclo1(~twiclo@2604:7b80:2000:1069:52fc:cedd:fbeb:10c)
2022-04-28 00:26:37 +0200 <twiclo1> Does anyone know of a plugin to just get the current workspace off all monitors? For example a coworker is about to come over and catch me slacking off so I grab some other workspace but since that workspace was on another monitor it just swaps the two
2022-04-28 00:27:09 +0200 <twiclo1> So I want to be able to tell xmonad "Get this off all monitors." I guess I could do a shortcut to put up desktops 1, 2 and 3
2022-04-28 00:30:02 +0200 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Actions-CycleWS.html
2022-04-28 00:30:28 +0200 <geekosaur> probably something along the lines of: moveTo Next hiddenWS
2022-04-28 00:30:52 +0200 <geekosaur> (use HiddenWS instead of hiddenWS if you're still on 0.15/0.16)
2022-04-28 00:31:43 +0200matijja(~matijja@193.77.181.201) (Quit: ZNC 1.8.2 - https://znc.in)
2022-04-28 00:31:59 +0200matijja(~matijja@193.77.181.201)
2022-04-28 00:36:05 +0200matijja(~matijja@193.77.181.201) (Client Quit)
2022-04-28 00:39:52 +0200matijja(~matijja@193.77.181.201)
2022-04-28 01:03:42 +0200werneta(~werneta@137.79.197.49) (Ping timeout: 246 seconds)
2022-04-28 01:25:13 +0200srk(~sorki@user/srk) (Ping timeout: 260 seconds)
2022-04-28 01:38:34 +0200srk(~sorki@user/srk)
2022-04-28 01:47:49 +0200YusefAslam[m](~yusz1matr@2001:470:69fc:105::1:12c) (Ping timeout: 240 seconds)
2022-04-28 01:48:51 +0200YusefAslam[m](~yusz1matr@2001:470:69fc:105::1:12c)
2022-04-28 01:49:15 +0200Buliarous(~gypsydang@46.232.210.139) (Ping timeout: 256 seconds)
2022-04-28 01:49:46 +0200Buliarous(~gypsydang@46.232.210.139)
2022-04-28 01:52:27 +0200mvk(~mvk@2607:fea8:5ce3:8500::aa1d)
2022-04-28 02:06:50 +0200lisq(~quassel@lis.moe) (Quit: lisq)
2022-04-28 02:23:26 +0200[Leary](~Leary]@122-58-90-96-vdsl.sparkbb.co.nz) (Ping timeout: 272 seconds)
2022-04-28 02:26:00 +0200stackdroid18(14094@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-04-28 02:29:19 +0200srk(~sorki@user/srk) (Ping timeout: 240 seconds)
2022-04-28 02:44:44 +0200srk(~sorki@user/srk)
2022-04-28 02:48:08 +0200lis(~quassel@lis.moe)
2022-04-28 02:49:18 +0200lislisq
2022-04-28 03:09:33 +0200stackdroid18(~stackdroi@user/stackdroid)
2022-04-28 03:27:04 +0200stackdroid18(~stackdroi@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-04-28 03:28:04 +0200[Leary](~Leary]@122-58-228-205-vdsl.sparkbb.co.nz)
2022-04-28 04:03:39 +0200banc-(banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds)
2022-04-28 04:12:04 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-04-28 04:13:58 +0200ectospasm(~ectospasm@user/ectospasm)
2022-04-28 04:24:46 +0200banc(banc@gateway/vpn/airvpn/banc)
2022-04-28 04:35:19 +0200td_(~td@muedsl-82-207-238-136.citykom.de) (Ping timeout: 240 seconds)
2022-04-28 04:37:22 +0200td_(~td@muedsl-82-207-238-120.citykom.de)
2022-04-28 04:40:19 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 240 seconds)
2022-04-28 05:59:52 +0200mvk(~mvk@2607:fea8:5ce3:8500::aa1d) (Ping timeout: 248 seconds)
2022-04-28 06:20:30 +0200twiclo(~twiclo@204.14.20.66.static.utbb.net) (Ping timeout: 250 seconds)
2022-04-28 06:22:32 +0200twiclo(~twiclo@mail.twil.cx)
2022-04-28 06:33:28 +0200zawaken(~zawaken@user/zawaken) (Ping timeout: 248 seconds)
2022-04-28 06:54:20 +0200 <abastro[m]> So how do I do nested X sessions again? geekosaur
2022-04-28 07:08:35 +0200zawaken(~zawaken@user/zawaken)
2022-04-28 08:30:22 +0200 <liskin> Xephyr
2022-04-28 08:57:37 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-04-28 09:24:51 +0200cfricke(~cfricke@user/cfricke)
2022-04-28 10:23:49 +0200 <abastro[m]> How do I invoke Xephyr with gdb debugging xmonad
2022-04-28 11:00:08 +0200iffsid(~iffsid@2001:470:69fc:105::a3e) (Quit: You have been kicked for being idle)
2022-04-28 11:24:25 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
2022-04-28 11:26:11 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-04-28 11:38:59 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 240 seconds)
2022-04-28 12:07:36 +0200cfricke(~cfricke@user/cfricke)
2022-04-28 12:08:58 +0200[Leary](~Leary]@122-58-228-205-vdsl.sparkbb.co.nz) (Remote host closed the connection)
2022-04-28 12:19:46 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.4.1)
2022-04-28 12:21:39 +0200[Leary](~Leary]@122-58-228-205-vdsl.sparkbb.co.nz)
2022-04-28 12:23:12 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 272 seconds)
2022-04-28 13:08:13 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-04-28 13:11:07 +0200zawaken(~zawaken@user/zawaken) (Quit: ZNC 1.9.x-git-unknown - https://znc.in)
2022-04-28 13:12:10 +0200zawaken(~zawaken@user/zawaken)
2022-04-28 13:15:50 +0200 <geekosaur> gdb unlikley to help in your case
2022-04-28 13:16:13 +0200 <abastro[m]> :< why? geekosaur
2022-04-28 13:16:30 +0200 <abastro[m]> Sad..
2022-04-28 13:16:42 +0200 <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 13:17:54 +0200 <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 13:18:35 +0200 <Ether[m]> I would like to create my own swap left function. How do i execute this sequence;
2022-04-28 13:18:35 +0200 <Ether[m]> 1. sendMessage $ Go R
2022-04-28 13:18:35 +0200 <Ether[m]> 2. sendMessage $ Swap L
2022-04-28 13:18:35 +0200 <Ether[m]> 3. sendMessage $ Go R
2022-04-28 13:18:54 +0200 <Ether[m]> One key bind for all.
2022-04-28 13:19:01 +0200 <Ether[m]> Impossible?
2022-04-28 13:21:22 +0200 <geekosaur> you should be able to join them with >> or *>, but you'll have to replace the $ with parentheses
2022-04-28 13:21:45 +0200 <abastro[m]> do
2022-04-28 13:21:45 +0200 <abastro[m]> sendMessage (Go R)
2022-04-28 13:21:45 +0200 <abastro[m]> sendMessage (Swap L)
2022-04-28 13:21:56 +0200 <geekosaur> yes
2022-04-28 13:21:57 +0200 <abastro[m]> A bit too advanced, ye
2022-04-28 13:22:03 +0200 <Ether[m]> How do i bind?
2022-04-28 13:22:08 +0200 <Ether[m]> M-l
2022-04-28 13:22:39 +0200 <abastro[m]> Wdym by bind
2022-04-28 13:22:54 +0200 <Ether[m]> I need this sequence as a binding
2022-04-28 13:23:20 +0200 <abastro[m]> Bound to a key?
2022-04-28 13:23:28 +0200 <Ether[m]> Yes
2022-04-28 13:23:38 +0200 <abastro[m]> Just put what I said in the place where actions go
2022-04-28 13:23:43 +0200 <geekosaur> just do it. nothing wrong with a multi-line binding
2022-04-28 13:23:56 +0200 <Ether[m]> No comma?
2022-04-28 13:23:58 +0200 <abastro[m]> It's okay to have multiple lines e.g. for single action
2022-04-28 13:24:12 +0200 <geekosaur> or use >> as I said, or even do with semicolons
2022-04-28 13:24:30 +0200 <geekosaur> ("M-l", do ...)
2022-04-28 13:24:54 +0200 <Ether[m]> Thanks
2022-04-28 13:25:10 +0200 <Ether[m]> Is there a way to speed up the execution?
2022-04-28 13:25:13 +0200 <abastro[m]> Just to explode your head, you can also do `traverse_ sendMessage [Go R, Swap L, Go R]`
2022-04-28 13:26:07 +0200abastro[m]sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/0866f50250154fe7bff69644322f36e8cac6…
2022-04-28 13:26:24 +0200 <geekosaur> use sendMessageWithNoRefresh and then refresh afterward
2022-04-28 13:29:17 +0200Ether[m]uploaded an image: (520KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/zsDvqXlbcsHIlgJRGcQrslbT/20220428_172… >
2022-04-28 13:29:53 +0200 <geekosaur> it's "traverse_ saendMessage" with a space
2022-04-28 13:29:56 +0200 <geekosaur> er
2022-04-28 13:30:05 +0200 <geekosaur> "traverse_ sendMessage"
2022-04-28 13:30:39 +0200 <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 13:31:35 +0200Ether[m]uploaded an image: (456KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/YdgsrjKUuSinpWsZnlAMlXqT/20220428_173… >
2022-04-28 13:34:47 +0200 <abastro[m]> Ouch. You could import Data.Foldable to fix it.
2022-04-28 13:34:47 +0200 <abastro[m]> I should have not mentioned the traverse_ way.. I meant it mostly as a lterrible) joke
2022-04-28 13:35:50 +0200 <Ether[m]> Actually the smallest and cleanest piece of code for this
2022-04-28 13:37:45 +0200 <Ether[m]> Works like a charm!
2022-04-28 13:37:59 +0200 <Ether[m]> Thanks geekosaur and abastro..
2022-04-28 13:41:37 +0200 <geekosaur> you may still want to try the sendMessageWithNoRefresh way to make it a bit faster
2022-04-28 13:41:53 +0200 <geekosaur> traverse_ sendMessageWithNoRefresh [...] >> refresh
2022-04-28 13:49:04 +0200mc47(~mc47@xmonad/TheMC47)
2022-04-28 13:53:58 +0200cfricke(~cfricke@user/cfricke)
2022-04-28 14:24:02 +0200 <Ether[m]> Its fast enough, will experiment with it, Thanks
2022-04-28 14:41:06 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 276 seconds)
2022-04-28 14:41:36 +0200abastro(~abab9579@220.75.216.63)
2022-04-28 14:57:30 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-04-28 15:15:39 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 240 seconds)
2022-04-28 15:23:47 +0200 <Ether[m]> Why is this not the default? It seems extremely sane to me!
2022-04-28 15:24:36 +0200 <Ether[m]> It works with all layouts.
2022-04-28 15:25:02 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.4.1)
2022-04-28 15:31:17 +0200 <geekosaur> mostly for historical reasons
2022-04-28 15:31:30 +0200 <geekosaur> most people except the current default, which came from dwm
2022-04-28 15:39:30 +0200abastro(~abab9579@220.75.216.63) (Ping timeout: 250 seconds)
2022-04-28 15:42:43 +0200benin(~benin@183.82.204.110)
2022-04-28 15:47:50 +0200 <Ether[m]> <geekosaur> "you may still want to try the..." <- How does this change execution speed?
2022-04-28 15:48:19 +0200 <geekosaur> instead of redrawing everything after each action in the list, it does one redraw at the end
2022-04-28 15:48:41 +0200 <Ether[m]> And is a there chance for it cause instability?
2022-04-28 15:48:57 +0200 <geekosaur> there shouldn't be
2022-04-28 15:49:26 +0200 <Ether[m]> geekosaur: Ohh, is it should be more stable?
2022-04-28 15:50:21 +0200 <geekosaur> should be just as stable, just faster because it doesn't force a redraw between each step of the traversal
2022-04-28 16:00:21 +0200 <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 16:01:53 +0200 <abastro[m]> What is ewmh?
2022-04-28 16:02:20 +0200 <geekosaur> https://specifications.freedesktop.org/wm-spec/latest
2022-04-28 16:02:45 +0200 <abastro[m]> Oh
2022-04-28 16:02:52 +0200 <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 16:02:58 +0200 <abastro[m]> Is it like X extension?
2022-04-28 16:03:10 +0200 <geekosaur> but in this case I'm talking about the `ewmh` combinator that implements it for xmonad
2022-04-28 16:03:23 +0200 <geekosaur> no, it's not a server extension
2022-04-28 16:04:23 +0200 <abastro[m]> Hm I thought X specification also touches the communication protocol
2022-04-28 16:04:28 +0200 <geekosaur> it *is* an xmonad extension because by default it only supports the old specification (ICCCM)
2022-04-28 16:05:09 +0200 <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 16:05:50 +0200 <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 16:06:31 +0200 <geekosaur> so it's not extensions to the protocol, it's using the existing protocol in specific ways
2022-04-28 16:08:14 +0200 <geekosaur> properties and client messages beginning with "WM_" are part of ICCCM; those starting with "_NET_WM_" belong to EWMH
2022-04-28 16:16:48 +0200 <geekosaur> and the server is only a passive conduit; this is all about communication between a WM and other GUI programs
2022-04-28 16:47:48 +0200valarMorghulis[m(~lladeebll@2001:470:69fc:105::2:72)
2022-04-28 16:51:39 +0200 <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 16:58:52 +0200 <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 17:03:57 +0200 <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 17:04:12 +0200 <valarMorghulis[m> * couldn't implement
2022-04-28 17:04:23 +0200 <geekosaur> right, as I said, you could start from its code to write what you want
2022-04-28 17:04:38 +0200 <geekosaur> npothing does what you asked for already
2022-04-28 17:59:27 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-04-28 18:00:08 +0200harlchen[m](~harlchent@2001:470:69fc:105::1:3b28) (Quit: You have been kicked for being idle)
2022-04-28 18:00:11 +0200 <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 18:00:28 +0200harlchen[m](~harlchent@2001:470:69fc:105::1:3b28)
2022-04-28 18:00:34 +0200harlchen[m](~harlchent@2001:470:69fc:105::1:3b28) ()
2022-04-28 18:11:02 +0200stackdroid18(14094@user/stackdroid)
2022-04-28 18:12:59 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 256 seconds)
2022-04-28 18:46:48 +0200benin(~benin@183.82.204.110) (Remote host closed the connection)
2022-04-28 19:50:48 +0200cfricke(~cfricke@user/cfricke)
2022-04-28 20:05:15 +0200mannerism(~tic@107.191.100.185)
2022-04-28 20:05:23 +0200mannerism(~tic@107.191.100.185) ()
2022-04-28 20:45:39 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 246 seconds)
2022-04-28 22:05:10 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-04-28 22:26:17 +0200jakeStateless-Fa(~jakefroms@2001:470:69fc:105::15ef)
2022-04-28 22:26:18 +0200 <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 22:26:23 +0200 <jakeStateless-Fa> does anyone know what's up here?
2022-04-28 22:26:53 +0200 <jakeStateless-Fa> * implementation here: \[https://gitlab.com/mikenrafter/config/-/blob/master/.xmonad/lib/Custom/Fullscreen.hs](My Dotfiles)
2022-04-28 22:27:26 +0200 <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 22:32:48 +0200 <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 22:38:20 +0200stackdroid18(14094@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-04-28 23:34:52 +0200jludwig(~justin@li657-110.members.linode.com) (Quit: ZNC - https://znc.in)
2022-04-28 23:35:48 +0200jludwig(~justin@li657-110.members.linode.com)