2022/04/09

2022-04-09 00:13:09 +0200 <liskin> We intend to use the budget from donations for the travel, so being cheap is more of a PR thing than anything personal.
2022-04-09 00:13:34 +0200 <liskin> And I have no idea where I'll be traveling from :-)
2022-04-09 00:14:01 +0200geekosaurwonders if he should get in his claim now, then
2022-04-09 00:14:07 +0200 <liskin> But booking a place to stay might be a good idea anyway as the destination isn't going to change
2022-04-09 00:14:14 +0200 <geekosaur> not that I'm capable of going to zurihac or much of anything else :(
2022-04-09 00:15:46 +0200 <liskin> So where are people staying for ZuriHac? Random airbnbs/bookings nearby or some specific tips?
2022-04-09 00:15:55 +0200 <liskin> geekosaur: :-(
2022-04-09 00:19:03 +0200 <liskin> geekosaur: Speaking of the budget though, I don't think our European travels are going to make much of a dent in it, so you're probably not necessarily in a rush.
2022-04-09 00:20:36 +0200 <liskin> And I'm getting a proper job soon meaning someone's going to be paying for my mental health shit and I'll have way less uncertainty in my life and I don't think I'll be spending less time on the xmonad project than now so I'm somewhat optimistic about the future :-)
2022-04-09 00:38:23 +0200chomwitt(~chomwitt@2a02:587:dc0e:4f00:e2a4:4df9:d340:7660) (Ping timeout: 260 seconds)
2022-04-09 01:54:49 +0200mvk(~mvk@2607:fea8:5ce3:8500::9d5a)
2022-04-09 02:22:15 +0200rekahsoft(~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com) (Read error: Connection reset by peer)
2022-04-09 02:22:43 +0200rekahsoft(~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com)
2022-04-09 02:59:33 +0200rekahsoft(~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com) (Remote host closed the connection)
2022-04-09 02:59:59 +0200rekahsoft(~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com)
2022-04-09 03:18:32 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-04-09 03:19:06 +0200mvk(~mvk@2607:fea8:5ce3:8500::9d5a) (Ping timeout: 268 seconds)
2022-04-09 03:24:09 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds)
2022-04-09 03:27:46 +0200mvk(~mvk@2607:fea8:5ce3:8500::9d5a)
2022-04-09 04:03:53 +0200banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
2022-04-09 04:22:46 +0200banc(banc@gateway/vpn/airvpn/banc)
2022-04-09 04:37:55 +0200rekahsoft(~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com) (Remote host closed the connection)
2022-04-09 04:39:11 +0200rekahsoft(~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com)
2022-04-09 05:31:41 +0200mvk(~mvk@2607:fea8:5ce3:8500::9d5a) (Ping timeout: 268 seconds)
2022-04-09 07:15:12 +0200benin(~benin@183.82.204.110)
2022-04-09 07:28:51 +0200rekahsoft(~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com) (Ping timeout: 268 seconds)
2022-04-09 08:00:33 +0200krrishg[m](~krrishgma@2001:470:69fc:105::1:f40c) ()
2022-04-09 08:08:34 +0200 <Solid> ah shit
2022-04-09 08:09:05 +0200 <Solid> I'm at a conference from july 11–15, so can't attend after all :/
2022-04-09 08:09:30 +0200 <Solid> okay, technically they could still not accept me
2022-04-09 08:27:28 +0200 <Solid> noex: friendly ping for your gentoo PR :)
2022-04-09 08:59:14 +0200 <liskin> But ZuriHac is June
2022-04-09 09:00:39 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net)
2022-04-09 09:00:55 +0200 <Solid> oh
2022-04-09 09:01:03 +0200 <Solid> well in that case forget I said anything :)
2022-04-09 09:08:12 +0200 <Solid> nine and a half hours by train
2022-04-09 09:08:14 +0200 <Solid> that'll be fun
2022-04-09 09:11:22 +0200 <abastro[m]> Nine hours?
2022-04-09 09:45:32 +0200 <liskin> Europe needs more high speed trains.
2022-04-09 10:12:05 +0200abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Quit: leaving)
2022-04-09 10:24:26 +0200 <Solid> liskin: a rough calculation tells me it'd be about 200 EUR for the train tickets for me
2022-04-09 10:24:36 +0200 <Solid> probably about as much again for the hotel
2022-04-09 10:24:48 +0200 <Solid> so indeed it may be better to book in the near future
2022-04-09 10:25:02 +0200 <Solid> I'll probably do it over Easter when I have a little free time
2022-04-09 10:39:15 +0200 <abastro[m]> Hmm
2022-04-09 10:39:50 +0200 <abastro[m]> Actually it makes sense if you are going from e.g. poland to spain
2022-04-09 10:40:39 +0200chomwitt(~chomwitt@2a02:587:dc0e:4f00:6a98:c6e0:4152:29dc)
2022-04-09 11:04:35 +0200chomwitt(~chomwitt@2a02:587:dc0e:4f00:6a98:c6e0:4152:29dc) (Remote host closed the connection)
2022-04-09 11:37:43 +0200DeepMajumder[m](~reddocmdm@2001:470:69fc:105::1:f486)
2022-04-09 11:41:55 +0200 <DeepMajumder[m]> Does NamedScratchpad not properly float windows when we use `spacing` (from XMonad.Layout.Spacing) in our layoutHook? I think I have followed instructions from the docs properly, the named scratch is opening and closing alright, but it is not floating. It becomes tiled.
2022-04-09 11:43:08 +0200 <Solid> floats don't have anything to do with spacing, so that would surprise me
2022-04-09 11:54:17 +0200 <abastro[m]> I guess detection gone wrong
2022-04-09 12:00:30 +0200 <Solid> it wouldn't close if that were the case
2022-04-09 12:00:35 +0200 <Solid> but just repeatedly spawn
2022-04-09 12:02:12 +0200 <abastro[m]> Oh.
2022-04-09 12:36:27 +0200benin(~benin@183.82.204.110) (Quit: The Lounge - https://thelounge.chat)
2022-04-09 13:22:11 +0200 <geekosaur> that could happen if it doesn't set its properties until late. you don't happen to be trying to scratchpad a spotify window?
2022-04-09 13:24:05 +0200 <geekosaur> DeepMajumder[m], ^^
2022-04-09 13:35:13 +0200 <amenonsen> so i recently had to switch to two new machines, both laptop and desktop. i took the chance to try out wayland+sway for a few weeks.
2022-04-09 13:36:13 +0200 <amenonsen> it took some commitment to really try to get things working the way i wanted, but i actually did it. and now i'm back to my xmonad configuration after all.
2022-04-09 13:37:17 +0200 <amenonsen> (though admittedly for various reasons unrelated to sway—i could use sway and be happy, if i really had to)
2022-04-09 13:45:38 +0200 <amenonsen> there are a few nice things about using sway, though. e.g., you can enable numlock and configure key repeat delay/rate and xkb options all in one place, and it just works. even the default sway-bar has "system tray" functionality (or whatever it's called under wayland) (so i didn't have to also set up xmobar and stalonetray), and so on.
2022-04-09 13:46:07 +0200 <amenonsen> but it's a relief to be back using xmonad anyway.
2022-04-09 13:48:43 +0200noex(~null@user/noex) (Quit: :q!)
2022-04-09 13:58:05 +0200 <Solid> being able to configure things all in one place sounds like a net negative sadly; it means that every compositor has to implement these things and there can't be a tool that you can use regardless of what you're running :/
2022-04-09 14:00:58 +0200 <geekosaur> I wouldn't say we have a "default bar"; xmobar is just common (and maybe a bit unfortunately named, especially since it's maintained independently)
2022-04-09 14:02:29 +0200 <geekosaur> but for example taffybar's a thing and it also is designed for use with xmonad. and I think has built-in systray functionality
2022-04-09 14:04:11 +0200 <geekosaur> I'd almost be tempted to recommend it over the xmobar+trayer hack for people who want a systray
2022-04-09 14:19:41 +0200noex(~null@user/noex)
2022-04-09 14:55:58 +0200noex(~null@user/noex) (Ping timeout: 260 seconds)
2022-04-09 14:57:03 +0200noex(~null@user/noex)
2022-04-09 14:58:33 +0200 <liskin> It's a different kind of tray protocol though, so not a drop in replacement and needs a separate deamon our something
2022-04-09 14:58:49 +0200 <liskin> (haven't tried it myself though so no idea how well it works)
2022-04-09 15:08:24 +0200 <amenonsen> geekosaur: right, i know xmobar is not a default, i only meant that sway-bar is the default for sway.
2022-04-09 15:09:12 +0200 <amenonsen> i've tried taffybar long ago (circa xmonad 0.14) precisely because i liked the idea of using just one component, but i switched back to xmobar+stalonetray. (i don't remember exactly why, but there were some incomplete bits at the time.)
2022-04-09 15:11:48 +0200 <amenonsen> Solid: in theory i agree with that sentiment, but in practice i find i couldn't care less. i'm using numlockx and i've never managed to get it working properly (and my numlock is off again now).
2022-04-09 15:13:21 +0200 <amenonsen> a lot of things that are meant to be used with sway are extremely do-your-own-plumbing, so it was quite surprising that i didn't need to jump through major hoops for sane sway-bar and keyboard configuration.
2022-04-09 15:16:34 +0200mc47(~mc47@xmonad/TheMC47)
2022-04-09 15:34:48 +0200 <mc47> Solid, liskin: are you planning to come on friday to ZuriHac?
2022-04-09 15:38:51 +0200 <DeepMajumder[m]> <geekosaur> "that could happen if it doesn'..." <- Bang on! Although, the same problem happens for alacritty as well. In fact, the alacritty problem is even more bizzare - each time I hit the keybind for it, a new alacritty window opens (I have spawned alacritty with `alacritty --class alacritty-scratch`, and used `className` for matching against it). I have no clue what's going on.
2022-04-09 15:39:27 +0200 <geekosaur> that one's more common; you might check with xprop what it actually has set
2022-04-09 15:39:48 +0200 <geekosaur> I think you can make spotify work with DynamicPropertu
2022-04-09 15:39:54 +0200 <geekosaur> *DynamicProperty
2022-04-09 15:42:22 +0200 <geekosaur> use the example in there but put namedScratchpadManageHook instead of the explicit check for spotify
2022-04-09 15:42:58 +0200 <geekosaur> (full name is XMonad.Hooks.DynamicProperty)
2022-04-09 15:47:09 +0200 <Solid> mc47: there don't seem to be any good overnight trains available from my location and it's starting in the morning on sat so yeah probably
2022-04-09 15:48:15 +0200 <mc47> alright cool
2022-04-09 15:48:23 +0200 <mc47> I'll probably do the same, but just to see the city
2022-04-09 15:51:14 +0200 <DeepMajumder[m]> <geekosaur> "that one's more common; you..." <- So I should put `dynamicPropertyChange "WM_CLASS" (namedScratchpadManageHook myScratchpads) <+> handleEventHook def` for `handleEventHook`?
2022-04-09 15:51:45 +0200 <geekosaur> yes
2022-04-09 15:55:24 +0200 <DeepMajumder[m]> geekosaur: Thank you so much! It works like a charm. As for the alacritty problem, I verified that the class name is being set alright. But even after the awesome fix that you mentioned, it still doesn't work :(
2022-04-09 15:55:40 +0200 <DeepMajumder[m]> Perhaps this is an alacritty specific problem.
2022-04-09 15:56:09 +0200 <geekosaur> dunno. a number of people here use alacritty but I don't know how many use it as a scratchpad
2022-04-09 15:56:10 +0200 <Solid> DeepMajumder[m]: alacritty works just fine for me (without DynamicProperty, I should mention)
2022-04-09 15:56:20 +0200 <mc47> same
2022-04-09 15:56:29 +0200 <geekosaur> right, the DynamicProperty is for the Spotify scratchypad
2022-04-09 15:56:47 +0200 <mc47> (haven't read all the logs yet, but I've been using it seamlessly for a long time)
2022-04-09 15:58:01 +0200 <DeepMajumder[m]> myScratchpads :: [NamedScratchpad]... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/b510397dea4d963831abb97e527504746f6a…)
2022-04-09 15:58:11 +0200 <DeepMajumder[m]> * ```myScratchpads :: \[NamedScratchpad\]... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/3c6368e9d412ce01897d4c341740909dcb4e…)
2022-04-09 15:58:28 +0200 <DeepMajumder[m]> * ```... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/c13bf49b7c96ff32c3e8c307033cdb6a2ead…)
2022-04-09 15:58:58 +0200 <DeepMajumder[m]> * ```... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/11c6e0edfa48f646576e5dda79ebe9aafdc8…)
2022-04-09 15:59:29 +0200 <DeepMajumder[m]> Solid: So do you set the class name with `--class <class_name>` or some other method?
2022-04-09 15:59:33 +0200 <Solid> DeepMajumder[m]: --class in alacritty sets the instance name (the first string in WM_CLASS)
2022-04-09 15:59:41 +0200 <Solid> className queries the second string, however
2022-04-09 16:00:10 +0200 <DeepMajumder[m]> Solid: Well, that makes sense for the behaviour.
2022-04-09 16:00:11 +0200 <Solid> you want to use appName
2022-04-09 16:00:46 +0200 <DeepMajumder[m]> Solid: Brilliant! Thank you so much!
2022-04-09 16:03:16 +0200pantsumion
2022-04-09 16:08:02 +0200 <amenonsen> i want to celebrate my return to xmonad with some time spent trying out a new contrib module.
2022-04-09 16:09:14 +0200 <DeepMajumder[m]> amenonsen: That's nice!! I tried out scratchpad for the first time today, after returning to Xmonad after a year or so. And it works like a charm, thanks to all the help I got here.
2022-04-09 16:09:59 +0200 <geekosaur> we're up over 300 contribs now, take your pick :)
2022-04-09 16:10:41 +0200 <amenonsen> yes, i just need to skim the docs to find something likely.
2022-04-09 16:11:11 +0200 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib
2022-04-09 16:11:31 +0200 <amenonsen> (yes, i know, already looking there)
2022-04-09 16:12:03 +0200 <amenonsen> fortunately, i'm fairly conservative in terms of the features i use, so i shouldn't have much trouble finding something shiny and new.
2022-04-09 16:13:34 +0200 <amenonsen> oh, one thing i miss in my xmonad setup is that i use XMonad.Prompt.Pass, which matches paths only from the beginning, rather than doing a substring search. let me first go and see if there's some way to make it do that.
2022-04-09 16:14:21 +0200 <Solid> there is!
2022-04-09 16:14:44 +0200 <geekosaur> I think that's functionality pof Prompt, rather than of specific Prompt instances
2022-04-09 16:14:48 +0200 <Solid> XMonad.Prompt.FuzzyMatch
2022-04-09 16:16:17 +0200 <amenonsen> wow, thank you so much.
2022-04-09 16:20:11 +0200mc47(~mc47@xmonad/TheMC47) (Read error: Connection reset by peer)
2022-04-09 16:24:55 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-04-09 16:34:44 +0200 <amenonsen> it works beautifully.
2022-04-09 16:35:46 +0200 <amenonsen> now, what's this scratchpad business?
2022-04-09 16:36:11 +0200 <amenonsen> DeepMajumder[m]: XMonad.Util.Scratchpad? what are you using it for?
2022-04-09 16:37:08 +0200 <DeepMajumder[m]> amenonsen: It'
2022-04-09 16:38:12 +0200 <DeepMajumder[m]> amenonsen: It's basically a "workspace" to contain windows which you want to temporarily show and hide. If you've used dropdown terminals, then scratchpads can be used to make them.
2022-04-09 16:38:48 +0200 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L56-L74 fwiw
2022-04-09 16:38:52 +0200 <DeepMajumder[m]> I use it for that and to contain my spotify window. I reveal the window (which floats above everything else) to change songs and then hide it back.
2022-04-09 16:38:55 +0200 <amenonsen> no, i haven't used them. is it for taking notes, or what?
2022-04-09 16:39:06 +0200 <geekosaur> you can use it for that too
2022-04-09 16:39:17 +0200 <geekosaur> hm, lemme dig out the one I used on my old desktop
2022-04-09 16:39:51 +0200 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/pyanfar/xmonad.hs#L63-L111
2022-04-09 16:39:57 +0200 <amenonsen> ah, ok. that example is useful. i can imagine calling up a calculator that way (right now i just open a terminal and run bc).
2022-04-09 16:41:18 +0200 <DeepMajumder[m]> amenonsen: Yeah, basically, anything that you want to grab when you want and then hide it, but persist it in the background.
2022-04-09 17:06:03 +0200lambdabot(~lambdabot@haskell/bot/lambdabot) (Ping timeout: 260 seconds)
2022-04-09 17:08:41 +0200lambdabot(~lambdabot@haskell/bot/lambdabot)
2022-04-09 17:19:44 +0200mc47(~mc47@xmonad/TheMC47)
2022-04-09 17:27:20 +0200 <liskin> Solid, mc47: I haven't made any specific plans yet as I don't tend to plan that much ahead, but given what Solid said I'd be sleep deprived if I tried to arrive on Saturday :-)
2022-04-09 17:28:13 +0200 <liskin> Might want to visit some friends in Zurich as well
2022-04-09 18:17:03 +0200benin(~benin@183.82.204.110)
2022-04-09 18:35:35 +0200thonoht[m](~thonohtma@2001:470:69fc:105::d7be)
2022-04-09 19:07:51 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-04-09 19:08:16 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2022-04-09 19:13:59 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-04-09 19:20:02 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-04-09 19:29:54 +0200 <amenonsen> is there a way to hide a workspace and everything in it?
2022-04-09 19:31:12 +0200 <amenonsen> (or anything reasonably approximating that—i just have a "work" workspace, and i want to be able to skip it in my prevWS/nextWS/etc. operations during the weekend)
2022-04-09 19:46:42 +0200 <amenonsen> described that way, it sounds like i should be able to just write functions that wrap {prev,next}WS and skip a particular index based on some flag (though that's well beyond my current familiarity with haskell).
2022-04-09 19:48:44 +0200 <amenonsen> XMonad.Actions.CycleWS says "to only cycle through some subset of workspaces". maybe i should investigate that first.
2022-04-09 19:50:06 +0200 <fizzie> Given how popular XMonad.Util.NamedScratchpad is, and given that you generally never want to actually see the "NSP" workspace it uses, I would imagine for most things there's some way to ignore that, which (with sufficient effort) could be extended for your use case as well.
2022-04-09 19:50:18 +0200 <fizzie> XMonad.Actions.DynamicWorkspaceOrder might work for you as well.
2022-04-09 19:50:28 +0200 <fizzie> From the description: "Remember a dynamically updateable ordering on workspaces, together with tools for using this ordering with XMonad.Actions.CycleWS and XMonad.Hooks.StatusBar.PP."
2022-04-09 19:51:28 +0200 <amenonsen> fizzie: yes, i was just looking at ignoringWSs: "Cycle through workspaces that are not in the given list. This could, for example, be used for skipping the workspace reserved for XMonad.Util.NamedScratchpad"
2022-04-09 19:53:02 +0200 <amenonsen> hmm.
2022-04-09 19:54:33 +0200 <fizzie> Curiously enough, though, skimming the XMonad.Actions.DynamicWorkspaceOrder there seems to be methods to swap workspaces in the dynamic order, to change them, to remove them, but _not_ to add them. (I was thinking you could use that and call its `removeName` to drop the work workspace for the weekend, but then I don't know how you'd get it back.)
2022-04-09 19:54:58 +0200 <fizzie> But maybe the instructions on how to use that custom ordering with a statusbar PP and with CycleWS will be useful anyway.
2022-04-09 19:55:04 +0200 <amenonsen> there's mention of "hiddenWS" to cycle through non-visible workspaces. but i can't figure out how a workspace becomes non-visible.
2022-04-09 19:55:52 +0200 <amenonsen> failing that, though, i'm thinking maybe i can use DWO's swap method to move my work workspace to the end of the list, and use CycleWS's ignoreWSs to ignore the last two workspaces, whatever they are (assuming one of them is the named scratchpad one).
2022-04-09 19:56:57 +0200 <fizzie> I think `ignoreWSs` ignores by name. So you wouldn't have to put them anywhere specific in the order.
2022-04-09 19:57:12 +0200 <amenonsen> yeah, but how to un-ignore during the week?
2022-04-09 19:58:13 +0200 <fizzie> Oh, right. Well, yeah. You could stuff the list of currently ignored workspaces into XMonad.Util.ExtensibleState, and have your cycling keybindings pull it from there.
2022-04-09 19:59:01 +0200 <amenonsen> do you happen to know anything about hiddenWS? does that just mean workspaces that aren't the one you're looking at?
2022-04-09 19:59:31 +0200 <fizzie> Yes, I believe "hidden" in that context usually just means "not currently visible on any monitor", not specifically hidden ones.
2022-04-09 19:59:46 +0200 <amenonsen> right, ok.
2022-04-09 20:00:12 +0200 <fizzie> (ExtensibleState isn't super-simple to use, but it's got an example for storing a list of integers, which is not too far from storing a list of strings instead.)
2022-04-09 20:01:44 +0200 <amenonsen> hmm.
2022-04-09 22:12:05 +0200mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2022-04-09 22:12:25 +0200mc47(~mc47@xmonad/TheMC47)
2022-04-09 23:27:31 +0200kidany(~kidany@68.205.87.94)