2023/01/25

2023-01-25 00:01:03 +0000 <georgesboris[m]> yeah... I just run that and it's the best I've ever gotten but it is still weird. I'll do a deep dive into how xmonad deals with multi monitors because that is at least part of the weirdness.
2023-01-25 00:01:33 +0000 <georgesboris[m]> however, I've also noticed that the wallpaper on one of the monitors is being drawn on top of unfocused windows.
2023-01-25 00:02:24 +0000 <georgesboris[m]> kinda of like xmonad is just reordering the z-axis of windows to make them appear or not but since my wallpaper is not the right ratio as the new monitor.
2023-01-25 00:02:37 +0000 <georgesboris[m]> thanks for the help! I will get there! one day...
2023-01-25 00:33:15 +0000td_(~td@i53870917.versanet.de) (Ping timeout: 255 seconds)
2023-01-25 00:35:05 +0000td_(~td@i53870917.versanet.de)
2023-01-25 00:41:40 +0000Lears(~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
2023-01-25 00:42:23 +0000[Leary](~Leary]@user/Leary/x-0910699)
2023-01-25 01:55:20 +0000sugarbeet(~barbas@2a00:d880:3:1::df17:eb0c)
2023-01-25 01:55:24 +0000sugarbeet(~barbas@2a00:d880:3:1::df17:eb0c) ()
2023-01-25 03:02:59 +0000banc(banc@gateway/vpn/protonvpn/banc) (Ping timeout: 260 seconds)
2023-01-25 03:14:11 +0000 <HB[m]> Hi guys. What dimensions do I provide namedscratchpad to make it fullscreen?
2023-01-25 03:14:31 +0000 <HB[m]> `(noTaskbar <> customFloating (W.RationalRect (1/30) (1/30) (9/10) (9/10)))` This was my current setting
2023-01-25 03:15:00 +0000 <HB[m]> I also tried defaultFloating but that's not fullscreen apparently
2023-01-25 03:15:02 +0000 <[Leary]> 0 0 1 1? Probably.
2023-01-25 03:15:24 +0000 <HB[m]> -- 1/6 of screen width from the left, 1/6 of screen height
2023-01-25 03:15:24 +0000 <HB[m]> -- from the top, 2/3 of screen width by 2/3 of screen height
2023-01-25 03:15:31 +0000 <HB[m]> Hi
2023-01-25 03:15:46 +0000 <HB[m]> How exactly are these dimensions specified? Does it have to be fractions?
2023-01-25 03:17:31 +0000 <HB[m]> [Leary]: I see, thanks!
2023-01-25 03:17:47 +0000 <[Leary]> > [0, 1, 1/2, 0.5] :: [Rational]
2023-01-25 03:17:49 +0000 <lambdabot> [0 % 1,1 % 1,1 % 2,1 % 2]
2023-01-25 03:17:59 +0000 <HB[m]> I see
2023-01-25 03:18:02 +0000 <[Leary]> They print funny, but you can write `Rational`s like any other number.
2023-01-25 03:18:14 +0000 <HB[m]> It takes over the panels, though.
2023-01-25 03:18:39 +0000 <HB[m]> * panels, though. Is there a way to prevent it from doing that? I'd like the kde panels and xmobar etc. to remain visible.
2023-01-25 03:24:30 +0000banc(banc@gateway/vpn/protonvpn/banc)
2023-01-25 03:25:56 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-01-25 03:29:14 +0000 <HB[m]> I guess I'll have to resize it somehow to be between the top and bottom panels.
2023-01-25 03:30:15 +0000 <[Leary]> HB[m]: I'm not that familiar with bars/struts, but it looks like you can hack something up with `X.H.ManageDocks.calcGap`.
2023-01-25 03:47:54 +0000td_(~td@i53870917.versanet.de) (Ping timeout: 260 seconds)
2023-01-25 03:49:24 +0000td_(~td@i53870930.versanet.de)
2023-01-25 03:54:34 +0000 <[Leary]> HB[m]: I took a stab at it: https://gist.github.com/LSLeary/72add95f8bbc16c9362d85dd8680cba5
2023-01-25 04:07:07 +0000rundown(~defjam@2a02:c7e:2807:b900:6c7a:2207:d06b:87cb) (Ping timeout: 248 seconds)
2023-01-25 04:25:55 +0000 <HB[m]> Oh wow, thank you so much!
2023-01-25 04:26:07 +0000 <HB[m]> Let me try to make sense out of this one
2023-01-25 04:28:49 +0000HB[m]sent a haskell code block: https://libera.ems.host/_matrix/media/v3/download/libera.chat/a88631105ff9c0e5204afba1aefffcfbb2c9…
2023-01-25 04:31:19 +0000 <HB[m]> So first define a function called strutlessRR, takes set Diretion2D and produces X rationalrect
2023-01-25 04:32:07 +0000 <HB[m]> then do
2023-01-25 04:32:07 +0000 <HB[m]> calculate Gap and haskell sytnax is so alien to me always. I gotta look up arrow
2023-01-25 04:36:49 +0000 <HB[m]> * Then run calcGap and put it into ds (or calc)
2023-01-25 04:36:49 +0000 <HB[m]> Then SD rect gets screen detail from current screen in the current window set
2023-01-25 04:36:49 +0000 <HB[m]> Then calc rectangle
2023-01-25 04:36:49 +0000 <HB[m]> Then strutless floating function, and passin the strutlessRR function into the customFloating
2023-01-25 04:37:01 +0000 <HB[m]> I gotta learn haskell one day, after exams.
2023-01-25 04:37:48 +0000 <HB[m]> `(W.RationalRect 0 (18/1080) 1 (1041/1080)))` BTW, I was also able to do this.
2023-01-25 04:37:48 +0000 <HB[m]> I figured specify actual pixel specific positioning for my mysetup
2023-01-25 06:34:57 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 256 seconds)
2023-01-25 06:41:45 +0000banc(banc@gateway/vpn/protonvpn/banc) (Ping timeout: 256 seconds)
2023-01-25 06:49:54 +0000 <xmonadtrack> xmonad-contrib Tony Zorman * v0.17.1-125-g49904ec4: X.U.NamedScratchpad: Fix typo in exclusive docs (89 seconds ago, 1 file, 4+ 3-) https://github.com/xmonad/xmonad-contrib/commit/49904ec4d3a7
2023-01-25 07:55:51 +0000banc(banc@gateway/vpn/protonvpn/banc)
2023-01-25 08:00:05 +0000mc47(~mc47@xmonad/TheMC47)
2023-01-25 09:04:17 +0000ft(~ft@p4fc2a257.dip0.t-ipconnect.de) (Quit: leaving)
2023-01-25 10:44:30 +0000rundown(~defjam@2a02:c7e:2807:b900:6c7a:2207:d06b:87cb)
2023-01-25 11:16:22 +0000mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2023-01-25 12:08:13 +0000mc47(~mc47@xmonad/TheMC47)
2023-01-25 12:14:47 +0000qbt(~qbt@user/edun)
2023-01-25 12:17:14 +0000qbt(~qbt@user/edun) (Client Quit)
2023-01-25 12:17:29 +0000qbt(~qbt@user/edun)
2023-01-25 12:17:50 +0000qbt(~qbt@user/edun) (Client Quit)
2023-01-25 12:18:05 +0000qbt(~qbt@user/edun)
2023-01-25 12:22:34 +0000qbt(~qbt@user/edun) (Client Quit)
2023-01-25 12:22:50 +0000qbt(~qbt@user/edun)
2023-01-25 12:25:25 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2023-01-25 13:15:19 +0000 <T_X> is there a way to convert a KeySym to a KeyMask? I'm thinking about only using the left Alt key instead of both Alt + AltGr, if that's possible
2023-01-25 13:16:24 +0000 <T_X> (and hoogle seems to fail me, unless I'm overlooking something: https://hoogle.haskell.org/?q=words&hoogle=KeySym%20-%3E%20KeyMask)
2023-01-25 13:22:42 +0000thyriaen(~thyriaen@2a01:aea0:dd4:4fa4:6245:cbff:fe9f:48b1)
2023-01-25 13:23:19 +0000 <thyriaen> Could you do something to reach out to fedora from a xmonad dev point of view and ask for inclusion of xmonad-0.17.1 in fedora38 ?
2023-01-25 13:27:11 +0000 <thyriaen> otherwise i don't know how to get the newest version running on f36/f37
2023-01-25 13:38:41 +0000 <[Leary]> T_X: That's a matter of keyboard (xkb or xmodmap) configuration. You want to exclude AltGr from the modifier mask it shares with Alt.
2023-01-25 13:50:31 +0000 <T_X> [Leary]: ok, thanks! was hoping to avoid that, but will do that with xmodmap then, I guess. would be nice, if ~/.config/xkb/symbols/... worked on X11, too and not only on Wayland :)
2023-01-25 13:58:11 +0000 <T_X> hm, I get a strange error with xmodmap though: https://paste.linuxlounge.net/54
2023-01-25 14:06:49 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 252 seconds)
2023-01-25 14:19:55 +0000 <geekosaur> T_X, I think it's just that the xkb stuff in X11 was never updated to use XDG paths.
2023-01-25 14:20:17 +0000 <geekosaur> The dotfiles for X11 xkb just go right in ~
2023-01-25 15:52:42 +0000mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2023-01-25 16:00:06 +0000unclechu(~unclechu@2001:470:69fc:105::354) (Quit: You have been kicked for being idle)
2023-01-25 16:42:33 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
2023-01-25 16:58:55 +0000 <thyriaen> how can i install xmonad in a different way other than from my distro ?
2023-01-25 16:59:10 +0000unclechu(~unclechu@2001:470:69fc:105::354)
2023-01-25 17:01:57 +0000 <geekosaur> https://xmonad.org/INSTALL.html#download-xmonad-sources
2023-01-25 17:02:10 +0000 <thyriaen> should i use stack ?
2023-01-25 17:02:15 +0000 <thyriaen> or cabal ?
2023-01-25 17:02:29 +0000 <geekosaur> stack vs., cabal is up to you; the installation guide explains both
2023-01-25 17:02:42 +0000 <thyriaen> i don't know what the difference is
2023-01-25 17:02:54 +0000 <geekosaur> I personally use cabal, but I think the other maintainers all use stack
2023-01-25 17:03:12 +0000 <thyriaen> ok
2023-01-25 17:03:46 +0000 <geekosaur> they're pretty much the same if you're working from git. they differ more if you use xmonad from stackage (stack) or hackage (cabal)
2023-01-25 17:04:37 +0000 <geekosaur> stack believes in curated sets of packages which may be somewhat out of date but are tested to work together; cabal works with the most recent compatible packages on hackage directly
2023-01-25 17:10:47 +0000 <thyriaen> geekosaur, ah but both can be used with git so then it doesn't matter ?
2023-01-25 17:11:00 +0000 <geekosaur> right
2023-01-25 17:11:06 +0000 <thyriaen> i understand thanks
2023-01-25 17:11:08 +0000 <thyriaen> i will try
2023-01-25 17:11:47 +0000 <geekosaur> either by cloning it locally or by pointing it to a git refspec via `stack.yaml` / `cabal.project`
2023-01-25 17:11:59 +0000 <thyriaen> the guide clones it
2023-01-25 17:12:12 +0000 <geekosaur> yes, I saw.
2023-01-25 17:12:48 +0000 <geekosaur> I clone it locally as well, but I',m a developer so I may be testing stuff on a branch that I'll eventually push and make a PR from
2023-01-25 17:14:34 +0000 <geekosaur> there's also an option not shown there: if you don't want to track git but want the latest release version, you can use minimally configured stack/cabal to get the most recent release from stackage/hackage
2023-01-25 17:20:29 +0000qbt(~qbt@user/edun) (Ping timeout: 260 seconds)
2023-01-25 17:43:28 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2023-01-25 17:44:26 +0000jeeeun(~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
2023-01-25 17:45:44 +0000jeeeun(~jeeeun@78.40.148.178)
2023-01-25 18:13:54 +0000qbt(~qbt@user/edun)
2023-01-25 18:17:12 +0000jeeeun(~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
2023-01-25 18:20:32 +0000jeeeun(~jeeeun@78.40.148.178)
2023-01-25 18:31:08 +0000tv(~tv@user/tv) (Quit: derp)
2023-01-25 18:31:35 +0000tv(~tv@user/tv)
2023-01-25 18:44:26 +0000hrberg(~quassel@171.79-160-161.customer.lyse.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
2023-01-25 18:47:34 +0000hrberg(~quassel@171.79-160-161.customer.lyse.net)
2023-01-25 18:50:25 +0000 <thyriaen> geekosaur, that would be ideal - is there a guide you can point me to where this is explained ?
2023-01-25 18:51:22 +0000 <geekosaur> just put dependencies in your cabal file and stack or cabal will fetch them
2023-01-25 18:51:39 +0000 <geekosaur> you still need a stack.yaml but it'll only specify a resolver
2023-01-25 18:51:53 +0000 <thyriaen> geekosaur, i have no experience with cabal
2023-01-25 18:55:46 +0000 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad-bsa.cabal but you won't need unix, dbus, or utf8-string (I need those because my xmonad config talks over dbus to mate-panel)
2023-01-25 18:56:30 +0000 <geekosaur> although this is a more complete cabal config than the INSTALL.html uses, partly because of the dbus stuff and partly so HLS works with my xmonad config
2023-01-25 18:57:23 +0000 <geekosaur> if you use this directly you'll need a build script (https://github.com/geekosaur/xmonad.hs/blob/skkukuk/build)
2023-01-25 18:58:38 +0000rundown(~defjam@2a02:c7e:2807:b900:6c7a:2207:d06b:87cb) (Ping timeout: 246 seconds)
2023-01-25 19:02:07 +0000ft(~ft@p4fc2a257.dip0.t-ipconnect.de)
2023-01-25 19:09:03 +0000 <geekosaur> hm, actually INSTALL.html says how to do this simply without actually saying so. skip the git checkout and skip creating `cabal.project`
2023-01-25 19:09:36 +0000 <geekosaur> start at "Install everything"
2023-01-25 19:10:30 +0000 <geekosaur> then you don't need the build script or cabal file (the package-env options do what's needed for it to find them)
2023-01-25 19:15:49 +0000zxrenpbjr[m](~zxrenpbjr@2001:470:69fc:105::2:fce6)
2023-01-25 20:01:35 +0000qbt(~qbt@user/edun) (Ping timeout: 260 seconds)
2023-01-25 20:02:07 +0000telser(~quassel@user/telser) (Ping timeout: 252 seconds)
2023-01-25 20:03:16 +0000telser(~quassel@user/telser)
2023-01-25 20:03:26 +0000 <xmonadtrack> xmonad-contrib Tony Zorman * v0.17.1-123-g0afbbf91: X.U.EZConfig: Add remapKeysP (5 days ago, 2 files, 40+ 0-) https://github.com/xmonad/xmonad-contrib/commit/0afbbf9129cc
2023-01-25 20:03:26 +0000 <xmonadtrack> xmonad-contrib Tony Zorman {GitHub} * v0.17.1-127-g33c1e242: Merge pull request #794 from slotThe/ezconfig/remapkeysp (31 seconds ago, 0 files, 0+ 0-) https://github.com/xmonad/xmonad-contrib/commit/33c1e242881e
2023-01-25 20:08:45 +0000 <geekosaur> wrt that, how would people feel about changing xmonad's key mapping stuff to use `data Keymap = Submap (Maybe String) (Map (KeyMask,KeySym) Keymap) | Action (Maybe String) (X ())` (or maybe factor the `Maybe String` out)
2023-01-25 20:08:56 +0000 <geekosaur> after xmonad 1.0
2023-01-25 20:10:43 +0000 <geekosaur> the Maybe String would allow mod-shift-/ to show the actual keymap with optional key grouping
2023-01-25 20:12:55 +0000 <geekosaur> (just spitballing right now)
2023-01-25 20:32:24 +0000telser(~quassel@user/telser) (Ping timeout: 260 seconds)
2023-01-25 20:32:28 +0000telser_(~quassel@user/telser)
2023-01-25 21:18:27 +0000Forkk_(~forkk@li926-228.members.linode.com) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
2023-01-25 21:18:55 +0000Forkk(~forkk@li926-228.members.linode.com)
2023-01-25 21:43:00 +0000rundown(~defjam@2a02:c7e:2807:b900:6c7a:2207:d06b:87cb)
2023-01-25 22:00:47 +0000 <liskin> what's the benefit of having that in the core rather than a contrib module that tells core the raw mappings?
2023-01-25 22:03:54 +0000thyriaen(~thyriaen@2a01:aea0:dd4:4fa4:6245:cbff:fe9f:48b1) (Remote host closed the connection)
2023-01-25 22:12:01 +0000 <geekosaur> the problems with handling `Submap`s when combining `remapKeysP` with `additionalKeysP`, or with remapping something in a `Submap`
2023-01-25 22:12:26 +0000 <geekosaur> see discussion in the `remapKeysP` PR
2023-01-25 22:43:00 +0000habib(~habib@78-110-166-168.as42831.net)