Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→ 184,985 events total
2023-01-25 03:15:24 <HB[m]> -- from the top, 2/3 of screen width by 2/3 of screen height
2023-01-25 03:15:31 <HB[m]> Hi
2023-01-25 03:15:46 <HB[m]> How exactly are these dimensions specified? Does it have to be fractions?
2023-01-25 03:17:31 <HB[m]> [Leary]: I see, thanks!
2023-01-25 03:17:47 <[Leary]> > [0, 1, 1/2, 0.5] :: [Rational]
2023-01-25 03:17:49 <lambdabot> [0 % 1,1 % 1,1 % 2,1 % 2]
2023-01-25 03:17:59 <HB[m]> I see
2023-01-25 03:18:02 <[Leary]> They print funny, but you can write `Rational`s like any other number.
2023-01-25 03:18:14 <HB[m]> It takes over the panels, though.
2023-01-25 03:18:39 <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 banc joins (banc@gateway/vpn/protonvpn/banc)
2023-01-25 03:25:56 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-01-25 03:29:14 <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 <[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 × td_ quits (~td@i53870917.versanet.de) (Ping timeout: 260 seconds)
2023-01-25 03:49:24 td_ joins (~td@i53870930.versanet.de)
2023-01-25 03:54:34 <[Leary]> HB[m]: I took a stab at it: https://gist.github.com/LSLeary/72add95f8bbc16c9362d85dd8680cba5
2023-01-25 04:07:07 × rundown quits (~defjam@2a02:c7e:2807:b900:6c7a:2207:d06b:87cb) (Ping timeout: 248 seconds)
2023-01-25 04:25:55 <HB[m]> Oh wow, thank you so much!
2023-01-25 04:26:07 <HB[m]> Let me try to make sense out of this one
2023-01-25 04:28:49 HB[m] sent a haskell code block: https://libera.ems.host/_matrix/media/v3/download/libera.chat/a88631105ff9c0e5204afba1aefffcfbb2c9e063
2023-01-25 04:31:19 <HB[m]> So first define a function called strutlessRR, takes set Diretion2D and produces X rationalrect
2023-01-25 04:32:07 <HB[m]> then do
2023-01-25 04:32:07 <HB[m]> calculate Gap and haskell sytnax is so alien to me always. I gotta look up arrow
2023-01-25 04:36:49 <HB[m]> * Then run calcGap and put it into ds (or calc)
2023-01-25 04:36:49 <HB[m]> Then SD rect gets screen detail from current screen in the current window set
2023-01-25 04:36:49 <HB[m]> Then calc rectangle
2023-01-25 04:36:49 <HB[m]> Then strutless floating function, and passin the strutlessRR function into the customFloating
2023-01-25 04:37:01 <HB[m]> I gotta learn haskell one day, after exams.
2023-01-25 04:37:48 <HB[m]> `(W.RationalRect 0 (18/1080) 1 (1041/1080)))` BTW, I was also able to do this.
2023-01-25 04:37:48 <HB[m]> I figured specify actual pixel specific positioning for my mysetup
2023-01-25 06:34:57 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 256 seconds)
2023-01-25 06:41:45 × banc quits (banc@gateway/vpn/protonvpn/banc) (Ping timeout: 256 seconds)
2023-01-25 06:49:54 <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 banc joins (banc@gateway/vpn/protonvpn/banc)
2023-01-25 08:00:05 mc47 joins (~mc47@xmonad/TheMC47)
2023-01-25 09:04:17 × ft quits (~ft@p4fc2a257.dip0.t-ipconnect.de) (Quit: leaving)
2023-01-25 10:44:30 rundown joins (~defjam@2a02:c7e:2807:b900:6c7a:2207:d06b:87cb)
2023-01-25 11:16:22 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
2023-01-25 12:08:13 mc47 joins (~mc47@xmonad/TheMC47)
2023-01-25 12:14:47 qbt joins (~qbt@user/edun)
2023-01-25 12:17:14 × qbt quits (~qbt@user/edun) (Client Quit)
2023-01-25 12:17:29 qbt joins (~qbt@user/edun)
2023-01-25 12:17:50 × qbt quits (~qbt@user/edun) (Client Quit)
2023-01-25 12:18:05 qbt joins (~qbt@user/edun)
2023-01-25 12:22:34 × qbt quits (~qbt@user/edun) (Client Quit)
2023-01-25 12:22:50 qbt joins (~qbt@user/edun)
2023-01-25 12:25:25 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2023-01-25 13:15:19 <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 <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 thyriaen joins (~thyriaen@2a01:aea0:dd4:4fa4:6245:cbff:fe9f:48b1)
2023-01-25 13:23:19 <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 <thyriaen> otherwise i don't know how to get the newest version running on f36/f37
2023-01-25 13:38:41 <[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 <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 <T_X> hm, I get a strange error with xmodmap though: https://paste.linuxlounge.net/54
2023-01-25 14:06:49 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 252 seconds)
2023-01-25 14:19:55 <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 <geekosaur> The dotfiles for X11 xkb just go right in ~
2023-01-25 15:52:42 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
2023-01-25 16:00:06 × unclechu quits (~unclechu@2001:470:69fc:105::354) (Quit: You have been kicked for being idle)
2023-01-25 16:42:33 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
2023-01-25 16:58:55 <thyriaen> how can i install xmonad in a different way other than from my distro ?
2023-01-25 16:59:10 unclechu joins (~unclechu@2001:470:69fc:105::354)
2023-01-25 17:01:57 <geekosaur> https://xmonad.org/INSTALL.html#download-xmonad-sources
2023-01-25 17:02:10 <thyriaen> should i use stack ?
2023-01-25 17:02:15 <thyriaen> or cabal ?
2023-01-25 17:02:29 <geekosaur> stack vs., cabal is up to you; the installation guide explains both
2023-01-25 17:02:42 <thyriaen> i don't know what the difference is
2023-01-25 17:02:54 <geekosaur> I personally use cabal, but I think the other maintainers all use stack
2023-01-25 17:03:12 <thyriaen> ok
2023-01-25 17:03:46 <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 <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 <thyriaen> geekosaur, ah but both can be used with git so then it doesn't matter ?
2023-01-25 17:11:00 <geekosaur> right
2023-01-25 17:11:06 <thyriaen> i understand thanks
2023-01-25 17:11:08 <thyriaen> i will try
2023-01-25 17:11:47 <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 <thyriaen> the guide clones it
2023-01-25 17:12:12 <geekosaur> yes, I saw.
2023-01-25 17:12:48 <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 <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 × qbt quits (~qbt@user/edun) (Ping timeout: 260 seconds)
2023-01-25 17:43:28 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2023-01-25 17:44:26 × jeeeun quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
2023-01-25 17:45:44 jeeeun joins (~jeeeun@78.40.148.178)
2023-01-25 18:13:54 qbt joins (~qbt@user/edun)
2023-01-25 18:17:12 × jeeeun quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
2023-01-25 18:20:32 jeeeun joins (~jeeeun@78.40.148.178)
2023-01-25 18:31:08 × tv quits (~tv@user/tv) (Quit: derp)
2023-01-25 18:31:35 tv joins (~tv@user/tv)
2023-01-25 18:44:26 × hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
2023-01-25 18:47:34 hrberg joins (~quassel@171.79-160-161.customer.lyse.net)
2023-01-25 18:50:25 <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 <geekosaur> just put dependencies in your cabal file and stack or cabal will fetch them
2023-01-25 18:51:39 <geekosaur> you still need a stack.yaml but it'll only specify a resolver
2023-01-25 18:51:53 <thyriaen> geekosaur, i have no experience with cabal
2023-01-25 18:55:46 <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 <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 <geekosaur> if you use this directly you'll need a build script (https://github.com/geekosaur/xmonad.hs/blob/skkukuk/build)

All times are in UTC.