2022/12/11

2022-12-11 01:45:15 +0100thyriaen(~thyriaen@2a01:aea0:dd4:4bae:2f5b:a119:9b18:3b52)
2022-12-11 01:45:51 +0100chomwitt(~chomwitt@2a02:587:7a05:dc00:1ac0:4dff:fedb:a3f1) (Ping timeout: 256 seconds)
2022-12-11 02:07:12 +0100tremon(~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
2022-12-11 02:24:38 +0100diep(~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c)
2022-12-11 02:43:54 +0100sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-11 02:45:47 +0100sogens_(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 264 seconds)
2022-12-11 02:51:44 +0100mvk(~mvk@2607:fea8:5ce3:8500::efb)
2022-12-11 02:53:30 +0100mvk(~mvk@2607:fea8:5ce3:8500::efb) (Client Quit)
2022-12-11 03:18:48 +0100thyriaen(~thyriaen@2a01:aea0:dd4:4bae:2f5b:a119:9b18:3b52) (Remote host closed the connection)
2022-12-11 03:34:17 +0100diep_(~diep@2a01:cb11:2d7:4a00:be51:377e:4f72:b218)
2022-12-11 03:40:23 +0100sogens(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 264 seconds)
2022-12-11 03:42:54 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-12-11 03:49:23 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-12-11 03:55:08 +0100^[(~user@user//x-8473491) (Ping timeout: 252 seconds)
2022-12-11 03:58:08 +0100thunderrd(~thunderrd@183.182.115.167) (Ping timeout: 255 seconds)
2022-12-11 04:03:48 +0100banc(banc@gateway/vpn/protonvpn/banc) (Ping timeout: 265 seconds)
2022-12-11 04:05:10 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds)
2022-12-11 04:05:55 +0100sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-11 04:12:57 +0100diep(~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) (Remote host closed the connection)
2022-12-11 04:23:45 +0100banc(banc@gateway/vpn/protonvpn/banc)
2022-12-11 04:25:50 +0100diep_(~diep@2a01:cb11:2d7:4a00:be51:377e:4f72:b218) (Remote host closed the connection)
2022-12-11 04:41:08 +0100td_(~td@83.135.9.5) (Ping timeout: 256 seconds)
2022-12-11 04:42:34 +0100td_(~td@83.135.9.54)
2022-12-11 04:44:25 +0100terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
2022-12-11 04:47:01 +0100terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1)
2022-12-11 05:21:24 +0100^[(~user@user//x-8473491)
2022-12-11 05:30:19 +0100sogens(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 260 seconds)
2022-12-11 06:26:01 +0100sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-11 07:00:36 +0100sogens(sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.7.1)
2022-12-11 07:00:53 +0100sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-11 10:38:55 +0100 <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 10:39:05 +0100 <ChaoticMist[m]> How it should look like:
2022-12-11 10:39:10 +0100ChaoticMist[m]uploaded an image: (267KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/zQJGtmOsejCodEQHLFXQceET/image.png >
2022-12-11 10:39:17 +0100 <ChaoticMist[m]> What it looks like:
2022-12-11 10:39:36 +0100ChaoticMist[m]uploaded an image: (134KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/wsTlkzjZmpLthyvGTArIZIyb/image.png >
2022-12-11 11:17:41 +0100chomwitt(~chomwitt@2a02:587:7a05:dc00:1ac0:4dff:fedb:a3f1)
2022-12-11 12:08:27 +0100mc47(~mc47@xmonad/TheMC47)
2022-12-11 13:59:22 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-12-11 15:17:07 +0100 <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 15:45:49 +0100 <ChaoticMist[m]> <geekosaur> "either you have an existing..." <- But it shouldn't do that though
2022-12-11 15:46:03 +0100 <ChaoticMist[m]> It used to work just fine in Qtile
2022-12-11 15:48:47 +0100^[(~user@user//x-8473491) (Ping timeout: 252 seconds)
2022-12-11 15:52:44 +0100 <geekosaur> can you show a bit more of your config? in particular, are you sure you're matching it correctly?
2022-12-11 16:01:11 +0100^[(~user@user//x-8473491)
2022-12-11 17:45:26 +0100 <ChaoticMist[m]> Do ping when you reply so I know someone types! :)
2022-12-11 17:45:27 +0100 <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 17:46:01 +0100 <ChaoticMist[m]> Where I define it is in: #L762
2022-12-11 17:54:07 +0100mvk(~mvk@2607:fea8:5ce3:8500::efb)
2022-12-11 17:55:00 +0100 <geekosaur> is the className correct? as shown by the other ones, className usually starts with an uppercase character
2022-12-11 17:55:01 +0100mvk(~mvk@2607:fea8:5ce3:8500::efb) (Client Quit)
2022-12-11 17:55:02 +0100mc47(~mc47@xmonad/TheMC47) (Ping timeout: 256 seconds)
2022-12-11 18:01:11 +0100 <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 18:01:35 +0100mc47(~mc47@xmonad/TheMC47)
2022-12-11 18:01:54 +0100 <ChaoticMist[m]> AskYourself[m]: That never happened with me, wonder if Ivan had added something like that in the config
2022-12-11 18:01:54 +0100 <ChaoticMist[m]> Brb will check
2022-12-11 18:02:31 +0100 <ChaoticMist[m]> <geekosaur> "is the className correct? as..." <- className is: `WM_CLASS(STRING) = "neovide", "neovide"`
2022-12-11 18:02:45 +0100 <geekosaur> interesting
2022-12-11 18:03:06 +0100 <ChaoticMist[m]> I wonder what Qtile did for it towkr
2022-12-11 18:03:09 +0100 <ChaoticMist[m]> s/towkr/to work/
2022-12-11 18:03:14 +0100 <ChaoticMist[m]> s/towkr/to work OTB/
2022-12-11 18:09:04 +0100tremon(~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl)
2022-12-11 18:11:34 +0100 <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 18:13:21 +0100 <geekosaur> I use ManageDebug, but here they might spawn close enough together that debugManageHookOn would miss the second window spawning
2022-12-11 18:20:38 +0100 <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 18:21:55 +0100 <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 18:23:07 +0100 <geekosaur> probably `liftX (sendMessage $ JumpToLayout "Full")` or similar
2022-12-11 18:31:52 +0100 <AskYourself[m]> Ohhh, ok. I'm going to play with that. Thanks.
2022-12-11 19:28:48 +0100Maeda(~Maeda@91-161-10-149.subs.proxad.net) (Quit: :))
2022-12-11 19:29:46 +0100Maeda(~Maeda@91-161-10-149.subs.proxad.net)
2022-12-11 19:29:51 +0100Maeda(~Maeda@91-161-10-149.subs.proxad.net) (Client Quit)
2022-12-11 19:30:18 +0100Maeda(~Maeda@91-161-10-149.subs.proxad.net)
2022-12-11 20:52:43 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-12-11 21:00:45 +0100diep(~diep@2a01:cb11:2d7:4a00:ebbf:6d8:c835:19bb)
2022-12-11 21:01:11 +0100diep(~diep@2a01:cb11:2d7:4a00:ebbf:6d8:c835:19bb) (Remote host closed the connection)
2022-12-11 21:04:03 +0100mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2022-12-11 21:04:43 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-12-11 21:13:33 +0100 <ChaoticMist[m]> GL
2022-12-11 21:13:46 +0100 <ChaoticMist[m]> It might be that the overlay is being misused or something.. idk
2022-12-11 21:16:45 +0100 <ChaoticMist[m]> I keep tripping.. wtf
2022-12-11 21:16:50 +0100 <ChaoticMist[m]> * I keep tripping on the wrong chat.. wtf
2022-12-11 22:35:55 +0100sogens(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 256 seconds)
2022-12-11 22:52:19 +0100 <AskYourself[m]> <geekosaur> "probably `liftX (sendMessage..." <- I'm not really clear how I can work this into my manage hook.
2022-12-11 22:53:01 +0100 <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 22:53:14 +0100 <geekosaur> first you need a predicate to match the window, then you use `-->` to combine it with the liftX
2022-12-11 22:53:36 +0100 <geekosaur> oh, and I think that isn't quite sufficient because it has the wrong type
2022-12-11 22:54:13 +0100 <AskYourself[m]> geekosaur: I'm not really following.
2022-12-11 22:54:33 +0100 <AskYourself[m]> I need the stupid person explanation.
2022-12-11 22:55:23 +0100 <geekosaur> have you been through the tutorial yet? I think it shows how the manageHook works
2022-12-11 22:55:52 +0100 <AskYourself[m]> Yes. I have, that's actually how I learned to build the manageHook I currently have.
2022-12-11 22:55:54 +0100 <AskYourself[m]> But I'm not seeing how to extend it is the problem.
2022-12-11 22:57:39 +0100 <geekosaur> you add an entry to the composeAll list
2022-12-11 22:58:44 +0100 <geekosaur> the entry looks like: predicate --> liftX (sendMessage $ JumpToLayout "Full") <> idHook
2022-12-11 22:59:03 +0100 <AskYourself[m]> Is it important for id hook to be there?
2022-12-11 22:59:15 +0100 <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 22:59:26 +0100 <geekosaur> yes, without it it'll have the wrong type
2022-12-11 22:59:45 +0100 <geekosaur> oh, and I meant >> not <>
2022-12-11 22:59:48 +0100 <geekosaur> sigh
2022-12-11 22:59:54 +0100 <geekosaur> the entry looks like: predicate --> liftX (sendMessage $ JumpToLayout "Full") >> idHook
2022-12-11 23:00:33 +0100 <AskYourself[m]> Oh ok that did it. I was missing the `>> idHook`.
2022-12-11 23:00:35 +0100 <AskYourself[m]> Thank you very much.
2022-12-11 23:01:38 +0100 <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 23:02:12 +0100 <geekosaur> the `>> idHook` makes it have the right type
2022-12-11 23:02:27 +0100 <AskYourself[m]> Right, ok that makes sense.
2022-12-11 23:03:14 +0100 <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 23:03:33 +0100 <geekosaur> but that ends up with the wrong type, so we have to combine it with an actual manageHook
2022-12-11 23:07:51 +0100 <AskYourself[m]> That's a bit confusing.
2022-12-11 23:08:16 +0100 <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 23:31:01 +0100 <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 23:36:25 +0100 <geekosaur> spawn "killall picom"?
2022-12-11 23:36:37 +0100 <geekosaur> I don't think picom has a control
2022-12-11 23:36:43 +0100 <geekosaur> hm, maybe it does via dbus
2022-12-11 23:38:34 +0100 <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 23:39:25 +0100 <geekosaur> "It’s possible to control compton via D-Bus messages, by running compton with --dbus and send messages to
2022-12-11 23:39:25 +0100 <geekosaur> com.github.chjj.compton.<DISPLAY>. <DISPLAY> is the display used by compton, with all non-alphanumeric characters
2022-12-11 23:39:25 +0100 <geekosaur> transformed to underscores. For DISPLAY=:0.0 you should use com.github.chjj.compton._0_0, for example.
2022-12-11 23:39:25 +0100 <geekosaur> The D-Bus methods and signals are not yet stable, thus undocumented right now."
2022-12-11 23:40:06 +0100 <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 23:40:22 +0100 <geekosaur> might also be possible to use dbus-send with spawn
2022-12-11 23:46:46 +0100 <AskYourself[m]> Hmm ok.
2022-12-11 23:50:55 +0100 <AskYourself[m]> <geekosaur> "spawn "killall picom"?" <- I don't think this will work. Cause `killAll` is for windows not services.
2022-12-11 23:51:01 +0100 <AskYourself[m]> Maybe I'm just confused though.
2022-12-11 23:53:12 +0100 <geekosaur> killall is for commands not windows
2022-12-11 23:53:20 +0100 <geekosaur> xkill is for windows
2022-12-11 23:55:36 +0100 <AskYourself[m]> Oh that actually works great haha.
2022-12-11 23:55:52 +0100 <AskYourself[m]> I was confusing killall and killAll (from WithAll) 🤦‍♂️
2022-12-11 23:56:25 +0100 <AskYourself[m]> Is there a way to have XMonad detect whether a service is running?
2022-12-11 23:56:42 +0100 <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 23:58:30 +0100 <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 23:58:53 +0100 <AskYourself[m]> Oh right I see.
2022-12-11 23:59:09 +0100 <AskYourself[m]> I seen to learn shell and stuff. That didn't even occur to me.
2022-12-11 23:59:12 +0100 <AskYourself[m]> Ok thanks.