Home liberachat/#xmonad: Logs Calendar

Logs on 2023-03-16 (liberachat/#xmonad)

00:02:45 × catman quits (~catman@user/catman) (Ping timeout: 255 seconds)
00:27:42 catman joins (~catman@user/catman)
00:47:18 × catman quits (~catman@user/catman) (Ping timeout: 255 seconds)
01:12:42 liskin is still on 8.8
01:13:09 <liskin> but we should definitely add 9.6 to the CI matrix
01:46:36 catman joins (~catman@user/catman)
02:58:29 × catman quits (~catman@user/catman) (Quit: WeeChat 3.8)
03:04:49 × banc- quits (~banc@154.47.24.197) (Ping timeout: 256 seconds)
03:21:19 × td_ quits (~td@i53870901.versanet.de) (Ping timeout: 276 seconds)
03:21:49 banc joins (~banc@154.47.24.197)
03:22:24 td_ joins (~td@i53870903.versanet.de)
07:37:37 derfflinger joins (~derffling@user/derfflinger)
08:05:31 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 248 seconds)
08:07:15 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
08:13:35 thyriaen joins (~thyriaen@2a01:aea0:dd4:5328:6245:cbff:fe9f:48b1)
09:03:05 × ft quits (~ft@p3e9bc443.dip0.t-ipconnect.de) (Quit: leaving)
09:06:02 <liskin> Solid: https://twitter.com/xmonad/status/1636288540832047105
09:06:24 <liskin> I added a few tweets as a personal update as well
09:07:23 <liskin> That may have been what I was thinking of adding to the post but it'd be difficult to fit in there without everyone else giving a personal update as well
09:07:35 <liskin> Probably better to do it this way
09:08:25 <liskin> (fediverse is on my todo list for a couple months but it's hard to justify spending time on *adding* another social media platform to my life)
09:59:13 × derfflinger quits (~derffling@user/derfflinger) (Ping timeout: 246 seconds)
09:59:24 × tv quits (~tv@user/tv) (Ping timeout: 252 seconds)
10:01:45 derfflinger joins (~derffling@user/derfflinger)
10:11:44 tv joins (~tv@user/tv)
10:33:19 mncheck joins (~mncheck@193.224.205.254)
10:55:03 <Solid[m]> liskin nice, thank you :)
11:17:08 × derfflinger quits (~derffling@user/derfflinger) (Ping timeout: 252 seconds)
12:03:04 <xmonadtrack> xmonad Equwece {Tony Zorman} * v0.17.1-50-gea295da: INSTALL: Suggest to use ghcup more intensively (4 days ago, 1 file, 10+ 8-) https://github.com/xmonad/xmonad/commit/ea295dabcce1
12:03:05 <xmonadtrack> xmonad Tony Zorman {GitHub} * v0.17.1-51-g386d4e6: Merge pull request #441 from Equwece/suggest-to-use-ghcup (72 seconds ago, 0 files, 0+ 0-) https://github.com/xmonad/xmonad/commit/386d4e6295f1
12:06:35 derfflinger joins (~derffling@user/derfflinger)
12:28:03 tdammers joins (~tdammers@219-131-178-143.ftth.glasoperator.nl)
13:25:37 thunderrd joins (~thunderrd@183.182.111.130)
13:31:44 × derfflinger quits (~derffling@user/derfflinger) (Remote host closed the connection)
13:32:10 derfflinger joins (~derffling@user/derfflinger)
15:17:10 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
15:37:38 catman joins (~catman@user/catman)
15:46:34 × derfflinger quits (~derffling@user/derfflinger) (Read error: Connection reset by peer)
16:02:47 × catman quits (~catman@user/catman) (Ping timeout: 246 seconds)
16:04:55 chomwitt joins (~chomwitt@2a02:587:7a19:9200:1ac0:4dff:fedb:a3f1)
16:49:46 catman joins (~catman@user/catman)
17:13:03 hrberg joins (~quassel@171.79-160-161.customer.lyse.net)
17:25:33 × thyriaen quits (~thyriaen@2a01:aea0:dd4:5328:6245:cbff:fe9f:48b1) (Quit: Leaving)
17:34:05 × deebo quits (~globe@stonebay32.com) (Ping timeout: 256 seconds)
17:34:23 deebo joins (~globe@stonebay32.com)
17:35:56 beastwick joins (~beastwick@pool-74-102-103-88.nwrknj.fios.verizon.net)
17:37:29 <beastwick> hello, trying to bind and use a simple modMask, but getting Expected: [((KeyMask, KeySym), X ())], Actual: [((XConfig l0 -> KeyMask, KeySym), X ())] where I do modMask = mod4Mask in my def block via, main = xmonad . ewmh $ def
17:38:17 <geekosaur> can you show a little more detail?
17:38:19 <geekosaur> @where paste
17:38:20 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
17:38:26 <beastwick> yes sorry ty for the paste link
17:39:55 <beastwick> https://paste.tomsmeding.com/bM0FdHFt
17:41:19 <geekosaur> it's not actually the modMask line it's complaining about, it's line 76
17:41:39 <beastwick> yes, but that line works if I use mod4Mask
17:41:53 <geekosaur> yep
17:42:30 <beastwick> so there is no way to assign a variable to modMask and use it? I should just use mod4Mask?
17:42:43 <geekosaur> modMask is only available as (a) a field name for a record update, as on line 68 (b) a field selector which takes an XConfig as a parameter and produces its modMask
17:43:04 <geekosaur> which you can't use because your config is anonymous
17:43:27 <geekosaur> so use mod4Mask or consider rephrasing your config
17:43:49 <beastwick> tyvm
17:44:59 <geekosaur> or switch to `additionalKeysP` which lets you use it as `"M-"` prefix, but then you also have to rewrite lines 79 and 81 into `additionalKeysP` format
17:45:29 <beastwick> yeah, I wanted to actually write it this way, seems easier to programatically work with key bindings
18:36:52 × mncheck quits (~mncheck@193.224.205.254) (Ping timeout: 246 seconds)
19:29:20 jamboy joins (~jamboy@103.110.145.180)
19:29:57 <jamboy> Hi
19:30:17 × jamboy quits (~jamboy@103.110.145.180) (Client Quit)
19:30:38 jamboy joins (~jamboy@103.110.145.180)
19:30:53 <jamboy> Hi
19:31:50 <jamboy> How to go to fullscreen with mod + f
19:32:00 <jamboy> Is there any way?
19:39:47 <geekosaur> fullscreen is typically handled by the app, not the window manager (for example, if you do it via the wm, browsers won't hide their location bars or etc.)
19:40:13 <geekosaur> you could bind mod-f to switch to a fullscreen layout
19:41:23 × jamboy quits (~jamboy@103.110.145.180) (Quit: Client closed)
19:48:56 ft joins (~ft@p3e9bc443.dip0.t-ipconnect.de)
19:49:50 <beastwick> geekosaur, I have made a lot of progress. However, for some reason moving windows to workspace binds that I set during a session does not seem to work. https://paste.tomsmeding.com/yRYSUg1q pls see the last line in my paste, it seems to send windows to a workspace I can't find.
19:50:37 <beastwick> like if I create a workspace, set the index of that space to 1, try sending a window to workspace 1, it seems to get lost
19:50:49 <beastwick> but yet I can move to workspace 1 fine
20:01:04 <geekosaur> none of these appears to move a window? the last line views a workspace via `withNthWorkspace`
20:01:52 <beastwick> oh, am I using the wrong function?
20:02:02 <beastwick> I am trying to send a window to a workspace with that line
20:02:10 <beastwick> I admittedly don't understand the code 100%
20:02:35 <beastwick> -- mod-shift-[1..9] %! Move client to workspace N in the list of workspaces
20:02:39 <beastwick> zip (zip (repeat (modm .|. shiftMask)) [xK_1..xK_9]) (map (withNthWorkspace W.shift) [0..])
20:03:09 <beastwick> but I followed the example where we do't care about workspace list order, so I set 0.. to 1..
20:03:25 <geekosaur> that looks more correct, but it's not what your paste has (or had when I loaded it)
20:03:53 <geekosaur> line 95 is: zip (zip (repeat (mod4Mask .|. shiftMask)) [xK_1..xK_9]) (map (withNthWorkspace W.greedyView) [1..]))
20:03:54 <beastwick> oh yes I changed to greedView
20:04:13 <geekosaur> W.shift is what it should be if you want to move a window
20:04:15 <beastwick> let me try again
20:05:15 <geekosaur> I'm not sure how DynamicWorkspaceOrder and DynamicWorkspaces combine (line 91 vs. 95)
20:06:16 <geekosaur> (I admit that I am not familiar with these modules. maybe byorgey is around to help)
20:07:17 <beastwick> yeah switching to W.shift kind of works, the index is off though
20:09:09 <geekosaur> right, it's a different index
20:09:29 <geekosaur> basically you're using one index and then using functions that use a different index
20:09:37 <geekosaur> so they don't match
20:09:57 <beastwick> mmm, is there a way to make them match? I thought this would be ok once I set the index first with the keybind
20:10:04 <geekosaur> I think you need to pick one and stick with it, otherwise you need to update both in sync
20:10:31 <beastwick> mmm what is the approach for moving windows to dynamically created workspaces?
20:11:08 <geekosaur> is there a reason you aren't using `withWorkspaceIndex`?
20:11:27 <geekosaur> becuase your other keybinds use or update that
20:11:52 <beastwick> just following the docs
20:12:07 <beastwick> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Actions-DynamicWorkspaces.html
20:14:20 <geekosaur> yes, I'm looking at that now. it says to use one or the other, not both
20:14:35 <beastwick> oh wait
20:14:43 <beastwick> i am a fool
20:14:49 <geekosaur> "Alternatively, you can associate indexes"
20:14:53 <beastwick> withWorkspaceIndex W.shift
20:15:11 <geekosaur> if you do that, you need to use `withWorkspaceIndex` instead of `withNthWorkspace`
20:15:21 <geekosaur> yes
20:15:23 <beastwick> yeah, it just all came together
20:18:37 <beastwick> and that works
21:18:38 hightower2 joins (~hightower@20-10.dsl.iskon.hr)
21:57:32 <beastwick> ty again geekosaur for your time and help
22:20:28 × Forkk quits (~forkk@li926-228.members.linode.com) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
22:20:54 Forkk joins (~forkk@li926-228.members.linode.com)
23:20:23 × catman quits (~catman@user/catman) (Quit: WeeChat 3.8)
23:31:25 catman joins (~catman@user/catman)
23:47:00 × catman quits (~catman@user/catman) (Ping timeout: 255 seconds)

All times are in UTC on 2023-03-16.