2022/12/11

2022-12-11 00:45:15 +0000thyriaen(~thyriaen@2a01:aea0:dd4:4bae:2f5b:a119:9b18:3b52)
2022-12-11 00:45:51 +0000chomwitt(~chomwitt@2a02:587:7a05:dc00:1ac0:4dff:fedb:a3f1) (Ping timeout: 256 seconds)
2022-12-11 01:07:12 +0000tremon(~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
2022-12-11 01:24:38 +0000diep(~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c)
2022-12-11 01:43:54 +0000sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-11 01:45:47 +0000sogens_(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 264 seconds)
2022-12-11 01:51:44 +0000mvk(~mvk@2607:fea8:5ce3:8500::efb)
2022-12-11 01:53:30 +0000mvk(~mvk@2607:fea8:5ce3:8500::efb) (Client Quit)
2022-12-11 02:18:48 +0000thyriaen(~thyriaen@2a01:aea0:dd4:4bae:2f5b:a119:9b18:3b52) (Remote host closed the connection)
2022-12-11 02:34:17 +0000diep_(~diep@2a01:cb11:2d7:4a00:be51:377e:4f72:b218)
2022-12-11 02:40:23 +0000sogens(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 264 seconds)
2022-12-11 02:42:54 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-12-11 02:49:23 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-12-11 02:55:08 +0000^[(~user@user//x-8473491) (Ping timeout: 252 seconds)
2022-12-11 02:58:08 +0000thunderrd(~thunderrd@183.182.115.167) (Ping timeout: 255 seconds)
2022-12-11 03:03:48 +0000banc(banc@gateway/vpn/protonvpn/banc) (Ping timeout: 265 seconds)
2022-12-11 03:05:10 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds)
2022-12-11 03:05:55 +0000sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-11 03:12:57 +0000diep(~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) (Remote host closed the connection)
2022-12-11 03:23:45 +0000banc(banc@gateway/vpn/protonvpn/banc)
2022-12-11 03:25:50 +0000diep_(~diep@2a01:cb11:2d7:4a00:be51:377e:4f72:b218) (Remote host closed the connection)
2022-12-11 03:41:08 +0000td_(~td@83.135.9.5) (Ping timeout: 256 seconds)
2022-12-11 03:42:34 +0000td_(~td@83.135.9.54)
2022-12-11 03:44:25 +0000terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
2022-12-11 03:47:01 +0000terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1)
2022-12-11 04:21:24 +0000^[(~user@user//x-8473491)
2022-12-11 04:30:19 +0000sogens(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 260 seconds)
2022-12-11 05:26:01 +0000sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-11 06:00:36 +0000sogens(sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.7.1)
2022-12-11 06:00:53 +0000sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-11 09:38:55 +0000 <ChaoticMist[m]> Can someone help me understand why neovide is launching with wrong NSP `customFloating` size?... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/f42e5cbe8b716ddaf45953834e49d6e5efac…>)
2022-12-11 09:39:05 +0000 <ChaoticMist[m]> How it should look like:
2022-12-11 09:39:10 +0000ChaoticMist[m]uploaded an image: (267KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/zQJGtmOsejCodEQHLFXQceET/image.png >
2022-12-11 09:39:17 +0000 <ChaoticMist[m]> What it looks like:
2022-12-11 09:39:36 +0000ChaoticMist[m]uploaded an image: (134KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/wsTlkzjZmpLthyvGTArIZIyb/image.png >
2022-12-11 10:17:41 +0000chomwitt(~chomwitt@2a02:587:7a05:dc00:1ac0:4dff:fedb:a3f1)
2022-12-11 11:08:27 +0000mc47(~mc47@xmonad/TheMC47)
2022-12-11 12:59:22 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-12-11 14:17:07 +0000 <geekosaur> either you have an existing matcher in the manageHook (but that seems unlikely especially as it's going off the screen) or more likely nvim is overriding the size itself
2022-12-11 14:45:49 +0000 <ChaoticMist[m]> <geekosaur> "either you have an existing..." <- But it shouldn't do that though
2022-12-11 14:46:03 +0000 <ChaoticMist[m]> It used to work just fine in Qtile
2022-12-11 14:48:47 +0000^[(~user@user//x-8473491) (Ping timeout: 252 seconds)
2022-12-11 14:52:44 +0000 <geekosaur> can you show a bit more of your config? in particular, are you sure you're matching it correctly?
2022-12-11 15:01:11 +0000^[(~user@user//x-8473491)
2022-12-11 16:45:26 +0000 <ChaoticMist[m]> Do ping when you reply so I know someone types! :)
2022-12-11 16:45:27 +0000 <ChaoticMist[m]> <geekosaur> "can you show a bit more of..." <- https://github.com/Icy-Thought/snowflake/blob/main/config/xmonad/xmonad.hs
2022-12-11 16:46:01 +0000 <ChaoticMist[m]> Where I define it is in: #L762
2022-12-11 16:54:07 +0000mvk(~mvk@2607:fea8:5ce3:8500::efb)
2022-12-11 16:55:00 +0000 <geekosaur> is the className correct? as shown by the other ones, className usually starts with an uppercase character
2022-12-11 16:55:01 +0000mvk(~mvk@2607:fea8:5ce3:8500::efb) (Client Quit)
2022-12-11 16:55:02 +0000mc47(~mc47@xmonad/TheMC47) (Ping timeout: 256 seconds)
2022-12-11 17:01:11 +0000 <AskYourself[m]> If I want my steam games to launch in fullscreen by default, is there a way to achieve that? The default behaviour spawns steam to stack and the game to master then I have to manually make the game fullscreen.
2022-12-11 17:01:35 +0000mc47(~mc47@xmonad/TheMC47)
2022-12-11 17:01:54 +0000 <ChaoticMist[m]> AskYourself[m]: That never happened with me, wonder if Ivan had added something like that in the config
2022-12-11 17:01:54 +0000 <ChaoticMist[m]> Brb will check
2022-12-11 17:02:31 +0000 <ChaoticMist[m]> <geekosaur> "is the className correct? as..." <- className is: `WM_CLASS(STRING) = "neovide", "neovide"`
2022-12-11 17:02:45 +0000 <geekosaur> interesting
2022-12-11 17:03:06 +0000 <ChaoticMist[m]> I wonder what Qtile did for it towkr
2022-12-11 17:03:09 +0000 <ChaoticMist[m]> s/towkr/to work/
2022-12-11 17:03:14 +0000 <ChaoticMist[m]> s/towkr/to work OTB/
2022-12-11 17:09:04 +0000tremon(~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl)
2022-12-11 17:11:34 +0000 <geekosaur> AskYourself[m], sounds to me like it should be possible to match the game window instead of the Steam window; have you checked?
2022-12-11 17:13:21 +0000 <geekosaur> I use ManageDebug, but here they might spawn close enough together that debugManageHookOn would miss the second window spawning
2022-12-11 17:20:38 +0000 <AskYourself[m]> <geekosaur> "Ask Yourself🍉, sounds to me like..." <- I am not actually sure what you mean. I'm a bit of a noob here.
2022-12-11 17:21:55 +0000 <geekosaur> AskYourself[m], this is what the manageHook is for. you would insert a section that matches the game window and fullscreens it in one of several ways
2022-12-11 17:23:07 +0000 <geekosaur> probably `liftX (sendMessage $ JumpToLayout "Full")` or similar
2022-12-11 17:31:52 +0000 <AskYourself[m]> Ohhh, ok. I'm going to play with that. Thanks.
2022-12-11 18:28:48 +0000Maeda(~Maeda@91-161-10-149.subs.proxad.net) (Quit: :))
2022-12-11 18:29:46 +0000Maeda(~Maeda@91-161-10-149.subs.proxad.net)
2022-12-11 18:29:51 +0000Maeda(~Maeda@91-161-10-149.subs.proxad.net) (Client Quit)
2022-12-11 18:30:18 +0000Maeda(~Maeda@91-161-10-149.subs.proxad.net)
2022-12-11 19:52:43 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-12-11 20:00:45 +0000diep(~diep@2a01:cb11:2d7:4a00:ebbf:6d8:c835:19bb)
2022-12-11 20:01:11 +0000diep(~diep@2a01:cb11:2d7:4a00:ebbf:6d8:c835:19bb) (Remote host closed the connection)
2022-12-11 20:04:03 +0000mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2022-12-11 20:04:43 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-12-11 20:13:33 +0000 <ChaoticMist[m]> GL
2022-12-11 20:13:46 +0000 <ChaoticMist[m]> It might be that the overlay is being misused or something.. idk
2022-12-11 20:16:45 +0000 <ChaoticMist[m]> I keep tripping.. wtf
2022-12-11 20:16:50 +0000 <ChaoticMist[m]> * I keep tripping on the wrong chat.. wtf
2022-12-11 21:35:55 +0000sogens(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 256 seconds)
2022-12-11 21:52:19 +0000 <AskYourself[m]> <geekosaur> "probably `liftX (sendMessage..." <- I'm not really clear how I can work this into my manage hook.
2022-12-11 21:53:01 +0000 <AskYourself[m]> I understand that I can do stuff like... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/16a2acad1406727c43cab9e415d0324e5284…>)
2022-12-11 21:53:14 +0000 <geekosaur> first you need a predicate to match the window, then you use `-->` to combine it with the liftX
2022-12-11 21:53:36 +0000 <geekosaur> oh, and I think that isn't quite sufficient because it has the wrong type
2022-12-11 21:54:13 +0000 <AskYourself[m]> geekosaur: I'm not really following.
2022-12-11 21:54:33 +0000 <AskYourself[m]> I need the stupid person explanation.
2022-12-11 21:55:23 +0000 <geekosaur> have you been through the tutorial yet? I think it shows how the manageHook works
2022-12-11 21:55:52 +0000 <AskYourself[m]> Yes. I have, that's actually how I learned to build the manageHook I currently have.
2022-12-11 21:55:54 +0000 <AskYourself[m]> But I'm not seeing how to extend it is the problem.
2022-12-11 21:57:39 +0000 <geekosaur> you add an entry to the composeAll list
2022-12-11 21:58:44 +0000 <geekosaur> the entry looks like: predicate --> liftX (sendMessage $ JumpToLayout "Full") <> idHook
2022-12-11 21:59:03 +0000 <AskYourself[m]> Is it important for id hook to be there?
2022-12-11 21:59:15 +0000 <geekosaur> where `predicate` is something that matches the game window. you'll want to use the xprop command to figure out what will work
2022-12-11 21:59:26 +0000 <geekosaur> yes, without it it'll have the wrong type
2022-12-11 21:59:45 +0000 <geekosaur> oh, and I meant >> not <>
2022-12-11 21:59:48 +0000 <geekosaur> sigh
2022-12-11 21:59:54 +0000 <geekosaur> the entry looks like: predicate --> liftX (sendMessage $ JumpToLayout "Full") >> idHook
2022-12-11 22:00:33 +0000 <AskYourself[m]> Oh ok that did it. I was missing the `>> idHook`.
2022-12-11 22:00:35 +0000 <AskYourself[m]> Thank you very much.
2022-12-11 22:01:38 +0000 <geekosaur> yes, that's what I meant by [11 21:53:35] <geekosaur> oh, and I think that isn't quite sufficient because it has the wrong type
2022-12-11 22:02:12 +0000 <geekosaur> the `>> idHook` makes it have the right type
2022-12-11 22:02:27 +0000 <AskYourself[m]> Right, ok that makes sense.
2022-12-11 22:03:14 +0000 <geekosaur> more specifrically, it makes the manageHook part do nothing; the liftX part "jumps out" of the manageHook and does something in xmonad proper
2022-12-11 22:03:33 +0000 <geekosaur> but that ends up with the wrong type, so we have to combine it with an actual manageHook
2022-12-11 22:07:51 +0000 <AskYourself[m]> That's a bit confusing.
2022-12-11 22:08:16 +0000 <AskYourself[m]> But it's working great now, I've got a list of them with composeAll. It's really cool to be able to write precise rules like this.
2022-12-11 22:31:01 +0000 <AskYourself[m]> Another thing is I want to toggle my compositor on and off. I know I can toggle it on with `("M-p", spawn "picom"),` but how can I toggle it off when you need to enter a password to do so?
2022-12-11 22:36:25 +0000 <geekosaur> spawn "killall picom"?
2022-12-11 22:36:37 +0000 <geekosaur> I don't think picom has a control
2022-12-11 22:36:43 +0000 <geekosaur> hm, maybe it does via dbus
2022-12-11 22:38:34 +0000 <geekosaur> oh, it does. pass --dbus to enable it, connect to dbus (see https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L129-L130 although you want to use a different endpoint than getWellKnownName there does)
2022-12-11 22:39:25 +0000 <geekosaur> "It’s possible to control compton via D-Bus messages, by running compton with --dbus and send messages to
2022-12-11 22:39:25 +0000 <geekosaur> com.github.chjj.compton.<DISPLAY>. <DISPLAY> is the display used by compton, with all non-alphanumeric characters
2022-12-11 22:39:25 +0000 <geekosaur> transformed to underscores. For DISPLAY=:0.0 you should use com.github.chjj.compton._0_0, for example.
2022-12-11 22:39:25 +0000 <geekosaur> The D-Bus methods and signals are not yet stable, thus undocumented right now."
2022-12-11 22:40:06 +0000 <geekosaur> so you would have to examine the picom source (I'm running picom prerelease, which still calls itself compton) to find out what messages to send
2022-12-11 22:40:22 +0000 <geekosaur> might also be possible to use dbus-send with spawn
2022-12-11 22:46:46 +0000 <AskYourself[m]> Hmm ok.
2022-12-11 22:50:55 +0000 <AskYourself[m]> <geekosaur> "spawn "killall picom"?" <- I don't think this will work. Cause `killAll` is for windows not services.
2022-12-11 22:51:01 +0000 <AskYourself[m]> Maybe I'm just confused though.
2022-12-11 22:53:12 +0000 <geekosaur> killall is for commands not windows
2022-12-11 22:53:20 +0000 <geekosaur> xkill is for windows
2022-12-11 22:55:36 +0000 <AskYourself[m]> Oh that actually works great haha.
2022-12-11 22:55:52 +0000 <AskYourself[m]> I was confusing killall and killAll (from WithAll) 🤦‍♂️
2022-12-11 22:56:25 +0000 <AskYourself[m]> Is there a way to have XMonad detect whether a service is running?
2022-12-11 22:56:42 +0000 <AskYourself[m]> If that's possible then I could have the same keybind work as a toggle instead of having an on and off switch.
2022-12-11 22:58:30 +0000 <geekosaur> it wouldn't be xmonad, but you're doing it in a spawn either way, so: spawn "if pgrep picom; then killall picom; else picom; fi"
2022-12-11 22:58:53 +0000 <AskYourself[m]> Oh right I see.
2022-12-11 22:59:09 +0000 <AskYourself[m]> I seen to learn shell and stuff. That didn't even occur to me.
2022-12-11 22:59:12 +0000 <AskYourself[m]> Ok thanks.
2022-12-11 23:03:46 +0000mvk(~mvk@2607:fea8:5ce3:8500::efb)
2022-12-11 23:15:13 +0000 <AskYourself[m]> One other thing. I'm trying to figure out how to rotate my windows. So if I have:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/e7ef6277a1b527f3af0f34fdded5c7939253…>)
2022-12-11 23:15:26 +0000 <AskYourself[m]> * One other thing. I'm trying to figure out how to rotate my windows. So if I have:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/3cfdb1e5ea24265bcc6b695a2f31e391b343…>)
2022-12-11 23:15:49 +0000 <AskYourself[m]> Is there a function or library or something to look at to find window rotation stuff like this?
2022-12-11 23:19:35 +0000 <geekosaur> there are window rotation functions but they're stack-based, not screen-based. https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Actions-CycleWindows.html
2022-12-11 23:20:22 +0000 <AskYourself[m]> Yeah, this was what I came across but I don't think that's what I need. Dang. Ok.
2022-12-11 23:20:42 +0000 <AskYourself[m]> Another one I was hoping for was a mirror thing. Where it flips the master with the stack.
2022-12-11 23:20:58 +0000 <geekosaur> Mirror is in the core
2022-12-11 23:21:19 +0000 <geekosaur> oh wait, that mirrirs diagonally (horiz vs., vert)
2022-12-11 23:21:36 +0000 <AskYourself[m]> Yeahh..
2022-12-11 23:21:43 +0000 <geekosaur> I think you want https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Layout-Reflect.html
2022-12-11 23:22:16 +0000 <AskYourself[m]> Ok, I'm gonna mess with this. Thank you.
2022-12-11 23:22:40 +0000 <AskYourself[m]> The rotation stuff is surprising, for some reason it seems odd to me that nobody else would want that functionality.
2022-12-11 23:23:05 +0000scardinal(~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Ping timeout: 268 seconds)
2022-12-11 23:24:02 +0000 <geekosaur> not sure that it's "nobody wants it", it's that it's hard to implement. a rotation function can't, for example, tell how many windows are exposed in a layout or how they're arranged
2022-12-11 23:25:35 +0000 <geekosaur> someone asked for the ability to step through that kind of window arrangement recently, and that can't be done for the same reason
2022-12-11 23:29:48 +0000scardinal(~supreme@customer-212-237-101-39.ip4.gigabit.dk)
2022-12-11 23:37:23 +0000 <AskYourself[m]> Makes sense.
2022-12-11 23:39:11 +0000 <AskYourself[m]> So I've modded my config like this:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/ea501372407c1115bd53c20e345cde19d99e…>)
2022-12-11 23:39:46 +0000 <AskYourself[m]> s///, s///
2022-12-11 23:40:09 +0000tremon(~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
2022-12-11 23:44:02 +0000 <geekosaur> I don't know how well the layout modifier combines with the toggle
2022-12-11 23:45:25 +0000 <AskYourself[m]> Hmm, that's what it suggests in the Reflect page.
2022-12-11 23:47:19 +0000 <geekosaur> looks to me like the transformer just inserts the same reflection, so it's a no-op if you also use it directly
2022-12-11 23:48:15 +0000 <geekosaur> it might work better if you want the key but want it to default on, to put `sendMessage $ Toggle REFLECTY` in the startupHook
2022-12-11 23:48:22 +0000 <geekosaur> so it starts out enabled