Home liberachat/#xmonad: Logs Calendar

Logs on 2022-12-05 (liberachat/#xmonad)

00:52:52 mvk joins (~mvk@2607:fea8:5ce3:8500::efb)
01:05:53 × thyriaen quits (~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1) (Quit: Leaving)
01:39:30 × mvk quits (~mvk@2607:fea8:5ce3:8500::efb) (Quit: Going elsewhere)
02:14:39 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 260 seconds)
02:56:45 HarryPrayIV[m] joins (~harrypray@2001:470:69fc:105::2:d1ee)
03:02:16 <HarryPrayIV[m]> Hi everyone.... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/2e942d5c9b594ccf3b7584250a78ca15cb0e8b10>)
03:02:38 × banc quits (banc@gateway/vpn/protonvpn/banc) (Ping timeout: 256 seconds)
03:26:05 banc joins (banc@gateway/vpn/protonvpn/banc)
03:30:32 × jeeeun quits (~jeeeun@78.40.148.178) (Remote host closed the connection)
03:33:06 <_Ity[m]> > <@harryprayiv:matrix.org> Hi everyone.... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/d79d5759739b9d959f2558d8257f69229909f366>)
03:33:08 <lambdabot> <hint>:1:1: error: parse error on input ‘<@’
03:34:31 <_Ity[m]> What's that bot?
03:34:39 <_Ity[m]> > 1+2
03:34:40 <lambdabot> 3
03:34:43 <_Ity[m]> Oooooo
03:34:47 <_Ity[m]> Noice
03:35:24 <_Ity[m]> @ty putStrLn
03:35:25 <lambdabot> String -> IO ()
03:35:34 <_Ity[m]> Magic
03:37:20 <_Ity[m]> Does it have xmonad stuff imported?
03:37:49 <_Ity[m]> @ty xmonad
03:37:50 <lambdabot> error: Variable not in scope: xmonad
03:38:07 <_Ity[m]> @ty XMonad.Main.xmonad
03:38:08 <lambdabot> error:
03:38:08 <lambdabot> Not in scope: ‘XMonad.Main.xmonad’
03:38:08 <lambdabot> No module named ‘XMonad.Main’ is imported.
03:39:01 <_Ity[m]> Welp
03:43:19 × terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
03:45:54 terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1)
03:47:24 × td_ quits (~td@83.135.9.35) (Ping timeout: 256 seconds)
03:49:14 td_ joins (~td@83.135.9.25)
03:54:44 <HarryPrayIV[m]> <_Ity[m]> "> <@harryprayiv:matrix.org> Hi..." <- I’m making a distinction between two windows that I want to spawn on the “com” workspace and pop-ups that might normally happen in everyday web-browsing. Right now, Xmonad treats ALL pop ups the same but I want it to treat two specific apps differently than any pop up that may happen during regular browsing. I hope this clears that up.
03:58:12 <HarryPrayIV[m]> s/apps/popups/, s/pop/popup/, s/up//
04:36:24 × lokesh1197 quits (~Thunderbi@14.139.128.52) (Ping timeout: 260 seconds)
04:57:28 lokesh1197 joins (~Thunderbi@14.139.128.52)
05:01:38 × lokesh1197 quits (~Thunderbi@14.139.128.52) (Read error: Connection reset by peer)
05:58:10 lokesh1197 joins (~Thunderbi@14.139.128.52)
06:08:43 <AskYourself[m]> I'm trying to add a thing to reset the layout. For ex I often expand the master window horizontally, and then later I wanna reset it to center without having to tap the decrease size button over and over. I'm trying to implement a keybind to do this. Right now I have `("M-w", setLayout $ layoutHook conf... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/b147e54468f1d0d0e38bf682587dd7cc7b546684>)
06:09:01 <AskYourself[m]> * I'm trying to add a keybind to reset the layout. For ex I often expand the master window horizontally, and then later I wanna reset it to center without having to tap the decrease size button over and over. I'm trying to implement a keybind to do this. Right now I have `("M-w", setLayout $ layoutHook conf... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/47120b34219cc6e8d03feb57573f8e263e58256d>)
06:09:26 <AskYourself[m]> * I'm trying to add a keybind to reset the layout. For ex I often expand the master window horizontally, and then later I wanna reset it to center without having to tap the decrease size button over and over. I'm trying to implement a keybind to do this. Right now I have `("M-w", setLayout $ layoutHook conf... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/1b1da20de9b72e6286b97250a9a83cf4912c5354>)
06:09:38 <AskYourself[m]> * I'm trying to add a keybind to reset the layout. For ex I often expand the master window horizontally, and then later I wanna reset it to center without having to tap the decrease size button over and over. I'm trying to implement a keybind to do this. Right now I have `("M-w", setLayout $ layoutHook conf... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/8d8cb54c8f2db847b4452b9440487756b9226ae8>)
06:13:10 <[Leary]> AskYourself[m]: There's already a default binding for this, iirc it's mod+shift+space.
06:13:52 <AskYourself[m]> Oh, ok that worked. But, I deff want to remap that, so I think I still need to figure this out (or some alternative).
06:15:47 <[Leary]> Well, you're already using (`additionalKeysP` myKeyBinds), so I imagine that's where you want to put new keybinds.
06:16:33 <AskYourself[m]> Yeah, and generally I have no trouble. With this one what's confusing me is adding the conf bit as an argument to the keybinds then calling those keybinds in main.
06:16:54 <AskYourself[m]> None of the other keybinds I've implemented have required altering the type sig of the keybinds I feed to main.
06:22:10 <[Leary]> Ah, I don't think EZConfig gives you access to the config argument, so I guess you'll want to write some manual bindings. In this case, at the top level you would write something like `myRawKBs XConfig{modMask,layoutHook} = M.fromList [ ((modMask, xK_w), setLayout layoutHook) ]`, then in `myConfig` you'd define `keys = myRawKBs <> keys def`.
06:22:30 <[Leary]> I have food waiting though, so I can't really help you further.
06:23:07 <AskYourself[m]> Ok thank you.
06:31:16 <Solid> AskYourself[m]: Be aware that there is a standard binding for that: M-S-<Space>
06:50:48 mncheckm joins (~mncheck@193.224.205.254)
06:59:05 × lokesh1197 quits (~Thunderbi@14.139.128.52) (Ping timeout: 260 seconds)
07:12:52 <AskYourself[m]> <Solid> "Ask Yourself🍉: Be aware that..." <- Thank you, yeah I'm using that for now. Gonna implement a custom one shortly with the strategy [Leary] gave.
07:13:51 <Solid> I'm still not fully awake, but why do you need the config argument in the first place?
07:14:14 <Solid> Couldn't you just `("M-w", setLayout $ layoutHook myConfig)`?
07:14:46 <AskYourself[m]> I tried that but missed the $, lemme test that..
07:15:01 <AskYourself[m]> Ohhh, I see you mean in the def.
07:15:09 <AskYourself[m]> I tried that in the main.
07:15:57 <AskYourself[m]> Ok yeah it's giving me the same complaint as when I tried that in main:
07:16:01 AskYourself[m] uploaded an image: (65KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/FmqtUAWmwNYnxTlIqVKZMBaE/image.png >
07:16:43 <AskYourself[m]> My config doesn't have the right type, and I don't know these types to well, and some of them get a bit complicated, so I had some trouble figuring that out.
07:16:58 <AskYourself[m]> s/to/too/
07:20:47 <Solid> ah, I guess you want `setLayout $ Layout (layoutHook myConfig)` or something
07:23:00 escobear joins (~gknux@user/galaxy-knuckles/x-3015990)
07:23:28 × gknux quits (~gknux@user/galaxy-knuckles/x-3015990) (Ping timeout: 260 seconds)
07:23:46 escobear is now known as gknux
07:24:13 <AskYourself[m]> Hmm. It compiles but doesn't seem to have any effect.
07:24:42 <AskYourself[m]> I had the same thing happen with the window hiding keybinds.
07:25:41 <AskYourself[m]> Oh nvm, it was just double-bound, works. Thank you.
07:26:36 <AskYourself[m]> I also wanted to ask about these hidden spaces. I've added this:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/da4daa9c3784e081561311a74cc45ef0642666ec>)
08:53:37 cfricke joins (~cfricke@user/cfricke)
09:00:06 × mojowings[m] quits (~mojowings@2001:470:69fc:105::2:b42f) (Quit: You have been kicked for being idle)
09:33:02 jeeeun joins (~jeeeun@78.40.148.178)
09:34:33 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.7.1)
09:43:33 cfricke joins (~cfricke@user/cfricke)
10:52:18 <ChaoticMist[m]> liskin @liskin:matrix.org: thought I should ask you about the status of `ConditionalLayoutModifier` PR in contrib. Are you still interested in that PR or did you give up on it?
10:52:18 <ChaoticMist[m]> It has been ~1.5 years since that PR was writen and it made me curious about what the community thinks about it.
11:35:44 <liskin> ChaoticMist[m]: I gave up on life in general
11:36:42 <liskin> that being said, Solid recently mentioned he'd like to pick it up
11:37:32 <liskin> it's just a matter of taking my code from the comment and adding some docs to it
11:39:22 <ChaoticMist[m]> liskin: Seeing a psychologist? If not, try it out! It does help (speaking from experience)
11:40:59 <liskin> and possibly also writing the CondChoose/IfThenElseLayout counterpart, the implementation of which would be fairly similar, and then we could build all the existing buggy conditional extensions on top of it
11:41:18 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
11:41:31 <liskin> ChaoticMist[m]: working on it, slowly
11:42:41 <ChaoticMist[m]> liskin: Good! Update me when you feel better. ;)
11:45:06 <liskin> well the other issue is that when I do feel better, there's a massive pile of TODO stuff that either someone pays me to do, or that happens to benefit myself personally, so that naturally takes priority these days :-(
11:45:45 <liskin> but then yeah, ConditionalLayoutModifier is almost done, just needs a bit of polish
11:46:01 <liskin> makes you wonder why didn't someone come and do that
11:46:16 <ChaoticMist[m]> liskin: Can you not outsource part of that job?
11:46:50 <ChaoticMist[m]> liskin: Good question.. nonetheless, do not stress about anything
11:47:11 <liskin> ChaoticMist[m]: outsource? don't think so
11:47:28 <liskin> takes me months to get in the mood to register with a bloody dentist
11:47:43 <liskin> imagine trying to find someone competent to complete my programming todos :-)
11:47:48 <ChaoticMist[m]> You don't need a heart fibrillation on top of your current issues
11:48:47 h7x4[m] joins (~h7x4naniw@2001:470:69fc:105::1:f33d)
11:49:18 <ChaoticMist[m]> liskin: Reminds me of swedish healthcare, uncle had to wait 3 months on a very severe heart fibrillation condition to get his surgery.. also first try failed -> 1 extra month wait
11:49:22 <ChaoticMist[m]> Shit is crazy
11:50:08 <liskin> shit is crazy indeed, but this is more of a me problem rather than the system
11:51:02 <liskin> like yeah, if getting a doctor was as easy as subscribing to Amazon Prime, I'd have done it already, but…
11:51:17 <ChaoticMist[m]> Oh, still don't put preasure on yourself.
11:51:52 <ChaoticMist[m]> liskin: Reminds me of my mother.. 1 year waiting timr for dentist appointment
11:57:12 <ChaoticMist[m]> Nonetheless, wish you get better soon!
11:59:48 × redgloboli_ quits (~redglobol@user/redgloboli) (Ping timeout: 248 seconds)
12:01:30 redgloboli joins (~redglobol@user/redgloboli)
12:25:05 <xmonadtrack> New xmonad-contrib branch created: pull/784 (1 commit) https://github.com/xmonad/xmonad-contrib/pull/784
13:29:18 <HarryPrayIV[m]> Quick question that may solve my issue.
13:29:18 <HarryPrayIV[m]> <&&> is “and”
13:29:18 <HarryPrayIV[m]> <||> is “or”
13:29:18 <HarryPrayIV[m]> What is the syntax for “not” in this context?
13:30:55 <_Ity[m]> <HarryPrayIV[m]> "I’m making a distinction between..." <- Well, what are the special properties of the popups you wanna treat differently?
13:31:40 <_Ity[m]> Xprop might be useful
13:34:34 <[Leary]> HarryPrayIV[m]: not <$>
13:37:51 <lykos153> Hey 🙂 I'm very new to xmonad (and I already love it 😊). Now, I set the xkbmap in .xinitrc. However, each time I unplug or plug-in a monitor, it is reset to English. Why is that and what can I do about that?
13:37:53 <lykos153> s/./`./, s/./`./, s/that/it/
13:40:05 <lykos153> * Hey 🙂 I'm very new to xmonad (and I already love it 😊). Now, I set the xkbmap in .xinitrc. However, each time I unplug and plug-in a monitor, it is reset to English. Why is that and what can I do about it?
13:53:58 <vrs> that seems unrelated to xmonad
14:04:09 <liskin> ChaoticMist[m]: 1 year wait for a non-emergency dentist appointment is normal isn't it? :-)
14:15:33 <HarryPrayIV[m]> <_Ity[m]> "Xprop might be useful..." <- The two windows that I am trying to distinguish have the following semi-unique properties:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/bd98ff43eec2d37ad4a25adaf524e14a74ee572d>)
14:17:03 <geekosaur> note that browsers often set properties too late for the manageHook and you may need DynamicProperty to detect them
14:18:51 <HarryPrayIV[m]> My problem is that “isPopup” is satisfied by the rule above “isWebApp”. So, I was considering adding a not to the isPopUp definition specifically naming the two windows I am hoping to distinguish as isWebApp.
14:27:35 <HarryPrayIV[m]> <geekosaur> "note that browsers often set..." <- Interesting. I’d like to avoid that. But it would definitely work and seems to be my issue here.... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/1f4faf2e5fec30ef0f0ba6285fa8b39caf20d784>)
14:28:16 <HarryPrayIV[m]> > <@geekosaur:libera.chat> note that browsers often set properties too late for the manageHook and you may need DynamicProperty to detect them
14:28:16 <HarryPrayIV[m]> * Interesting. I’d like to avoid that. But it would definitely work and seems to be my issue here.
14:28:16 <HarryPrayIV[m]> So maybe there’s a better solution instead:
Currently, when I launch the com workspace, I manually press “mod t” and those two windows appear as I intend. Is it possible to programmatically tile these windows when I spawn them in using my config?
14:28:16 <HarryPrayIV[m]> I currently spawn them by using the command:
spawn “brave —app=https://discord.com/app”
14:28:18 <lambdabot> <hint>:1:1: error: parse error on input ‘<@’
14:36:52 yaslam joins (~yaslam@host-92-7-209-178.as13285.net)
14:42:22 <yaslam> Hello everyone, how do I filter out the scratchpad workspace from XMobar? Currently I've tried what is documented in hackage for the module, but I don't use logHook or dynamicLog, I use statusBarPropTo, idk how to plug that into XMobar and make it not show that workspace.
15:03:21 <geekosaur> yaslam: statusBarPropTo "someprop" (pure . filterOutWsPP [scratchpadWorkspaceTag] $ myPP)
15:03:38 <geekosaur> without seeing your config I can't give anything more specific
15:03:44 <geekosaur> @where paste
15:03:44 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
15:06:45 <yaslam> geekosaur: That's exactly what I needed and worked perfectly! Thanks
15:07:40 × yaslam quits (~yaslam@host-92-7-209-178.as13285.net) (Quit: Leaving)
15:36:35 yaslam joins (~yaslam@host-92-7-209-178.as13285.net)
15:40:41 × yaslam quits (~yaslam@host-92-7-209-178.as13285.net) (Client Quit)
15:44:57 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.7.1)
16:00:04 × YasserK[m] quits (~varonking@2001:470:69fc:105::2:b4a2) (Quit: You have been kicked for being idle)
16:29:42 lokesh1197 joins (~Thunderbi@14.139.128.52)
16:54:30 × lokesh1197 quits (~Thunderbi@14.139.128.52) (Ping timeout: 256 seconds)
17:37:11 × gknux quits (~gknux@user/galaxy-knuckles/x-3015990) (Quit: ....and i am outta here....)
17:41:29 gknux joins (~gknux@user/galaxy-knuckles/x-3015990)
17:42:30 × gknux quits (~gknux@user/galaxy-knuckles/x-3015990) (Remote host closed the connection)
17:43:06 gknux joins (~gknux@user/galaxy-knuckles/x-3015990)
17:43:14 <ChaoticMist[m]> <liskin> "ChaoticMist: 1 year wait for a..." <- Funny enough they told here that she got an early appointment and the usual waiting time is 1.5 - 2 years.. lol
18:27:54 <AskYourself[m]> I'm using Dynamic.Projects, it's really cool, but I'm having a little trouble with prompt behaviour. I can't see in the documentation how to get the prompt to display horizontally like:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/873a3c3ccd1a521db0430275d894668d16f44703>)
18:28:05 <AskYourself[m]> * I'm using Dynamic.Projects, it's really cool, but I'm having a little trouble with prompt behaviour. I can't see in the documentation how to get the prompt to display horizontally like:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/c94b4b5b2f79ada650b6253418b56b857dc4277b>)
18:28:14 <AskYourself[m]> s/________/--/
18:28:32 <AskYourself[m]> * I'm using Dynamic.Projects, it's really cool, but I'm having a little trouble with prompt behaviour. I can't see in the documentation how to get the prompt to display horizontally like:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/2b5da589ed4e07a90a5070c1df894b803d58bb8b>)
18:35:31 <geekosaur> the completion window will always be separate like that. you may want `showCompletionOnTab` to hide it and only get the behavior within the prompt unless you press tab?
18:36:46 <geekosaur> it doesn't support emacs-style completion where the completion is shown within the prompt unless you press tab, though
18:51:51 <AskYourself[m]> That gave me so real weird behaviour. It hid the completion which was nice, but it kept getting into a state where it was unresponsive to any text or mouse.
18:59:36 thyriaen joins (~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1)
19:00:08 <geekosaur> um. please report that at https://github.com/xmonad/xmonad-contrib/issues
19:00:25 <thyriaen> is there a good application which let's me switch to an window over all workspaces ( kinda like an alt-tab )?
19:00:47 <AskYourself[m]> geekosaur: Ok, I'll do that.
19:01:33 <AskYourself[m]> One separate q, I notice that one I hide workspaces the hidden workspace is still visible in my xmobar. Is there a way to fully remove workspaces from the stack so I won't see them at all?
19:04:43 AskYourself[m] uploaded an image: (4KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/LgMMlbWDidFYUBcWgUISOPgI/image.png >
19:04:58 <AskYourself[m]> See how XMO is hidden but still visible?
19:06:10 <geekosaur> ppHidden = const ""
19:06:39 <geekosaur> (in your PP)
19:07:51 <AskYourself[m]> I think I need to do that on ppHiddenNoWindows only, but yes ok that worked perfectly, thank you.
19:08:06 <AskYourself[m]> Also that bug report will be later today or tmo, cause I have an exam to write, just fyi.
19:11:50 <AskYourself[m]> Oh and one last thing. Is there a way to force the prompt into my middle monitor? I don't see a setting in the part of the docks for the prompt, just a centring thing that works per monitor, not across monitors.
19:12:03 <AskYourself[m]> s/docks/docs/
19:12:16 <AskYourself[m]> * Oh and one last thing. Is there a way to force the prompt into my middle monitor? I don't see a setting in the part of the docs for the prompt, just a centring thing that works per monitor, not across multiple monitors.
19:12:48 <geekosaur> I don't think so
19:13:12 <geekosaur> it always goes to the monitor that has focus
19:13:35 <AskYourself[m]> Ah that's a little unfortunate. I like to overlap and theme xmobar, prompt, rofi so it all looks ilke one thing.
19:13:51 <AskYourself[m]> Which it does, but not on the monitors lacking xmobar.
19:13:59 <AskYourself[m]> On those the prompt will overlap active windows.
19:14:10 <AskYourself[m]> 😢
19:15:13 <liskin> ChaoticMist[m]: oh ok that's extra bad. Which country btw?
19:20:04 <ChaoticMist[m]> liskin: Sweden
20:46:53 chomwitt joins (~chomwitt@2a02:587:7a0c:6a00:1ac0:4dff:fedb:a3f1)
21:30:31 <thyriaen> i want to cycle through all open windows in an alt-tab kinda style across all workspaces - are there standalone applications for it and what are they called ?
21:33:19 <geekosaur> usually that's a window manager function. but I'm not sure we have one that works over all workspaces
21:33:35 <geekosaur> the usual one (CycleWindows) is workspace only
21:36:45 <geekosaur> but I also feel like this was discussed recently and I'm forgetting it. (just checked Actions and it's not in git, at least not there)
21:44:24 <thyriaen> geekosaur, howdy my friend
21:45:32 <thyriaen> i have some strange behavior when i super-right-click to resize the window - the cursor instantly jumps in the top left of my main screen making the screen instantly tiny - it is very annoying - how can i stop the cursor from jumping on rightclick ?
21:53:05 <geekosaur> normally it jumps to the bottom of the window (clipping it into the screen if it overlaps). do you have something like unclutter running? or X.A.Warp?
21:53:33 <thyriaen> no
21:55:06 <thyriaen> geekosaur, it jumps to about ( 1/3, 1/4 ) of my main screen with (0,0) being top right
21:55:27 <thyriaen> left left i ment
21:55:55 <geekosaur> @where paste
21:55:55 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
21:56:13 <thyriaen> https://paste.tomsmeding.com/85RW3MGl
21:57:30 <thyriaen> geekosaur, is there a alternative command to "spawn" which instead of spawning another window it switches to the one, if it already exists ?
21:57:43 <thyriaen> so i always just have one instance of a program running if i press that button
21:58:03 <thyriaen> ( and spawns it if it doesn't )
22:00:33 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib/docs/XMonad-Actions-WindowGo.html#v:runOrRaise
22:01:14 <geekosaur> also I'm not seeing anything in particular in your config that would break resizing windows
22:01:28 <geekosaur> it really does sound like something external is warping the pointer
22:02:15 <thyriaen> geekosaur, i don't know what i could be - i am running a bare system
22:02:37 <thyriaen> geekosaur, nice @runOrRaise
23:03:35 srk- joins (~sorki@user/srk)
23:05:51 × srk quits (~sorki@user/srk) (Ping timeout: 252 seconds)
23:06:18 srk- is now known as srk
23:32:20 srk- joins (~sorki@user/srk)
23:35:55 × srk quits (~sorki@user/srk) (Ping timeout: 268 seconds)
23:35:55 srk- is now known as srk

All times are in UTC on 2022-12-05.