Home liberachat/#xmonad: Logs Calendar

Logs on 2021-12-01 (liberachat/#xmonad)

00:00:03 × curiousgay quits (~curiousga@77-120-141-90.kha.volia.net) (*.net *.split)
00:00:03 × nomadxx3 quits (~lanomadx@69.167.42.149) (*.net *.split)
00:00:03 × yosafbridge quits (~yosafbrid@static.38.6.217.95.clients.your-server.de) (*.net *.split)
00:00:03 × eqw quits (~eqw@31.134.178.99) (*.net *.split)
00:00:03 × joshproehl quits (~quassel@user/joshproehl) (*.net *.split)
00:00:03 × haskl quits (~haskl@user/haskl) (*.net *.split)
00:00:03 × thunderrd quits (~thunderrd@183.182.110.132) (*.net *.split)
00:00:03 × steve_ quits (~steve@ool-182c2b80.dyn.optonline.net) (*.net *.split)
00:00:03 × terrorjack quits (~terrorjac@static.3.200.12.49.clients.your-server.de) (*.net *.split)
00:00:03 × banc quits (banc@gateway/vpn/airvpn/banc) (*.net *.split)
00:00:04 × amenonsen quits (~amenonsen@pitta.toroid.org) (*.net *.split)
00:00:04 × vrs quits (~vrs@user/vrs) (*.net *.split)
00:00:04 × xacktm quits (xacktm@user/xacktm) (*.net *.split)
00:00:18 eqw joins (~eqw@31.134.178.99)
00:00:26 steve_ joins (~steve@ool-182c2b80.dyn.optonline.net)
00:00:39 thunderrd joins (~thunderrd@183.182.110.132)
00:00:50 joshproehl joins (~quassel@user/joshproehl)
00:00:52 nomadxx3 joins (~lanomadx@69.167.42.149)
00:01:21 amenonsen joins (~amenonsen@pitta.toroid.org)
00:01:51 yosafbridge joins (~yosafbrid@static.38.6.217.95.clients.your-server.de)
00:02:26 banc joins (banc@gateway/vpn/airvpn/banc)
00:02:27 xacktm joins (xacktm@user/xacktm)
00:02:42 haskl joins (~haskl@user/haskl)
00:02:55 curiousgay joins (~curiousga@77-120-141-90.kha.volia.net)
00:03:33 vrs joins (~vrs@user/vrs)
00:08:32 × sheb quits (~sheb@31.223.228.71) (Ping timeout: 240 seconds)
00:49:59 mvk joins (~mvk@2607:fea8:5cc1:fa00::4702)
01:25:06 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
01:25:06 allbery_b joins (~geekosaur@xmonad/geekosaur)
01:25:09 allbery_b is now known as geekosaur
02:11:53 sheb joins (~sheb@31.223.228.71)
02:14:04 × sheb quits (~sheb@31.223.228.71) (Remote host closed the connection)
02:14:20 sheb joins (~sheb@31.223.228.71)
02:20:48 × steve_ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 256 seconds)
02:34:18 <spoonm> looking at X.U.Dmenu, I see the documentation says runProcessWithInput (X.U.Run) will block XMonad's event loop until the process exits
02:34:29 <spoonm> is there a way to run a process without blocking XMonad's event loop?
02:34:39 <spoonm> the process I want to run spawns a window that needs to be managed by XMonad
02:34:48 <spoonm> but I care about the output of that program in XMonad as well
02:35:06 <geekosaur> you can't do both at the same time, no
02:35:35 <spoonm> dang it
02:37:07 <geekosaur> closest you can get is to spawn a thread which launches the program, but that thread then can't do anything that accesses or affects xmonad's state, which is single-threaded because X11 is essentially single-threaded
02:38:31 × mvk quits (~mvk@2607:fea8:5cc1:fa00::4702) (Ping timeout: 252 seconds)
02:38:40 <geekosaur> (since the server connection is a socket and there's no way to say which thread should receive a message from it)
03:02:44 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
03:22:53 × td_ quits (~td@muedsl-82-207-238-126.citykom.de) (Ping timeout: 252 seconds)
03:24:01 banc joins (banc@gateway/vpn/airvpn/banc)
03:24:46 td_ joins (~td@muedsl-82-207-238-025.citykom.de)
04:00:01 × haasn quits (~nand@haasn.dev) (Quit: ZNC 1.7.5+deb4 - https://znc.in)
04:01:21 haasn joins (~nand@haasn.dev)
04:14:39 × obimod quits (~obimod@gateway/vpn/pia/obimod) (Ping timeout: 256 seconds)
04:36:10 × sagax quits (~sagax_nb@user/sagax) (Quit: Konversation terminated!)
05:19:06 obimod joins (~obimod@gateway/vpn/pia/obimod)
05:45:31 × obimod quits (~obimod@gateway/vpn/pia/obimod) (Ping timeout: 252 seconds)
05:47:54 obimod joins (~obimod@gateway/vpn/pia/obimod)
05:52:41 × atwm quits (~atwm@19-193-28-81.ftth.cust.kwaoo.net) (Ping timeout: 256 seconds)
06:05:09 × obimod quits (~obimod@gateway/vpn/pia/obimod) (Ping timeout: 256 seconds)
06:34:03 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
06:35:22 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
06:56:56 qbt joins (~qbt@user/edun)
08:04:03 cfricke joins (~cfricke@user/cfricke)
09:01:40 <Solid> Benzi-Junior: if you have a working stack-based setup, it should be as easy as pointing it to use xmonad-contrib in your stack.yaml file
09:02:42 <Solid> e.g. https://gitlab.com/slotThe/dotfiles/-/blob/master/xmonad/.config/xmonad/stack.yaml
09:16:54 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Read error: Connection reset by peer)
09:17:35 geekosaur joins (~geekosaur@xmonad/geekosaur)
09:34:47 × mestre quits (~mestre@191.177.175.57) (Quit: Lost terminal)
09:58:05 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
10:07:52 mvk joins (~mvk@2607:fea8:5cc1:fa00::4702)
10:23:14 mc47 joins (~mc47@xmonad/TheMC47)
10:30:37 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
10:36:59 sn3w[m] joins (~sn3w@2001:470:69fc:105::1:2d0b)
10:37:10 <sn3w[m]> \o
10:37:11 <sn3w[m]> I'm on NixOS
10:37:25 <sn3w[m]> I have a blank xmonad.hs file in ~/.xmonad
10:37:33 <sn3w[m]> When I try to open xmonad using startx
10:37:42 <sn3w[m]> Nothing appears
10:37:50 <sn3w[m]> keybinds don't work
10:46:28 <Solid> AFAIR you need at least `main = xmonad def`; I doubt a blank file would even compile (maybe NixOS does some default config magic? I don't know)
10:48:26 <sn3w[m]> Solid: https://github.com/geohot/configuration/blob/master/.xmonad/xmonad.hs Is this fine?
10:48:27 <Solid> (in any case, try `xmonad --recompile` and see what you get)
10:48:56 <Solid> there's some missing indentation
10:49:00 <Solid> I don't think this would compile
10:49:49 <Solid> indent everything below `main = do` a bit, like http://ix.io/3rh0
10:51:16 × curiousgay quits (~curiousga@77-120-141-90.kha.volia.net) (Quit: Leaving)
10:51:57 <sn3w[m]> Ooh forgot to do xmonad --recompile after updating the configuration
10:52:22 <sn3w[m]> setroot -solid gray
10:52:22 <sn3w[m]> exec /usr/bin/xmonad
10:52:30 <sn3w[m]> Is this fine for exection?
10:52:37 <sn3w[m]> * ```
10:52:37 <sn3w[m]> setroot -solid gray
10:52:37 <sn3w[m]> exec xmonad
10:52:37 <sn3w[m]> ```
10:52:56 <Solid> yeah that should be fine
10:53:20 <Solid> (normally it should check the config's modification date and recompile based on that, though)
10:53:50 <sn3w[m]> Hmm then why no mouse and keybindings?
10:59:29 <Solid> well, I don't know! :) As an additional data point, your config works just fine for me (e.g., M-S-<Enter> brings up xterm just fine)
11:00:21 <Solid> I'm not a NixOS user, so I can't way whether you need to do something special there
11:23:41 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
11:25:52 terrorjack joins (~terrorjac@static.3.200.12.49.clients.your-server.de)
11:29:55 × vrs quits (~vrs@user/vrs) (Ping timeout: 256 seconds)
11:30:12 vrs joins (~vrs@user/vrs)
11:32:56 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 252 seconds)
11:36:08 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
11:36:47 banc joins (banc@gateway/vpn/airvpn/banc)
12:02:32 × qbt quits (~qbt@user/edun) (Quit: Leaving.)
12:16:41 qbt joins (~qbt@user/edun)
12:20:22 × qbt quits (~qbt@user/edun) (Client Quit)
12:20:29 qbt joins (~qbt@user/edun)
12:21:44 × qbt quits (~qbt@user/edun) (Client Quit)
12:36:04 obimod joins (~obimod@gateway/vpn/pia/obimod)
13:36:06 sagax joins (~sagax_nb@user/sagax)
13:54:56 <sn3w[m]> Alright, so seems like there was a bit of misconfiguration in my xinitrc
13:55:02 <sn3w[m]> Now it works perfectly fine
13:55:43 <sn3w[m]> Also how do I get xmobar to conserve its own space so that xmonad considers that as a window and also to have xmobar appear above every window
14:00:50 qbt joins (~qbt@user/edun)
14:05:08 <Solid> sn3w[m]: you want the `docks` combinator, I would imagine ( https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Hooks-ManageDocks.html#v:docks )
14:05:34 <Solid> I would also encourage you to go through the tutorial https://xmonad.org/TUTORIAL.html
14:12:15 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
14:16:03 geekosaur joins (~geekosaur@xmonad/geekosaur)
14:32:29 rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com)
14:40:25 lyiriyah joins (~lyiriyah@user/lyiriyah)
14:49:20 × bsima quits (~bsima@2604:a880:400:d0::19f1:7001) (Quit: ZNC 1.8.2 - https://znc.in)
14:49:55 bsima joins (~bsima@2604:a880:400:d0::19f1:7001)
14:56:51 × lyiriyah quits (~lyiriyah@user/lyiriyah) (Remote host closed the connection)
15:07:12 × qbt quits (~qbt@user/edun) (Quit: Leaving.)
15:25:23 × sheb quits (~sheb@31.223.228.71) (Quit: Leaving)
15:44:09 dschrempf joins (~dominik@mobiledyn-62-240-134-39.mrsn.at)
15:46:15 qbt joins (~qbt@user/edun)
16:06:44 × dschrempf quits (~dominik@mobiledyn-62-240-134-39.mrsn.at) (Quit: WeeChat 3.3)
16:18:01 seschwar joins (~seschwar@user/seschwar)
16:22:07 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.3)
16:24:59 × mvk quits (~mvk@2607:fea8:5cc1:fa00::4702) (Ping timeout: 252 seconds)
17:05:32 × td_ quits (~td@muedsl-82-207-238-025.citykom.de) (Remote host closed the connection)
17:07:43 <Solid> liskin: I have a hackage account now; if you want (and add me to the maintainers group) I could try to release x11-xft 0.3.4 (I'm guessing we'd bump first with all of the new changes)
17:08:26 <liskin> Solid: you don't need a hackage account to release that
17:09:08 <liskin> there's a token configured in the repo
17:09:35 <Solid> oh
17:11:29 <liskin> anyway, what's the status of the other half of that code - the xmonad part?
17:11:59 <Solid> I'm guessing they're waiting on the x11-xft release to pick it back up again
17:12:31 <liskin> I thought it might be wise to postpone the release until someone's tried using that code
17:12:42 <liskin> (the kernel people have this rule and I quite like it)
17:14:03 <Solid> fair enough
17:14:16 <Solid> it's not a lot of code on the contrib side, I'll try that with what's currently in x11-xft
17:15:45 <liskin> I've had the 0.3.3 release on my "today's" todo list for over a week now, shall I just drop it, do you want to try it on that, or shall I do it anyway?
17:16:58 <liskin> it'd be making a branch, adjusting the changelog a tiny bit, releasing a candidate from the branch and making a tagged release from a branch
17:17:56 <Solid> 0.3.3 as in everything up to https://github.com/xmonad/X11-xft/commit/24f6275791f2212215047f7af898750b7846810e or things beyond that as well?
17:18:46 <liskin> up to https://github.com/xmonad/X11-xft/commit/b61d0e08986db087e557001542def3405bc8cf03
17:20:20 <Solid> I don't see any harm with releasing that as well
17:20:32 <Solid> if it's not a total chore for you feel free to do it :)
17:21:29 <liskin> okay
17:22:01 × srk quits (~sorki@user/srk) (Ping timeout: 245 seconds)
17:47:34 cyr4x3 joins (~cyr4x3@139.47.118.87)
17:48:01 <Solid> liskin: a first tests seems to indicate that font fallback works and the prompt also doesn't crash if only one font is specified
17:51:30 srk joins (~sorki@user/srk)
17:53:16 td_ joins (~td@muedsl-82-207-238-021.citykom.de)
17:53:16 × vermoot_ quits (~vermoot@89-158-106-112.rev.numericable.fr) (Read error: Connection reset by peer)
17:54:30 allbery_b joins (~geekosaur@xmonad/geekosaur)
17:54:30 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
17:54:33 allbery_b is now known as geekosaur
18:04:25 <liskin> good; 0.3.3 is out
18:13:53 × td_ quits (~td@muedsl-82-207-238-021.citykom.de) (Ping timeout: 256 seconds)
18:15:43 td_ joins (~td@94.134.91.22)
18:16:21 × qbt quits (~qbt@user/edun) (Quit: Leaving.)
18:28:17 <liskin> Solid: have you thought the X11-xft dependency bump through? (I haven't, but someone should)
18:28:49 <liskin> oh, I just got an e-mail that looks like an answer
18:29:41 <liskin> or not
18:31:11 curiousgay joins (~curiousga@77-120-141-90.kha.volia.net)
18:35:20 <Solid> liskin: I have not but I don't see what would break; the releases don't contain any breaking changes and x11-xft builds with ghc that are even older than what xmonad supports
18:37:05 <liskin> Solid: stack init with only xmonad/xmonad-contrib might break, perhaps? or will it automatically detect that X11-xft needs to be added to extra-deps?
18:38:38 × cyr4x3 quits (~cyr4x3@139.47.118.87) (Quit: WeeChat 2.3)
18:41:22 <Solid> I would hope it's smart enough to do that
18:41:24 <Solid> let's see
18:44:22 <geekosaur> mm, I should probably have tested that with cabal too. maybe I updated my local project too soon after all
18:45:05 <liskin> I'd expect cabal to just work, as it doesn't freeze dep versions unless you tell it to
18:53:54 tomsmeding parts (~tomsmedin@tomsmeding.com) (WeeChat 3.3)
20:08:33 mvk joins (~mvk@2607:fea8:5cc1:fa00::4702)
21:46:11 mestre joins (~mestre@191.177.175.57)
22:30:29 Ocelot joins (~ocelot@50-78-208-189-static.hfc.comcastbusiness.net)
22:41:07 × eqw quits (~eqw@31.134.178.99) (Read error: Connection reset by peer)
22:43:45 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
22:45:29 geekosaur joins (~geekosaur@xmonad/geekosaur)
22:58:43 electr0n joins (~electr0n@about/security/founder/electr0n)
23:05:16 × seschwar quits (~seschwar@user/seschwar) (Quit: :wq)
23:06:03 Vermoot joins (~vermoot@89-158-106-112.rev.numericable.fr)
23:14:01 steve_ joins (~steve@ool-182c2b80.dyn.optonline.net)
23:18:27 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
23:26:17 × electr0n quits (~electr0n@about/security/founder/electr0n) (Ping timeout: 252 seconds)
23:28:07 electr0n joins (~electr0n@about/security/founder/electr0n)
23:36:13 × mestre quits (~mestre@191.177.175.57) (Quit: Lost terminal)

All times are in UTC on 2021-12-01.