Logs: liberachat/#xmonad
| 2021-11-06 04:18:29 | × | gruntsplatter quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.3) |
| 2021-11-06 04:18:53 | × | a6a45081-2b83 quits (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com) (Read error: Connection reset by peer) |
| 2021-11-06 04:19:21 | → | a6a45081-2b83 joins (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com) |
| 2021-11-06 04:19:27 | × | a6a45081-2b83 quits (~aditya@2603-6080-0800-8e4a-0000-0000-0000-01a8.res6.spectrum.com) (Client Quit) |
| 2021-11-06 05:03:35 | × | catman quits (~catman@user/catman) (Ping timeout: 256 seconds) |
| 2021-11-06 05:10:04 | → | catman joins (~catman@user/catman) |
| 2021-11-06 05:18:59 | × | mudri quits (sid317655@id-317655.helmsley.irccloud.com) (Ping timeout: 264 seconds) |
| 2021-11-06 05:19:10 | × | pl quits (sid98063@id-98063.helmsley.irccloud.com) (Ping timeout: 260 seconds) |
| 2021-11-06 05:22:10 | → | pl joins (sid98063@helmsley.irccloud.com) |
| 2021-11-06 05:33:19 | → | mudri joins (sid317655@id-317655.helmsley.irccloud.com) |
| 2021-11-06 07:01:28 | × | eblip quits (~eb0t@90.202.254.138) (Ping timeout: 268 seconds) |
| 2021-11-06 07:03:19 | → | eblip joins (~eb0t@90.209.247.46) |
| 2021-11-06 07:19:02 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2021-11-06 07:20:02 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2021-11-06 07:51:52 | × | SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Quit: WeeChat 3.3) |
| 2021-11-06 08:17:27 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2021-11-06 08:17:51 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2021-11-06 08:25:15 | → | electr0n joins (~electr0n@about/security/founder/electr0n) |
| 2021-11-06 09:10:48 | → | gruntsplatter joins (~sogens@gateway/vpn/pia/sogens) |
| 2021-11-06 10:17:26 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2021-11-06 11:05:18 | × | tremon quits (~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in) |
| 2021-11-06 11:27:26 | → | desantra joins (~skykanin@user/skykanin) |
| 2021-11-06 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) |
| 2021-11-06 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 |
| 2021-11-06 11:34:34 | <desantra> | So not just `xmonad --restart`? |
| 2021-11-06 11:36:37 | × | desantra quits (~skykanin@user/skykanin) (Quit: WeeChat 3.3) |
| 2021-11-06 11:37:51 | → | desantra joins (~skykanin@user/skykanin) |
| 2021-11-06 11:38:05 | <desantra> | Solid: yeah, rebooting fixed it |
| 2021-11-06 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 :/ |
| 2021-11-06 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) |
| 2021-11-06 11:45:36 | <Solid> | (though I would assume flameshot actively grabs the keyboard) |
| 2021-11-06 11:46:18 | <desantra> | it's not specific to ctrl+c, other bindings like ctrl+s don't work either |
| 2021-11-06 11:46:38 | <desantra> | but only when I screenshot with flameshot, otherwise they work fine |
| 2021-11-06 11:47:37 | <desantra> | I don't have any C-c prefixed keybindings |
| 2021-11-06 11:49:29 | → | seschwar joins (~seschwar@user/seschwar) |
| 2021-11-06 12:15:25 | <geekosaur> | that seems odd |
| 2021-11-06 12:24:40 | <Solid> | I just downloaded flameshot and everything's working fine here |
| 2021-11-06 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 |
| 2021-11-06 12:57:43 | <liskin> | I think I fixed this flameshot issue a couple months ago |
| 2021-11-06 12:58:07 | <liskin> | Or, more precisely, worked around, and explained to the flameshot developers what they're doing wrong |
| 2021-11-06 13:00:16 | <liskin> | https://github.com/xmonad/xmonad-contrib/commit/fde7f4f8b0a9c61051312edd73465bae22c13702 |
| 2021-11-06 13:07:48 | <Solid> | seems like they're still not grabbing the keyboard |
| 2021-11-06 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 ) |
| 2021-11-06 13:12:37 | <desantra> | lmao |
| 2021-11-06 13:16:29 | <liskin> | I wonder thy don't they just grab the keyboard? |
| 2021-11-06 13:16:35 | <liskin> | well, whatever :-) |
| 2021-11-06 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 |
| 2021-11-06 13:18:33 | <Solid> | yeah I was thinking the same thing |
| 2021-11-06 13:18:46 | <Solid> | this workaround looks more complicated than just grabbing the keyboard as well |
| 2021-11-06 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 |
| 2021-11-06 13:19:37 | <desantra> | ah, right I'm stuck on 0.15 |
| 2021-11-06 13:25:25 | <Solid> | mh I wonder when distros will finally update |
| 2021-11-06 13:25:43 | <Solid> | from the looks of it, it seems only the BSDs have 0.17.0 in their repos right now |
| 2021-11-06 13:36:41 | liskin | has no idea but isn't going to get to helping Debian any time soon :-( |
| 2021-11-06 13:37:26 | <geekosaur> | still trying to decide if I want to beard that dragon |
| 2021-11-06 13:44:31 | × | humky quits (~humky@user/humky) (Quit: Leaving) |
| 2021-11-06 13:46:57 | → | alternateved joins (~user@staticline-31-183-149-3.toya.net.pl) |
| 2021-11-06 14:04:01 | → | xboxn joins (~xboxn@109.78.63.88) |
| 2021-11-06 14:04:07 | × | xboxn quits (~xboxn@109.78.63.88) (Remote host closed the connection) |
| 2021-11-06 14:04:26 | → | xboxn joins (~xboxn@109.78.63.88) |
| 2021-11-06 14:06:12 | × | xboxn quits (~xboxn@109.78.63.88) (Remote host closed the connection) |
| 2021-11-06 14:06:47 | <alternateved> | Is there a way to use `XMonad.Actions.KeyRemap` with Emacs-like keybindings from `XMonad.Util.EZConfig`? |
| 2021-11-06 14:10:49 | → | xboxn_ joins (~xboxn@109.78.63.88) |
| 2021-11-06 14:10:53 | <xboxn_> | hey |
| 2021-11-06 14:12:32 | <geekosaur> | hi |
| 2021-11-06 14:12:54 | <xboxn_> | i am still a bit new to xmonad but i have seen to have found a bug |
| 2021-11-06 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`. |
| 2021-11-06 14:14:36 | × | alternateved quits (~user@staticline-31-183-149-3.toya.net.pl) (Remote host closed the connection) |
| 2021-11-06 14:15:26 | <geekosaur> | jumped out a bit quickly there |
| 2021-11-06 14:15:34 | <geekosaur> | xboxn_, what is your issue? |
| 2021-11-06 14:16:35 | <xboxn_> | geekosaur: terminal image previews dont seem to be working |
| 2021-11-06 14:16:48 | <xboxn_> | i have narrowed it down to xmonad as it seems to work in other wms |
| 2021-11-06 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 |
| 2021-11-06 14:19:31 | → | alternateved joins (~user@staticline-31-183-149-3.toya.net.pl) |
| 2021-11-06 14:20:00 | <alternateved> | Thanks! I'll try playing with that. |
| 2021-11-06 14:20:24 | <Solid> | xboxn_: I think uberzug (which I'm guessing you use) requires ewmh |
| 2021-11-06 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) |
| 2021-11-06 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 |
| 2021-11-06 14:24:43 | → | qbt joins (~qbt@user/edun) |
| 2021-11-06 14:25:04 | <alternateved> | Ah, no, I don't think I could manage doing that with those parsers |
| 2021-11-06 14:25:18 | × | qbt quits (~qbt@user/edun) (Client Quit) |
| 2021-11-06 14:27:32 | <xboxn_> | huh it is i a bit buggy |
| 2021-11-06 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 |
| 2021-11-06 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 |
| 2021-11-06 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) |
| 2021-11-06 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. |
| 2021-11-06 14:32:06 | <fizzie> | (It needs `conf` to understand what "M" should represent in the key specification, since that needs to match the modMask.) |
| 2021-11-06 14:32:48 | <alternateved> | Yeah, but would that work since you have to specify remapping in two places? |
| 2021-11-06 14:34:16 | <alternateved> | One place is the startupHook with something like `setDefaultKeyRemap emptyKeyRemap [myKeyRemap, emptyKeyRemap]` |
| 2021-11-06 14:35:23 | <geekosaur> | alternateved, why wouldn't it? |
| 2021-11-06 14:35:24 | <alternateved> | And the other place is concatenating keys with `buildKeyRemapBindings [myKeyRemap,emptyKeyRemap]` |
| 2021-11-06 14:35:56 | <fizzie> | Three places, really: those two, and a keybinding for changing between them. But why would that matter? |
| 2021-11-06 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. |
| 2021-11-06 14:38:53 | <desantra> | Solid: nixos is stock on xmonad 0.15 because it's the latest release available on stackages LTS resolver |
| 2021-11-06 14:38:58 | <desantra> | stuck* |
| 2021-11-06 14:39:55 | <liskin> | I still wonder if we should attempt to upgrade xmonad in older LTS. |
| 2021-11-06 14:40:27 | <liskin> | I can imagine good arguments for and against. |
| 2021-11-06 14:42:30 | <desantra> | you can update resolver package versions? I thought they were immutable |
| 2021-11-06 14:44:23 | <geekosaur> | so did I, and we missed the new LTS by 4 days so it'll be a while :( |
| 2021-11-06 14:47:49 | <alternateved> | fizzie: `Couldn't match type ‘(KeyMask, KeySym)’ with ‘[Char]’` |
All times are in UTC.