2023/06/29

2023-06-29 00:14:01 +0200obimod(~weechat@user/obimod) (Remote host closed the connection)
2023-06-29 00:14:26 +0200obimod(~weechat@user/obimod)
2023-06-29 02:24:16 +0200 <Twily[m]> Hey, when I open the same workspace on different screens (one vertical and one horizontal) the width&height of floating windows changes drastically.
2023-06-29 02:24:41 +0200 <Twily[m]> Can I tell XMonad to not change the size of the floating windows like this?
2023-06-29 02:24:54 +0200 <Twily[m]> I remember I solved this somehow in the past but don’t remember how exactly
2023-06-29 02:39:19 +0200 <geekosaur> I don't think there is a solution; it remembers floating windows by RationalRects so they get rescaled
2023-06-29 02:42:42 +0200 <Twily[m]> Sad, this is extremely annoying, and I remember having the same issue years back
2023-06-29 02:44:01 +0200 <Twily[m]> I wonder what it would take if I were to patch this myselfƏ
2023-06-29 02:44:03 +0200 <Twily[m]> s/myselfƏ/myself?/
2023-06-29 02:44:08 +0200 <geekosaur> I actually filed a ticket for it some time back because it's not only annoying but breaks some programs and some dialogs
2023-06-29 02:44:47 +0200 <Twily[m]> Maybe I can come up with a hack or something, like storing the sizes as some X props and restoring them as soon as window shows up on some workspace
2023-06-29 02:46:01 +0200 <geekosaur> oh, I guess it was actually opened by unclechu after I discussed it with them. https://github.com/xmonad/xmonad/issues/44
2023-06-29 02:49:10 +0200 <geekosaur> I'm still unconvinced the current behavior is viable, even if it's technically correct (that is, programs for which it doesn't work are technically buggy)
2023-06-29 02:49:55 +0200 <geekosaur> de facto, if a dialog doesn't resize correctly with this (many gtk dialogs, for example), it's not going to be fixed
2023-06-29 02:53:27 +0200 <Twily[m]> The MR #221 liskin mentions seems to partially fix the problem.
2023-06-29 02:54:00 +0200 <Twily[m]> I remember in the past if I just open gmrun on a second screen it was all weirdly missized.
2023-06-29 02:54:19 +0200 <Twily[m]> Now it at least shows up correctly on every screen.
2023-06-29 02:54:21 +0200 <geekosaur> anyway the fix really needs to be made in XMonad.Operations.windows (one could conceivably do it in a logHook but floating windows will flicker and possibly become scrambled)
2023-06-29 02:54:33 +0200 <Twily[m]> The problem appears only when moving workspace between screens.
2023-06-29 02:55:04 +0200 <Twily[m]> Okay, thanks for pointing out. Maybe I could come up with a patch at some point.
2023-06-29 02:56:24 +0200 <geekosaur> https://github.com/xmonad/xmonad/blob/master/src/XMonad/Operations.hs#L197-L202 note line 198's use of `scaleRationalRect` in particulay
2023-06-29 02:56:30 +0200 <geekosaur> *particular
2023-06-29 02:56:56 +0200 <Twily[m]> Maybe I could even add an option to XConfig to make this behavior switchable and propose a merge
2023-06-29 02:57:14 +0200 <geekosaur> I'd support such a PR
2023-06-29 03:02:02 +0200 <geekosaur> I think the big problem is deciding what to do with the StackSet: currently floating windows are a Map Window RationalRect
2023-06-29 03:02:21 +0200 <geekosaur> if you want it to be configurable then I guess that has to become an Either
2023-06-29 03:35:27 +0200 <ChaoticMist[m]> Question, is there some secret recipe for making scripts called through xmonad config behave similar to scripts called from user terminal? Because cb seems to fail to copy content to user clipboard while the same script works when called from user terminal
2023-06-29 03:36:41 +0200 <geekosaur> I would expect that to work
2023-06-29 03:37:01 +0200 <geekosaur> usually when something doesn't it has to do with environment and in particular `$PATH`
2023-06-29 03:37:34 +0200 <geekosaur> because anything launched from a display manager doesn't read your dotfiles
2023-06-29 03:40:36 +0200 <geekosaur> I work around this on Ubuntu by having X startup read my dotfiles (https://github.com/geekosaur/xmonad.hs/blob/skkukuk/10profile dropped into `/etc/X11/Xsession.d`) but I don't know how well that'll work on other distros
2023-06-29 04:26:29 +0200td_(~td@i5387093D.versanet.de) (Ping timeout: 240 seconds)
2023-06-29 04:28:23 +0200td_(~td@i53870923.versanet.de)
2023-06-29 04:39:59 +0200jusa(~jusa@kraa.fi) (*.net *.split)
2023-06-29 04:39:59 +0200hrberg(~quassel@171.79-160-161.customer.lyse.net) (*.net *.split)
2023-06-29 04:39:59 +0200samhh_(7569f027cf@2604:bf00:561:2000::e4) (*.net *.split)
2023-06-29 04:40:00 +0200zoglesby(f0f8ca1525@2604:bf00:561:2000::64) (*.net *.split)
2023-06-29 04:40:00 +0200koluacik(~koluacik@165.227.171.188) (*.net *.split)
2023-06-29 04:40:00 +0200dweller(~dweller@178.62.146.60) (*.net *.split)
2023-06-29 04:40:12 +0200hrberg(~quassel@171.79-160-161.customer.lyse.net)
2023-06-29 04:46:36 +0200jusa(~jusa@kraa.fi)
2023-06-29 04:46:36 +0200samhh(7569f027cf@2604:bf00:561:2000::e4)
2023-06-29 04:46:36 +0200zoglesby(f0f8ca1525@2604:bf00:561:2000::64)
2023-06-29 04:46:36 +0200koluacik(~koluacik@165.227.171.188)
2023-06-29 04:46:36 +0200dweller(~dweller@178.62.146.60)
2023-06-29 05:29:19 +0200vetu_(~vetu@91-156-31-97.elisa-laajakaista.fi)
2023-06-29 05:29:27 +0200vetu(~vetu@91-156-31-97.elisa-laajakaista.fi) (Read error: Connection reset by peer)
2023-06-29 06:36:09 +0200Nexilva[m](~nexilvama@2001:470:69fc:105::2:cf52) (Server closed connection)
2023-06-29 07:43:42 +0200HB|ANetSecECESIT(~hash@2001:470:69fc:105::1:19e2) (Server closed connection)
2023-06-29 07:43:56 +0200HB|ANetSecECESIT(~hash@2001:470:69fc:105::1:19e2)
2023-06-29 09:06:11 +0200thunderrd(~thunderrd@183.182.114.115) (Remote host closed the connection)
2023-06-29 09:15:33 +0200cfricke(~cfricke@user/cfricke)
2023-06-29 09:51:58 +0200malook(~Thunderbi@2a02:9b0:4002:7009:2add:2a49:b60a:8dd2)
2023-06-29 10:06:54 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.8)
2023-06-29 10:16:20 +0200vanvik(~vanvik@78.156.11.181) (Quit: Later)
2023-06-29 10:17:12 +0200vanvik(~vanvik@78.156.11.181)
2023-06-29 10:28:20 +0200vrs(~vrs@user/vrs) (Ping timeout: 260 seconds)
2023-06-29 10:28:39 +0200vrs(~vrs@user/vrs)
2023-06-29 10:41:18 +0200malook(~Thunderbi@2a02:9b0:4002:7009:2add:2a49:b60a:8dd2) (Ping timeout: 260 seconds)
2023-06-29 11:04:52 +0200nihilipster[m](~nihilipst@2001:470:69fc:105::720) (Remote host closed the connection)
2023-06-29 11:08:52 +0200unclechu(~unclechu@2001:470:69fc:105::354) (Remote host closed the connection)
2023-06-29 11:11:42 +0200mc47(~mc47@xmonad/TheMC47)
2023-06-29 11:41:50 +0200ft(~ft@p508db151.dip0.t-ipconnect.de) (Quit: leaving)
2023-06-29 12:13:33 +0200cfricke(~cfricke@user/cfricke)
2023-06-29 12:37:13 +0200malook(~Thunderbi@5.110.139.81)
2023-06-29 12:57:06 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 260 seconds)
2023-06-29 13:51:42 +0200defjam(~defjam@2a02:c7e:2807:b900:a912:dc42:6448:f57d)
2023-06-29 14:06:12 +0200malook(~Thunderbi@5.110.139.81) (Quit: malook)
2023-06-29 14:06:25 +0200malook(~Thunderbi@5.110.139.81)
2023-06-29 14:11:41 +0200obimod(~weechat@user/obimod) (Remote host closed the connection)
2023-06-29 14:12:08 +0200obimod(~weechat@user/obimod)
2023-06-29 14:46:45 +0200defjam(~defjam@2a02:c7e:2807:b900:a912:dc42:6448:f57d) (Ping timeout: 245 seconds)
2023-06-29 14:59:47 +0200defjam(~defjam@2a02:c7e:2807:b900:a912:dc42:6448:f57d)
2023-06-29 15:04:22 +0200malook(~Thunderbi@5.110.139.81) (Read error: Connection reset by peer)
2023-06-29 15:06:02 +0200cfricke(~cfricke@user/cfricke)
2023-06-29 15:18:00 +0200defjam(~defjam@2a02:c7e:2807:b900:a912:dc42:6448:f57d) (Ping timeout: 245 seconds)
2023-06-29 15:30:17 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777)
2023-06-29 15:34:40 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777) (Ping timeout: 245 seconds)
2023-06-29 15:48:42 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777)
2023-06-29 15:53:30 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777) (Ping timeout: 240 seconds)
2023-06-29 16:05:44 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777)
2023-06-29 16:12:00 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777) (Ping timeout: 240 seconds)
2023-06-29 16:18:42 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 260 seconds)
2023-06-29 16:25:42 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777)
2023-06-29 16:30:50 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777) (Ping timeout: 260 seconds)
2023-06-29 17:02:22 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777)
2023-06-29 17:07:47 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777) (Max SendQ exceeded)
2023-06-29 17:15:46 +0200mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2023-06-29 17:21:17 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777)
2023-06-29 17:26:22 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777) (Ping timeout: 260 seconds)
2023-06-29 17:27:33 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777)
2023-06-29 17:45:40 +0200Lears(~Leary]@user/Leary/x-0910699)
2023-06-29 17:47:56 +0200[Leary](~Leary]@user/Leary/x-0910699) (Ping timeout: 252 seconds)
2023-06-29 18:06:45 +0200cfricke(~cfricke@user/cfricke)
2023-06-29 18:12:54 +0200byorgey(~byorgey@155.138.238.211)
2023-06-29 18:29:01 +0200mvk(~mvk@2607:fea8:5c9a:a600::1ff2)
2023-06-29 18:29:14 +0200mvk(~mvk@2607:fea8:5c9a:a600::1ff2) (Client Quit)
2023-06-29 18:29:55 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.8)
2023-06-29 19:02:58 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777) (Ping timeout: 260 seconds)
2023-06-29 19:17:12 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777)
2023-06-29 19:20:11 +0200Guest98(~Guest98@151.246.206.85)
2023-06-29 19:21:13 +0200 <Guest98> does anyone use GridSelect here? https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Actions-GridSelect.html
2023-06-29 19:21:13 +0200 <Guest98> I want to change the text to className and/or appName but there are apparently no options for it
2023-06-29 19:21:32 +0200unclechu(~unclechu@2001:470:69fc:105::354)
2023-06-29 19:26:49 +0200 <geekosaur> you can build that yourself using `gridselect`, which lets you specify any text and what it maps to
2023-06-29 19:36:05 +0200 <Guest98> is it simple enough for me to get an example or
2023-06-29 19:36:25 +0200 <geekosaur> depends on what exactly you're trying to do
2023-06-29 19:36:52 +0200 <Guest98> just replace the titles with of all windows their classname
2023-06-29 19:37:14 +0200 <Guest98> just replace the titles of all windows with their className
2023-06-29 19:40:26 +0200malook(~Thunderbi@176.18.99.53)
2023-06-29 19:41:00 +0200xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack) (Ping timeout: 240 seconds)
2023-06-29 19:44:57 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com)
2023-06-29 19:44:57 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host)
2023-06-29 19:44:57 +0200xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack)
2023-06-29 19:45:17 +0200 <geekosaur> gridselectWindow gsconf = windowMap >>= gridselect gsconf -- where `windowMap` does all the work
2023-06-29 19:51:30 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777) (Ping timeout: 260 seconds)
2023-06-29 19:51:51 +0200ndaniel[m](~ndanielma@2001:470:69fc:105::3:78ff)
2023-06-29 19:51:51 +0200 <ndaniel[m]> 👋
2023-06-29 19:53:58 +0200xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack) (Ping timeout: 250 seconds)
2023-06-29 19:56:06 +0200 <geekosaur> sorry, having some issues here. I think github just blocked me because of xmonadtrack 😞
2023-06-29 19:58:10 +0200 <geekosaur> https://paste.tomsmeding.com/eJwwSsPX I think this is what you want
2023-06-29 19:58:24 +0200 <geekosaur> in place of windowMap in the above
2023-06-29 19:59:01 +0200 <geekosaur> oh. huh. #haskell i reporting github's down for everyone…
2023-06-29 19:59:26 +0200 <ndaniel[m]> geekosaur: It is quite slow
2023-06-29 19:59:49 +0200 <ndaniel[m]> "There was an error in loading the activity feed."
2023-06-29 20:01:32 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777)
2023-06-29 20:15:56 +0200Guest98(~Guest98@151.246.206.85) (Ping timeout: 246 seconds)
2023-06-29 20:17:29 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777) (Ping timeout: 240 seconds)
2023-06-29 20:19:37 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777)
2023-06-29 20:23:31 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com)
2023-06-29 20:23:31 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host)
2023-06-29 20:23:31 +0200xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack)
2023-06-29 21:10:24 +0200ft(~ft@p508db151.dip0.t-ipconnect.de)
2023-06-29 21:24:39 +0200malook(~Thunderbi@176.18.99.53) (Quit: malook)
2023-06-29 21:34:36 +0200obimod(~weechat@user/obimod) (Remote host closed the connection)
2023-06-29 21:35:10 +0200obimod(~weechat@user/obimod)
2023-06-29 21:45:46 +0200rekahsoft(~rekahsoft@bras-base-orllon1122w-grc-04-174-88-193-177.dsl.bell.ca)
2023-06-29 22:44:00 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777) (Ping timeout: 240 seconds)
2023-06-29 22:54:51 +0200defjam(~defjam@2a02:c7e:2807:b900:b839:4da1:9e5e:5777)