Home liberachat/#xmonad: Logs Calendar

Logs on 2021-11-06 (liberachat/#xmonad)

00:17:10 catman joins (~catman@user/catman)
00:53:45 × SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
00:54:32 SenranKaguya joins (~weechat@c-73-15-19-170.hsd1.ca.comcast.net)
00:56:57 × SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Remote host closed the connection)
00:57:19 SenranKaguya joins (~weechat@c-73-15-19-170.hsd1.ca.comcast.net)
01:39:38 steve_ joins (~steve@ool-182c2aa4.dyn.optonline.net)
01:40:17 × steve__ quits (~steve@ool-182c2aa4.dyn.optonline.net) (Remote host closed the connection)
01:44:46 × catman quits (~catman@user/catman) (Ping timeout: 260 seconds)
01:48:39 a6a45081-2b83 joins (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com)
01:51:46 × a6a45081-2b83 quits (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com) (Read error: Connection reset by peer)
01:56:03 a6a45081-2b83 joins (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com)
01:58:19 × a6a45081-2b83 quits (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com) (Read error: Connection reset by peer)
01:58:48 a6a45081-2b83 joins (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com)
01:59:54 × a6a45081-2b83 quits (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com) (Remote host closed the connection)
02:01:52 catman joins (~catman@user/catman)
02:15:35 × gruntsplatter quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.3)
02:39:22 × catman quits (~catman@user/catman) (Ping timeout: 260 seconds)
02:41:14 catman joins (~catman@user/catman)
02:43:32 × catman quits (~catman@user/catman) (Max SendQ exceeded)
02:43:58 catman joins (~catman@user/catman)
02:49:23 gruntsplatter joins (~sogens@gateway/vpn/pia/sogens)
03:04:01 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
03:04:20 catman_ joins (~catman@user/catman)
03:05:47 × catman quits (~catman@user/catman) (Ping timeout: 264 seconds)
03:08:11 catman_ is now known as catman
03:20:43 × electr0n quits (~electr0n@about/security/founder/electr0n) (Ping timeout: 268 seconds)
03:24:23 banc joins (banc@gateway/vpn/airvpn/banc)
03:44:57 × eyenx quits (~m-5paiux@eyenx.ch) (Remote host closed the connection)
03:45:41 eyenx joins (~m-5paiux@eyenx.ch)
03:56:43 a6a45081-2b83 joins (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com)
04:13:47 × a6a45081-2b83 quits (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com) (Read error: Connection reset by peer)
04:18:08 a6a45081-2b83 joins (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com)
04:18:29 × gruntsplatter quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.3)
04:18:53 × a6a45081-2b83 quits (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com) (Read error: Connection reset by peer)
04:19:21 a6a45081-2b83 joins (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com)
04:19:27 × a6a45081-2b83 quits (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com) (Client Quit)
05:03:35 × catman quits (~catman@user/catman) (Ping timeout: 256 seconds)
05:10:04 catman joins (~catman@user/catman)
05:18:59 × mudri quits (sid317655@id-317655.helmsley.irccloud.com) (Ping timeout: 264 seconds)
05:19:10 × pl quits (sid98063@id-98063.helmsley.irccloud.com) (Ping timeout: 260 seconds)
05:22:10 pl joins (sid98063@helmsley.irccloud.com)
05:33:19 mudri joins (sid317655@id-317655.helmsley.irccloud.com)
07:01:28 × eblip quits (~eb0t@90.202.254.138) (Ping timeout: 268 seconds)
07:03:19 eblip joins (~eb0t@90.209.247.46)
07:19:02 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
07:20:02 geekosaur joins (~geekosaur@xmonad/geekosaur)
07:51:52 × SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Quit: WeeChat 3.3)
08:17:27 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
08:17:51 geekosaur joins (~geekosaur@xmonad/geekosaur)
08:25:15 electr0n joins (~electr0n@about/security/founder/electr0n)
09:10:48 gruntsplatter joins (~sogens@gateway/vpn/pia/sogens)
10:17:26 mc47 joins (~mc47@xmonad/TheMC47)
11:05:18 × tremon quits (~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
11:27:26 desantra joins (~skykanin@user/skykanin)
11:28:57 <desantra> Is it possible to have less than 12 workspaces? I currently have 9 (https://bpa.st/XD6Q) but for some reason polybar is showing more (including 0, -, = workspaces)
11:30:31 <Solid> I think changes to the number of workspaces is one of those times where one actually has to restart xmonad completely
11:34:34 <desantra> So not just `xmonad --restart`?
11:36:37 × desantra quits (~skykanin@user/skykanin) (Quit: WeeChat 3.3)
11:37:51 desantra joins (~skykanin@user/skykanin)
11:38:05 <desantra> Solid: yeah, rebooting fixed it
11:39:16 <desantra> also, why don't keybindings like ctrl+c work when you've taken a screenshot with flameshot. I have to manually click the copy button now. This used to work in i3 :/
11:45:17 <Solid> perhaps you've accidentally grabbed that key already (as in, you have a keybinding for C-c or a combination that start with C-c)
11:45:36 <Solid> (though I would assume flameshot actively grabs the keyboard)
11:46:18 <desantra> it's not specific to ctrl+c, other bindings like ctrl+s don't work either
11:46:38 <desantra> but only when I screenshot with flameshot, otherwise they work fine
11:47:37 <desantra> I don't have any C-c prefixed keybindings
11:49:29 seschwar joins (~seschwar@user/seschwar)
12:15:25 <geekosaur> that seems odd
12:24:40 <Solid> I just downloaded flameshot and everything's working fine here
12:39:28 <desantra> hmm, also do I need to sleep for 2secs or smth when I start i3-lock on startup, because rn stuff gets rendered on top of the lock screen even though the screen is locked
12:57:43 <liskin> I think I fixed this flameshot issue a couple months ago
12:58:07 <liskin> Or, more precisely, worked around, and explained to the flameshot developers what they're doing wrong
13:00:16 <liskin> https://github.com/xmonad/xmonad-contrib/commit/fde7f4f8b0a9c61051312edd73465bae22c13702
13:07:48 <Solid> seems like they're still not grabbing the keyboard
13:08:02 <Solid> instead they... display a message that the user has to click on the window in order to focus it :D ( https://github.com/flameshot-org/flameshot/pull/1958 )
13:12:37 <desantra> lmao
13:16:29 <liskin> I wonder thy don't they just grab the keyboard?
13:16:35 <liskin> well, whatever :-)
13:18:33 <desantra> so it's a flameshot issue then, the PR is pretty new tho so maybe I have an old version of flameshot
13:18:33 <Solid> yeah I was thinking the same thing
13:18:46 <Solid> this workaround looks more complicated than just grabbing the keyboard as well
13:19:24 <Solid> desantra: the fix to xmonad is also relatively new and you won't have it unless you're on 0.17.0 or newer
13:19:37 <desantra> ah, right I'm stuck on 0.15
13:25:25 <Solid> mh I wonder when distros will finally update
13:25:43 <Solid> from the looks of it, it seems only the BSDs have 0.17.0 in their repos right now
13:36:41 liskin has no idea but isn't going to get to helping Debian any time soon :-(
13:37:26 <geekosaur> still trying to decide if I want to beard that dragon
13:44:31 × humky quits (~humky@user/humky) (Quit: Leaving)
13:46:57 alternateved joins (~user@staticline-31-183-149-3.toya.net.pl)
14:04:01 xboxn joins (~xboxn@109.78.63.88)
14:04:07 × xboxn quits (~xboxn@109.78.63.88) (Remote host closed the connection)
14:04:26 xboxn joins (~xboxn@109.78.63.88)
14:06:12 × xboxn quits (~xboxn@109.78.63.88) (Remote host closed the connection)
14:06:47 <alternateved> Is there a way to use `XMonad.Actions.KeyRemap` with Emacs-like keybindings from `XMonad.Util.EZConfig`?
14:10:49 xboxn_ joins (~xboxn@109.78.63.88)
14:10:53 <xboxn_> hey
14:12:32 <geekosaur> hi
14:12:54 <xboxn_> i am still a bit new to xmonad but i have seen to have found a bug
14:13:48 <fizzie> alternateved: I don't think there's a built-in way, but X.U.EZConfig does export the parser (see `readKeySequence`), which you could use with relatively little plumbing to build X.A.KeyRemap `KeymapTable`.
14:14:36 × alternateved quits (~user@staticline-31-183-149-3.toya.net.pl) (Remote host closed the connection)
14:15:26 <geekosaur> jumped out a bit quickly there
14:15:34 <geekosaur> xboxn_, what is your issue?
14:16:35 <xboxn_> geekosaur: terminal image previews dont seem to be working
14:16:48 <xboxn_> i have narrowed it down to xmonad as it seems to work in other wms
14:17:15 <xboxn_> and from the errors i have gotten it seems to be a issue with how xmonad reports window titles and locations
14:19:31 alternateved joins (~user@staticline-31-183-149-3.toya.net.pl)
14:20:00 <alternateved> Thanks! I'll try playing with that.
14:20:24 <Solid> xboxn_: I think uberzug (which I'm guessing you use) requires ewmh
14:21:20 <geekosaur> I could still see problems even with ewmh, if it has the usual problems with either window borders or lack of frame windows (neither of which is a bug)
14:23:43 <geekosaur> image previews don't work in mate-panel's taskbar either, I just switched it to titles because I didn't want previews anyway. since it was displaying garbage I assume it was the window borders that threw it off
14:24:43 qbt joins (~qbt@user/edun)
14:25:04 <alternateved> Ah, no, I don't think I could manage doing that with those parsers
14:25:18 × qbt quits (~qbt@user/edun) (Client Quit)
14:27:32 <xboxn_> huh it is i a bit buggy
14:27:33 <geekosaur> mm, actually it seems to be working now, but only if the window has been mapped recently. I think that's just that we unmap windows when not visible
14:28:56 <xboxn_> welp i am gonna keep this open in case i need a bit more help while i am configuring more stuff
14:29:50 <geekosaur> (but this is mate-panel, I don't know what you are using and it may still have issues with lack of frame windows or use of border_width, we see a lot of that)
14:31:28 <fizzie> alternateved: Well, the last one's just a fully wrapped thing that goes from String to (KeyMask, KeySym), the thing you need for X.A.KeyRemap. So in the minimal viable case, it'd just be `KeymapTable [(fromJust (readKeySequence conf "abc"), fromJust (readKeySequence conf "xyz"))]` to do the equivalent of `KeymapTable [((a, bc), (x, yz))]` except with EZConfig-style key descriptions.
14:32:06 <fizzie> (It needs `conf` to understand what "M" should represent in the key specification, since that needs to match the modMask.)
14:32:48 <alternateved> Yeah, but would that work since you have to specify remapping in two places?
14:34:16 <alternateved> One place is the startupHook with something like `setDefaultKeyRemap emptyKeyRemap [myKeyRemap, emptyKeyRemap]`
14:35:23 <geekosaur> alternateved, why wouldn't it?
14:35:24 <alternateved> And the other place is concatenating keys with `buildKeyRemapBindings [myKeyRemap,emptyKeyRemap]`
14:35:56 <fizzie> Three places, really: those two, and a keybinding for changing between them. But why would that matter?
14:38:36 <fizzie> Just do a `myKeyRemap = KeymapTable [...]` and you can refer to it from all three places. If it's inconvenient to arrange for `conf` to be the "real" configuration, I imagine you can just use `def { modMask = myModMask }` since the only field that matters is the modMask.
14:38:53 <desantra> Solid: nixos is stock on xmonad 0.15 because it's the latest release available on stackages LTS resolver
14:38:58 <desantra> stuck*
14:39:55 <liskin> I still wonder if we should attempt to upgrade xmonad in older LTS.
14:40:27 <liskin> I can imagine good arguments for and against.
14:42:30 <desantra> you can update resolver package versions? I thought they were immutable
14:44:23 <geekosaur> so did I, and we missed the new LTS by 4 days so it'll be a while :(
14:47:49 <alternateved> fizzie: `Couldn't match type ‘(KeyMask, KeySym)’ with ‘[Char]’`
14:48:02 <geekosaur> @where paste
14:48:02 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
14:48:14 × gruntsplatter quits (~sogens@gateway/vpn/pia/sogens) (Ping timeout: 260 seconds)
14:48:30 <geekosaur> sounds to me like you have something backwards or misplaced
14:48:43 <alternateved> Still not sure how that parsing would work here, since it won't parse to [Char] which myKeys is
14:48:47 <alternateved> Yeah, I do
14:49:53 <geekosaur> hm, [Char] means you don't need to use parsing. this I thought was about using parsing to go from String to the (KeyMaks,KeySym) that KeyRemap expects
14:50:20 <geekosaur> *KeyMask
14:50:37 <alternateved> No, it is a about making KeyRemap work with EZConfig Emacs bindings
14:52:37 <liskin> desantra: you can ask the curators to manually bump a major version of a package, and they can do so if they think it's a good idea
14:53:23 <alternateved> Ah, dunno, I have a feeling that without rewritting `XMonad.Actions.KeyRemap` to be more EZConfig friendly it isn't possible
14:53:29 <Solid> geekosaur: a newer resolver is out already, actually, but xmonad still seems to be on 0.15/0.16
14:53:37 <liskin> geekosaur: did we? LTS 18 has been out for a few months, and we're back in nightly
14:54:18 <liskin> (xmonad was dropped because 0.15 didn't build with ghc 9.0)
14:54:55 <fizzie> alternateved: The way I interpreted "making KeyRemap work with EZConfig Emacs bindings" *is* the same as parsing (EZConfig) String values into (KeyRemap) KeyTables.
14:55:55 <alternateved> The question is mainly how to append output of `buildKeyRemapBindings` function to myKeys which is of type `[(String, X ())]`
14:56:02 <geekosaur> when I went to stackage.org it said the LTS had last been updated 4 days ago. so either they released 4 days ago or LTS isn't immutable… but immutability was supposedly one of the selling points of resolvers
14:56:08 <fizzie> Oh! Well, don't append to *that*.
14:56:24 <fizzie> Just append it to the `keys` field of your configuration.
14:56:54 <alternateved> Hmm, do you know how could I refer to default xmonad keys with keys?
14:57:06 <Solid> geekosaur: yeah but new stack lts resolvers get released every 1-3 weeks or so
14:57:39 <geekosaur> `keys def conf`
14:58:03 <fizzie> alternateved: You can see what `additionalKeysP` actually does, to figure out how EZConfig adds the keys to your configuration: https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/src/XMonad.Util.EZConfig.html#additionalKeysP
14:58:17 <geekosaur> if you need a particular key you can then treat that as a Map
14:59:12 <fizzie> alternateved: Also, even easier than that, you can just chain `additionalKeys` and `additionalKeysP` to combine your Emacs-style `myKeys` with the table out of buildKeyRemapBindings.
14:59:56 <fizzie> As in: assuming your current setup is <your config> `additionalKeysP` myKeys turn that into <your config> `additionalKeysP` myKeys `additionalKeys` buildKeyRemapBindings ...
15:01:35 <alternateved> Ahh, I'm dumb
15:01:41 <alternateved> You are right
15:02:15 <liskin> geekosaur: LTS promises to only bring bugfixes and security patches in minor LTS updates
15:02:30 <alternateved> `additionalKeys` takes exactly whate `buildKeyRemapBindings` returns
15:02:54 <liskin> geekosaur: Obviously a minor version bump isn't just for fun, it will update minor versions of some packages
15:03:17 <liskin> Major updates are only allowed in major LTS bumps
15:04:38 <liskin> But 4 days ago a minor update got released, so xmonad major update wasn't even considered. We can only hope that get in on a major LTS bump.
15:05:13 <liskin> LTS 19 will have new xmonad. LTS 18 won't, unless the curators choose to bump it anyway.
15:08:29 <alternateved> fizzie: Thanks a lot! That was much simpler than I thought
15:08:53 × alternateved quits (~user@staticline-31-183-149-3.toya.net.pl) (Remote host closed the connection)
15:09:33 alternateved joins (~user@staticline-31-183-149-3.toya.net.pl)
15:20:29 × alternateved quits (~user@staticline-31-183-149-3.toya.net.pl) (Remote host closed the connection)
16:04:14 × Armoletti^ quits (~armoletti@dyn70-177.yok.fi) (Ping timeout: 268 seconds)
16:04:33 Armoletti^ joins (~armoletti@dyn70-177.yok.fi)
16:26:01 × desantra quits (~skykanin@user/skykanin) (Quit: WeeChat 3.3)
17:24:51 qbt joins (~qbt@user/edun)
17:26:19 × qbt quits (~qbt@user/edun) (Client Quit)
17:48:25 bsjd joins (~user@2a02:a020:e8:d6fe:45d7:eea7:cb87:a155)
19:03:33 noex joins (~blake@2600:8804:1280:aa0:5857:94a:25de:c513)
19:16:30 × xboxn_ quits (~xboxn@109.78.63.88) (Quit: Leaving)
20:29:15 Guest25 joins (~Guest25@ip71.ip-51-89-255.eu)
20:29:35 × Guest25 quits (~Guest25@ip71.ip-51-89-255.eu) (Client Quit)
21:13:49 × darkstardevx quits (~darkstard@50.39.114.152) (Read error: Connection reset by peer)
21:22:34 darkstardevx joins (~darkstard@50.39.114.152)
21:23:28 × darkstardevx quits (~darkstard@50.39.114.152) (Remote host closed the connection)
21:23:52 darkstardevx joins (~darkstard@50.39.114.152)
21:47:41 × catman quits (~catman@user/catman) (Remote host closed the connection)
21:55:06 catman joins (~catman@user/catman)
21:57:30 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 268 seconds)
22:12:43 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
22:31:00 × zawaken quits (~zawaken@user/zawaken) (Quit: ZNC 1.8.2 - https://znc.in)
22:34:26 × electr0n quits (~electr0n@about/security/founder/electr0n) (Quit: WeeChat 3.3)
22:40:42 zawaken joins (~zawaken@user/zawaken)
22:55:12 × zawaken quits (~zawaken@user/zawaken) (Quit: ZNC 1.9.x-nightly-20211008-ac57c0e5 - https://znc.in)
22:59:46 zawaken joins (~zawaken@user/zawaken)
23:13:43 × catman quits (~catman@user/catman) (Remote host closed the connection)
23:25:43 × seschwar quits (~seschwar@user/seschwar) (Quit: :wq)
23:31:32 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
23:33:13 geekosaur joins (~geekosaur@xmonad/geekosaur)
23:35:24 darkstarx joins (~darkstard@185.226.144.76)
23:37:58 × darkstardevx quits (~darkstard@50.39.114.152) (Ping timeout: 260 seconds)
23:40:25 darkstardev13 joins (~darkstard@176.113.72.221)
23:42:07 catman joins (~catman@user/catman)
23:43:02 × darkstarx quits (~darkstard@185.226.144.76) (Ping timeout: 260 seconds)
23:48:24 darkstarx joins (~darkstard@50.39.114.152)
23:50:56 × darkstardev13 quits (~darkstard@176.113.72.221) (Ping timeout: 245 seconds)

All times are in UTC on 2021-11-06.