2022/10/27

2022-10-27 00:16:20 +0200 <jabuxas> hello, i'm having a little problem with xmonad and certain windows. when I play league of legends (lutris) through awesome or even dwm, they work normally, but on xmonad the league client and the game itself are showing weird behaviours. the league client is supposed to be a 1280x720 floating window, but even when set to floating on xmonad config, it becomes a 1920x1080 window (with gaps applied)
2022-10-27 00:16:22 +0200 <jabuxas> where only the left uppermost corner is the real client, and the rest is just a black (https://imgur.com/a/egGtaQd). The game itself also can't run in window mode, it can be solvable by running wine in a virtual desktop mode, but I wonder if there is a real fix for it.
2022-10-27 01:11:54 +0200sogens(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 250 seconds)
2022-10-27 02:11:22 +0200Buliarous(~gypsydang@46.232.210.139) (Remote host closed the connection)
2022-10-27 02:33:53 +0200sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-10-27 02:39:30 +0200sogens(sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6)
2022-10-27 02:51:17 +0200mncheck(~mncheck@193.224.205.254) (Ping timeout: 240 seconds)
2022-10-27 02:54:29 +0200jabuxas(~klein@user/jabuxas) (Quit: WeeChat 3.5)
2022-10-27 02:55:43 +0200sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-10-27 04:03:17 +0200banc-(banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds)
2022-10-27 04:05:25 +0200sogens(sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6)
2022-10-27 04:08:25 +0200sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-10-27 04:09:37 +0200td_(~td@83.135.9.27) (Ping timeout: 240 seconds)
2022-10-27 04:11:36 +0200td_(~td@83.135.9.51)
2022-10-27 04:20:09 +0200jeeeun(~jeeeun@78.40.148.178) (*.net *.split)
2022-10-27 04:20:09 +0200m5zs7k(aquares@web10.mydevil.net) (*.net *.split)
2022-10-27 04:20:09 +0200redgloboli(~redglobol@user/redgloboli) (*.net *.split)
2022-10-27 04:20:09 +0200ectospasm(~ectospasm@user/ectospasm) (*.net *.split)
2022-10-27 04:20:09 +0200dweller(~dweller@178.62.146.60) (*.net *.split)
2022-10-27 04:20:09 +0200pl(sid98063@id-98063.helmsley.irccloud.com) (*.net *.split)
2022-10-27 04:20:09 +0200liskin(~liskin@xmonad/liskin) (*.net *.split)
2022-10-27 04:20:09 +0200dexter1(dexter@2a01:7e00::f03c:91ff:fe86:59ec) (*.net *.split)
2022-10-27 04:20:09 +0200shinjipf(~shinjipf@2a01:4f8:1c1c:c1be::1) (*.net *.split)
2022-10-27 04:20:09 +0200Solid(~slot@xmonad/slotThe) (*.net *.split)
2022-10-27 04:20:09 +0200haasn(~nand@haasn.dev) (*.net *.split)
2022-10-27 04:20:27 +0200redgloboli(~redglobol@redgloboli.de)
2022-10-27 04:20:28 +0200jeeeun(~jeeeun@78.40.148.178)
2022-10-27 04:20:38 +0200pl(sid98063@id-98063.helmsley.irccloud.com)
2022-10-27 04:20:39 +0200redgloboli(~redglobol@redgloboli.de) (Changing host)
2022-10-27 04:20:39 +0200redgloboli(~redglobol@user/redgloboli)
2022-10-27 04:20:42 +0200liskin(~liskin@ackle.nomi.cz)
2022-10-27 04:20:44 +0200shinjipf(~shinjipf@2a01:4f8:1c1c:c1be::1)
2022-10-27 04:21:02 +0200ectospasm(~ectospasm@23-227-173-50.static.hvvc.us)
2022-10-27 04:21:05 +0200dexter1(dexter@2a01:7e00::f03c:91ff:fe86:59ec)
2022-10-27 04:21:12 +0200liskin(~liskin@ackle.nomi.cz) (Changing host)
2022-10-27 04:21:12 +0200liskin(~liskin@xmonad/liskin)
2022-10-27 04:22:06 +0200ectospasmGuest4398
2022-10-27 04:22:12 +0200m5zs7k(aquares@web10.mydevil.net)
2022-10-27 04:22:32 +0200haasn(~nand@haasn.dev)
2022-10-27 04:22:37 +0200Solid(~slot@xmonad/slotThe)
2022-10-27 04:23:57 +0200banc(banc@gateway/vpn/airvpn/banc)
2022-10-27 04:25:26 +0200dweller(~dweller@178.62.146.60)
2022-10-27 05:24:30 +0200wusticality(~user@76.131.115.3) (ERC 5.4 (IRC client for GNU Emacs 28.1.50))
2022-10-27 06:08:31 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-10-27 06:10:53 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-10-27 06:22:43 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 272 seconds)
2022-10-27 06:26:17 +0200bla(~bla@79.191.84.224.ipv4.supernova.orange.pl) (Ping timeout: 260 seconds)
2022-10-27 06:31:56 +0200sogens(sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6)
2022-10-27 06:39:49 +0200bla(~bla@83.24.71.161.ipv4.supernova.orange.pl)
2022-10-27 07:09:27 +0200sogens(~sogens@pa49-182-84-76.pa.qld.optusnet.com.au)
2022-10-27 07:13:41 +0200sogens(~sogens@pa49-182-84-76.pa.qld.optusnet.com.au) (Ping timeout: 244 seconds)
2022-10-27 07:36:23 +0200chomwitt(~chomwitt@2a02:587:dc10:8200:1ac0:4dff:fedb:a3f1)
2022-10-27 07:50:05 +0200 <xmonadtrack> xmonad-contrib Adam Plaice * v0.17.1-51-g2ab520ee: Fix inter-module link (use " instead of ') (11 hours ago, 1 file, 1+ 1-) https://github.com/xmonad/xmonad-contrib/commit/2ab520eedac7
2022-10-27 07:50:05 +0200 <xmonadtrack> xmonad-contrib Tony Zorman {GitHub} * v0.17.1-52-gfce5558b: Merge pull request #769 from aplaice/spawnonce_doc_link (4 minutes ago, 0 files, 0+ 0-) https://github.com/xmonad/xmonad-contrib/commit/fce5558b625d
2022-10-27 08:26:20 +0200ft(~ft@p3e9bc845.dip0.t-ipconnect.de) (Quit: leaving)
2022-10-27 08:50:02 +0200mncheck(~mncheck@193.224.205.254)
2022-10-27 09:24:57 +0200m5zs7k(aquares@web10.mydevil.net) (Ping timeout: 240 seconds)
2022-10-27 09:26:01 +0200m5zs7k(aquares@web10.mydevil.net)
2022-10-27 10:22:45 +0200Magiciandeepy
2022-10-27 11:00:08 +0200liskin[m](~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
2022-10-27 11:42:12 +0200thyriaen(~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1)
2022-10-27 12:47:12 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 260 seconds)
2022-10-27 12:49:03 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-10-27 14:05:35 +0200Maeda(~Maeda@91-161-10-149.subs.proxad.net)
2022-10-27 14:19:24 +0200ChristianGrey[m](~jacques16@2001:470:69fc:105::2:a40c) ()
2022-10-27 14:27:14 +0200scardinal(~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Quit: leaving)
2022-10-27 14:31:12 +0200cfricke(~cfricke@user/cfricke)
2022-10-27 14:31:38 +0200scardinal(~supreme@customer-212-237-101-39.ip4.gigabit.dk)
2022-10-27 15:15:03 +0200mc47(~mc47@xmonad/TheMC47)
2022-10-27 15:37:28 +0200mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2022-10-27 15:57:35 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 244 seconds)
2022-10-27 16:08:49 +0200Maeda(~Maeda@91-161-10-149.subs.proxad.net) (Quit: leaving)
2022-10-27 16:09:40 +0200Maeda(~Maeda@91-161-10-149.subs.proxad.net)
2022-10-27 16:58:55 +0200noex(~null@user/noex)
2022-10-27 17:06:34 +0200Maeda(~Maeda@91-161-10-149.subs.proxad.net) (Quit: leaving)
2022-10-27 17:08:53 +0200Maeda(~Maeda@91-161-10-149.subs.proxad.net)
2022-10-27 17:24:39 +0200Maeda(~Maeda@91-161-10-149.subs.proxad.net) (Quit: leaving)
2022-10-27 17:25:40 +0200Maeda(~Maeda@91-161-10-149.subs.proxad.net)
2022-10-27 17:30:20 +0200Maeda(~Maeda@91-161-10-149.subs.proxad.net) (Client Quit)
2022-10-27 17:31:22 +0200Maeda(~Maeda@91-161-10-149.subs.proxad.net)
2022-10-27 17:58:06 +0200vanvik1(~vanvik@78.156.8.93) (Ping timeout: 250 seconds)
2022-10-27 17:59:01 +0200vanvik1(~vanvik@78.156.8.93)
2022-10-27 17:59:34 +0200rieper(~riepernet@webmirror.geo.uni-leipzig.de) (Remote host closed the connection)
2022-10-27 18:00:35 +0200rieper(~riepernet@webmirror.geo.uni-leipzig.de)
2022-10-27 18:52:35 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-10-27 18:55:17 +0200vanvik1(~vanvik@78.156.8.93) (Ping timeout: 240 seconds)
2022-10-27 18:57:10 +0200vanvik1(~vanvik@78.156.8.93)
2022-10-27 19:35:03 +0200ft(~ft@p3e9bc845.dip0.t-ipconnect.de)
2022-10-27 19:52:21 +0200alternateved[m](~alternate@2001:470:69fc:105::2:894a) ()
2022-10-27 19:57:21 +0200desantra(~skykanin@user/skykanin)
2022-10-27 20:01:14 +0200desantra(~skykanin@user/skykanin) (Client Quit)
2022-10-27 20:07:47 +0200desantra(~skykanin@user/skykanin)
2022-10-27 21:40:55 +0200odiseo1869[m](~odiseo186@2001:470:69fc:105::2:acb6)
2022-10-27 21:41:06 +0200odiseo1869[m](~odiseo186@2001:470:69fc:105::2:acb6) ()
2022-10-27 21:58:46 +0200jabuxas(~klein@user/jabuxas)
2022-10-27 22:04:11 +0200 <jabuxas> how do I remove a default keybinding? I wanna launch firefox with M-b but that is already set default to sendMessage ToggleStruts. I couldn't figure out a way to remove that keybinding. there is the `removeKeys` function from util.ezconfig, but I didn't understand the syntax for that one.
2022-10-27 22:04:23 +0200liskin[m](~liskinmat@2001:470:69fc:105::768)
2022-10-27 22:04:40 +0200 <jabuxas> I can change sendMessage ToggleStruts to M-m, but M-b still does it.
2022-10-27 22:05:04 +0200 <geekosaur> it probably wouldn't work anyway since it's added afterward by withEasySB; change that to withSB to free it up, I think
2022-10-27 22:05:30 +0200 <geekosaur> or change the function you pass that sets the keybinding
2022-10-27 22:05:33 +0200 <geekosaur> @paste
2022-10-27 22:05:33 +0200 <lambdabot> A pastebin: https://paste.debian.net/
2022-10-27 22:05:36 +0200 <geekosaur> sigh
2022-10-27 22:05:39 +0200 <geekosaur> @where paste
2022-10-27 22:05:39 +0200 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2022-10-27 22:06:49 +0200 <jabuxas> paste my xmonad.hs?
2022-10-27 22:07:32 +0200 <geekosaur> yes
2022-10-27 22:07:56 +0200 <jabuxas> https://paste.debian.net/1258494/
2022-10-27 22:07:58 +0200 <geekosaur> so I can see how best to get the default mod-b binding out of the way
2022-10-27 22:09:14 +0200 <geekosaur> you're using withEasySB twice, it's binding mod-b twice (the `def` parameter)
2022-10-27 22:10:16 +0200 <jabuxas> would there be another way to launch a second bar on my second monitor that would not be calling the same function again?
2022-10-27 22:10:32 +0200 <geekosaur> one of those should be `withSB` and minus `def`, the other you need to change `def` to a function you provide that takes a config (so it can find out your mod key) and returns a (KeyMask,KeySym) to bind the `ToggleStruts` action to
2022-10-27 22:10:40 +0200 <geekosaur> `withSB`, as I said
2022-10-27 22:11:00 +0200 <geekosaur> `withEasySB` does the initial setup, after that you only need `withSB`
2022-10-27 22:13:26 +0200 <jabuxas> would then `withSB xmobar2 def2` where on def2 I define something like `((modm, xK_m), sendMessage ToggleStruts)` work?
2022-10-27 22:13:49 +0200 <geekosaur> you remove `def` completely with `withSB`
2022-10-27 22:14:12 +0200 <geekosaur> `withEasySB` takes that, but in this case we have to change it to something else
2022-10-27 22:14:25 +0200 <jabuxas> what would you recommend me to change it to?
2022-10-27 22:15:10 +0200 <geekosaur> what key would you prefer to use for toggling the statusbar?
2022-10-27 22:15:12 +0200 <geekosaur> (s)
2022-10-27 22:15:34 +0200 <jabuxas> xK_m is ok
2022-10-27 22:15:54 +0200 <geekosaur> `toggleSB conf {modMask = modm} = (modm, xK_m)`
2022-10-27 22:16:10 +0200 <geekosaur> then use `toggleSB` in place of `def` in the `withEasySB` call
2022-10-27 22:18:49 +0200 <jabuxas> /home/klein/.config/xmonad/src/xmonad.hs:49:56: error: parse error on input ‘=’
2022-10-27 22:18:52 +0200 <jabuxas> |
2022-10-27 22:18:54 +0200 <jabuxas> 49 | . withEasySB xmobar toggleSB conf {modMask = modm} = (modm, xK_m)
2022-10-27 22:19:40 +0200 <jabuxas> it complained about the last =
2022-10-27 22:22:14 +0200 <geekosaur> you don't put that there, you put it in a where clause or at the top level. the `withEasySB` call then becomes `withEasySB xmobar toggleSB`
2022-10-27 22:23:10 +0200 <geekosaur> put the definition around line 52
2022-10-27 22:28:27 +0200 <jabuxas> something like
2022-10-27 22:28:31 +0200 <jabuxas> . withEasySB xmobar toggleSB
2022-10-27 22:28:34 +0200 <jabuxas> . withSB xmobar2
2022-10-27 22:28:36 +0200 <jabuxas> $ myConfig
2022-10-27 22:28:38 +0200 <jabuxas> where
2022-10-27 22:28:40 +0200 <jabuxas> toggleSB = conf {modMask = modm} = (modm, xK_m) y
2022-10-27 22:28:42 +0200 <jabuxas> ?
2022-10-27 22:28:49 +0200 <jabuxas> ignore the y at the end
2022-10-27 22:29:12 +0200 <geekosaur> that should work, yes
2022-10-27 22:31:31 +0200 <thyriaen> what xdg file picker do you guys use ? Jabuxas ?
2022-10-27 22:32:13 +0200 <jabuxas> /home/klein/.config/xmonad/src/xmonad.hs:53:43: error: parse error on input ‘=’
2022-10-27 22:32:15 +0200 <jabuxas> |
2022-10-27 22:32:17 +0200 <jabuxas> 53 | toggleSB = conf {modMask = modm} = (modm, xK_m)
2022-10-27 22:32:19 +0200 <jabuxas> |
2022-10-27 22:32:31 +0200 <jabuxas> it's poiting at the second = still
2022-10-27 22:34:24 +0200 <jabuxas> thyriaen: I never really changed it, and I only have pcmanfm installed
2022-10-27 22:35:56 +0200 <geekosaur> the first = doesn't belong there
2022-10-27 22:36:23 +0200 <geekosaur> `toggleSB conf {modMask = modm} = (modm, xK_m)`
2022-10-27 22:36:38 +0200 <jabuxas> not a record constructor
2022-10-27 22:36:41 +0200 <jabuxas> conf
2022-10-27 22:37:01 +0200 <geekosaur> wait, lemme doublecheck this
2022-10-27 22:37:57 +0200 <geekosaur> looks like it should be (it's `XConfig Layout`)
2022-10-27 22:38:37 +0200 <jabuxas> oh, just like `myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList`
2022-10-27 22:38:44 +0200 <jabuxas> tho idk what that @ means
2022-10-27 22:39:02 +0200 <geekosaur> the @ lets you capture a pattern and deconstruct it at the same time
2022-10-27 22:39:27 +0200 <geekosaur> so the entire record is `conf`, but it also extracts the `modMask` field as `modm`
2022-10-27 22:39:46 +0200 <geekosaur> oh, right, I'm sorry. change `conf` to `XConfig`
2022-10-27 22:39:50 +0200 <geekosaur> my mistake
2022-10-27 22:40:26 +0200 <jabuxas> holy f***
2022-10-27 22:40:28 +0200 <jabuxas> it worked
2022-10-27 22:41:19 +0200 <jabuxas> so let me see if I understood what was happening, I was calling def function twice so it defined all keybindings twice?
2022-10-27 22:41:40 +0200 <jabuxas> I thought it was needed to call def on withEasySB, but it's not really?
2022-10-27 22:42:01 +0200 <geekosaur> just the mod-b keybinding twice. but it was doing so *after* the normal keybindings, so you couldn't override it in those
2022-10-27 22:42:12 +0200 <geekosaur> withEasySB was replacing yours
2022-10-27 22:42:38 +0200 <geekosaur> so we had to replace its `def` parameter (which was telling it to use mod-b) with a custom function
2022-10-27 22:43:04 +0200 <jabuxas> understood.
2022-10-27 22:43:29 +0200 <jabuxas> ty again geeko, you're helping me so much hahaha
2022-10-27 22:44:02 +0200 <geekosaur> np, that's why I'm here
2022-10-27 23:03:45 +0200thyriaen(~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1) (Remote host closed the connection)
2022-10-27 23:04:40 +0200 <jabuxas> not much to do with xmonad, but do any of you know if it's possible to make picom not interact or composite a certain window?
2022-10-27 23:04:53 +0200 <jabuxas> or where I could get help
2022-10-27 23:06:26 +0200desantra(~skykanin@user/skykanin) (Quit: WeeChat 3.6)
2022-10-27 23:18:27 +0200 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/compton.conf lines 19 and 24
2022-10-27 23:19:48 +0200 <geekosaur> (my picom is version 1.0 and still identifies as compton and uses compton.conf; the config should be compatible though)
2022-10-27 23:58:36 +0200 <jabuxas> you're talking about all those excludes?
2022-10-27 23:58:58 +0200 <jabuxas> I wonder if it's possible to *-exclude isntead of doing each one