Logs on 2025-05-06 (liberachat/#xmonad)
| 00:35:02 | → | sajenim joins (~sajenim@user/sajenim) |
| 01:33:25 | × | OftenFaded38 quits (~OftenFade@user/tisktisk) (Quit: Client closed) |
| 02:14:18 | × | td_ quits (~td@i5387090D.versanet.de) (Ping timeout: 244 seconds) |
| 02:16:06 | → | td_ joins (~td@i53870907.versanet.de) |
| 02:22:52 | × | td_ quits (~td@i53870907.versanet.de) (Ping timeout: 276 seconds) |
| 02:24:21 | → | td_ joins (~td@i5387093E.versanet.de) |
| 04:59:05 | → | werneta joins (~werneta@syn-071-083-160-242.res.spectrum.com) |
| 06:50:08 | → | mc47 joins (~yecinem@p200300ee0f0937fc43fd4213d4832676.dip0.t-ipconnect.de) |
| 07:18:19 | × | redgloboli quits (~redglobol@user/redgloboli) (Quit: ...enter the matrix...) |
| 07:19:53 | → | redgloboli joins (~redglobol@user/redgloboli) |
| 10:08:01 | → | ChubaDuba joins (~ChubaDuba@46.147.103.147) |
| 10:32:00 | × | ChubaDuba quits (~ChubaDuba@46.147.103.147) (Quit: WeeChat 4.6.0) |
| 11:33:22 | <L29Ah> | omg my xmonad is becoming slow |
| 11:34:05 | <L29Ah> | win-q takes 37 seconds to rebuild(?) and restart it |
| 13:14:27 | <deebo> | hmm how do i add dbus dep to my stack.yaml so it's pulled in |
| 13:19:02 | <deebo> | ah was missing version so it assumed it was a local directory |
| 13:48:11 | × | Solitary quits (~Solitary@user/solitary) (Ping timeout: 244 seconds) |
| 13:55:00 | → | Solitary joins (~Solitary@user/solitary) |
| 14:00:03 | <deebo> | hmpf, what's the proper way to include dbus in my xmonad build via stack? should it be an os package, or a specific 'extra-deps' version?, can't get this to build for mate-log-applet usage |
| 14:02:25 | <geekosaur> | probably extra-deps. that said, I don't use stack. also, an OS package will only work with the OS's ghc |
| 14:03:29 | <deebo> | yeah i just keep getting could not find module DBus |
| 14:05:02 | <geekosaur> | https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad-bsa.cabal |
| 14:08:32 | <L29Ah> | what's stack |
| 14:08:49 | <L29Ah> | ‰ cat ~/.xmonad/build |
| 14:08:49 | <L29Ah> | #!/bin/sh |
| 14:08:49 | <L29Ah> | ghc -fno-warn-tabs --make xmonad.hs -i -ilib -fforce-recomp -main-is main -v0 -outputdir ~/.xmonad/build-x86_64-linux -o ~/.xmonad/xmonad-x86_64-linux |
| 15:21:32 | × | Solitary quits (~Solitary@user/solitary) (Ping timeout: 272 seconds) |
| 15:32:12 | × | tv quits (~tv@user/tv) (Read error: Connection reset by peer) |
| 15:36:04 | → | Solitary joins (~Solitary@user/solitary) |
| 16:47:04 | × | werneta quits (~werneta@syn-071-083-160-242.res.spectrum.com) (Ping timeout: 252 seconds) |
| 16:54:05 | × | mc47 quits (~yecinem@p200300ee0f0937fc43fd4213d4832676.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 17:23:44 | × | sajenim quits (~sajenim@user/sajenim) (Ping timeout: 252 seconds) |
| 18:09:40 | <deebo> | gah, finally figured it out but using stack pulling in a specific ghc creates a massive web of dependency issues when downgrading dbus to <1.3 |
| 18:11:38 | <deebo> | does plain cabal just use OS ghc? |
| 18:21:12 | <L29Ah> | yes if it satisfies the .cabal file requrement |
| 18:21:25 | <L29Ah> | ghc --make uses whatever is present in the system regardless |
| 18:35:12 | <deebo> | lets try with the stackage version from xmonad repo itself |
| 18:49:41 | → | OftenFaded16 joins (~OftenFade@user/tisktisk) |
| 18:59:59 | <haskellbridge> | <Solid> You can also force stack to use your system's GHC version if you want |
| 19:08:35 | × | OftenFaded16 quits (~OftenFade@user/tisktisk) (Quit: Client closed) |
| 19:11:45 | <deebo> | hmm, last weird problem i dont get |
| 19:11:59 | → | OftenFaded3 joins (~OftenFade@user/tisktisk) |
| 19:13:39 | <deebo> | let sig = (D.signal "/org/xmonad/Log" "org.xmonad.Log" "Update") gives me one error per parameter: Couldn't match type ‘[Char]’ with ‘D.MemberName’ |
| 19:14:45 | <deebo> | docs for dbus say something about coercing strings to the correct type, but i know very little haskell in the end :) |
| 19:15:11 | <deebo> | is a [Char] compatible with String? |
| 19:15:48 | <geekosaur> | yes, but sadly it doesn't use Strings |
| 19:16:00 | × | OftenFaded3 quits (~OftenFade@user/tisktisk) (Client Quit) |
| 19:16:06 | <geekosaur> | turn on the OverloadedStrings extension, it's pretty much the only way to use the dbus bindings |
| 19:17:01 | → | OftenFaded55 joins (~OftenFade@user/tisktisk) |
| 19:17:43 | <deebo> | ah that was the weird comment part in the examples |
| 19:18:28 | <deebo> | but it finally works, after way too much time spent |
| 19:23:30 | <geekosaur> | I probably should have linked you my xmonad.hs yesterday, it uses dbus to talk to xmonad-log-applet https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs |
| 19:34:54 | <deebo> | yeah that's what i looked at to finally get it to working, the xmonad-log-applet example uses some things that i couldn't find, like defaultPP and the typing of the printer is different |
| 19:41:09 | <geekosaur> | I think I still have to upgrade some things to the new regime where everything uses a pretty much untyped `def` |
| 19:41:37 | <geekosaur> | but the PP stuff is in https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Hooks-StatusBar-PP.html |
| 19:43:18 | <deebo> | is `defaultPP` the documented "Default PP" instance? is there a more explicit way of referring to it? |
| 19:49:11 | <geekosaur> | it's `def` now and all the explicit ways are being removed |
| 19:49:23 | <geekosaur> | (which imo is a bad thing but the other maintainers went for it) |
| 19:49:51 | <geekosaur> | we've already had one bug due to use of `def` when it was inappropriate but assumed to work because it does everywhere else now |
| 20:29:05 | → | tv joins (~tv@user/tv) |
| 22:36:15 | × | OftenFaded55 quits (~OftenFade@user/tisktisk) (Quit: Client closed) |
| 22:55:18 | → | Lears joins (~Leary@user/Leary/x-0910699) |
| 22:58:28 | × | Leary quits (~Leary@user/Leary/x-0910699) (Read error: Connection reset by peer) |
All times are in UTC on 2025-05-06.