Home liberachat/#xmonad: Logs Calendar

Logs on 2022-03-10 (liberachat/#xmonad)

00:01:26 × jenifer quits (~jenifer@097-085-050-159.res.spectrum.com) (Quit: Leaving)
00:26:11 _bfrk joins (~Thunderbi@2001:9e8:356:fe00:1928:a910:1b2f:d635)
00:28:17 × bfrk quits (~Thunderbi@i59f7abad.versanet.de) (Ping timeout: 256 seconds)
00:28:17 _bfrk is now known as bfrk
00:51:13 theproffesor joins (~theproffe@2601:282:847f:8010::7f59)
00:52:54 × bfrk quits (~Thunderbi@2001:9e8:356:fe00:1928:a910:1b2f:d635) (Ping timeout: 250 seconds)
02:09:52 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Quit: Leaving)
02:11:29 geekosaur joins (~geekosaur@xmonad/geekosaur)
03:04:39 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 272 seconds)
03:22:09 banc joins (banc@gateway/vpn/airvpn/banc)
03:41:00 Guest21 joins (~Guest21@185.183.97.187)
03:42:37 <Guest21> is it possible to implement DWM like tags into XMonad nicely? CopyWindows works for assigning window to multiple workspaces, but there isn't a way to toggle tags/workspaces into view like in DWM?
05:19:17 × mvk quits (~mvk@2607:fea8:5cc3:7e00::45ee) (Ping timeout: 240 seconds)
05:25:11 × incertia quits (~incertia@207.98.163.88) (Read error: Connection reset by peer)
05:26:03 incertia joins (~incertia@207.98.163.88)
05:29:48 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 240 seconds)
05:48:13 × Guest21 quits (~Guest21@185.183.97.187) (Ping timeout: 240 seconds)
05:55:20 × redgloboli quits (~redglobol@user/redgloboli) (Quit: ...enter the matrix...)
05:56:29 redgloboli joins (~redglobol@user/redgloboli)
06:14:33 evan joins (~evan@219.136.52.90)
06:28:57 × steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 240 seconds)
07:49:47 dschrempf joins (~dominik@mobiledyn-62-240-134-189.mrsn.at)
07:57:48 × dschrempf quits (~dominik@mobiledyn-62-240-134-189.mrsn.at) (Ping timeout: 240 seconds)
09:14:26 bfrk joins (~Thunderbi@2001:9e8:356:fe00:1928:a910:1b2f:d635)
09:22:34 ArshiaAghaei[m] sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/f8b0b21f0aaa814c86121ab0e3dc4d14641d894b
09:22:35 <ArshiaAghaei[m]> I get this when using a language server on xmonad.hs
09:30:04 mc47 joins (~mc47@xmonad/TheMC47)
10:26:41 × bfrk quits (~Thunderbi@2001:9e8:356:fe00:1928:a910:1b2f:d635) (Quit: bfrk)
10:26:57 bfrk joins (~Thunderbi@i59F7ABAD.versanet.de)
10:33:49 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
11:01:34 benin joins (~benin@183.82.26.94)
11:46:25 × benin quits (~benin@183.82.26.94) (Remote host closed the connection)
11:53:07 <liskin> ArshiaAghaei[m]: HLS makes it hard/impossible to create a configuration that would make it work with xmonad.hs
11:53:36 <liskin> especially when one uses stack
12:16:46 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
12:16:48 allbery_b joins (~geekosaur@xmonad/geekosaur)
12:16:51 allbery_b is now known as geekosaur
12:22:13 <ArshiaAghaei[m]> <liskin> "Arshia Aghaei: HLS makes it hard..." <- So just not use a Haskell language server for xmonad.hs?
12:29:50 <geekosaur> sad
12:35:13 × evan quits (~evan@219.136.52.90) (Quit: Leaving)
12:37:18 Solid has had absolutely no problems with using HLS or ghcide for his xmonad.hs
12:38:08 geekosaur has never tried
12:38:21 <geekosaur> I kinda never developed the habit of using IDEs
12:38:58 <geekosaur> …and have memorized enough of xmonad and contrib (not to say Xlib) that I don't need to :)
12:39:58 <liskin> Solid: possibly because it's part of a cabal project?
12:40:45 <Solid> liskin: it's a stack project, I've never really used cabal on its own
12:41:07 <liskin> geekosaur: it doesn't do much anyway, but it shows errors so one doesn't need the extra window for ghcid and can use the screen space for something else
12:41:18 <liskin> Solid: it's something.cabal isn't it?
12:41:52 <liskin> But yeah mea culpa I meant package not project
12:42:02 <geekosaur> I'd expect a cabal file (which you'd need anyway unless you went the hpack route) would be enough
12:42:05 <Solid> ah, yeah it has a .cabal file
12:42:50 <geekosaur> but yes, the quick and dirty ways to build a config won;t give HLS enough information to figure itself out
13:07:47 <liskin> I suppose I could replace some of my make machinery with a .cabal file
13:09:56 <geekosaur> or not replace, just provide enough of a cabal file for HLS to work
13:19:02 dschrempf joins (~dominik@mobiledyn-62-240-134-171.mrsn.at)
13:20:23 <Solid> definitely replace all of the make machinery that you can :P
13:28:12 <geekosaur> enh. I mena, I'mnot a great fan of complex build systems, but there's also not breaking what already works
13:29:01 <geekosaur> especially when doing so means you can't log in afterward :)
13:31:08 <Solid> just don't log out until things work :D
13:31:36 <geekosaur> famous last words
13:39:38 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
13:42:12 × dschrempf quits (~dominik@mobiledyn-62-240-134-171.mrsn.at) (Ping timeout: 252 seconds)
13:46:50 Hash joins (~Hash@irc.websecurity.group)
14:00:26 dschrempf joins (~dominik@2a02:8389:100:e100:63d2:5fb6:bfcf:e59)
14:05:13 × bfrk quits (~Thunderbi@i59F7ABAD.versanet.de) (Ping timeout: 272 seconds)
14:05:51 × dschrempf quits (~dominik@2a02:8389:100:e100:63d2:5fb6:bfcf:e59) (Ping timeout: 252 seconds)
14:06:46 dschrempf joins (~dominik@2a02:8389:100:e100:78a9:fa63:bc23:f21d)
14:10:50 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
14:14:05 <liskin> Solid: I love my make machinery
14:14:58 <liskin> but yeah, can't really argue it's simple any more, which was my only argument against having xmonadrc.cabal
14:23:25 banc joins (banc@gateway/vpn/airvpn/banc)
14:34:56 × dschrempf quits (~dominik@2a02:8389:100:e100:78a9:fa63:bc23:f21d) (Ping timeout: 250 seconds)
14:55:55 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
15:02:51 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
15:05:08 dschrempf joins (~dominik@2a02:8389:100:e100:9474:382a:5c78:161d)
15:05:40 × byorgey quits (~byorgey@155.138.238.211) (Quit: leaving)
15:18:20 × fcser quits (~fcser@booty.farted.net) (Excess Flood)
15:18:27 fcser joins (~fcser@booty.farted.net)
15:19:32 × dschrempf quits (~dominik@2a02:8389:100:e100:9474:382a:5c78:161d) (Ping timeout: 252 seconds)
15:20:44 steve__ joins (~steve@ool-182c2b80.dyn.optonline.net)
15:46:13 frosch03 joins (~user@2a02:c98:1003:8000:bf30:b607:4d78:5e32)
15:50:03 bfrk joins (~Thunderbi@i59F7ABAD.versanet.de)
16:00:06 × Las[m] quits (~lasmatrix@2001:470:69fc:105::74e) (Quit: You have been kicked for being idle)
16:00:15 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
16:03:53 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
16:48:14 mvk joins (~mvk@2607:fea8:5cc3:7e00::45ee)
16:53:17 seschwar joins (~seschwar@user/seschwar)
17:13:00 × frosch03 quits (~user@2a02:c98:1003:8000:bf30:b607:4d78:5e32) (Remote host closed the connection)
17:26:46 dschrempf joins (~dominik@2a02:8389:100:e100:8314:75b7:5450:7049)
17:38:49 benin joins (~benin@183.82.26.94)
17:39:45 <benin> Any way to compile scripts/xmonadctl.hs from xmonad-contrib with the same stack.yaml used during install?
17:39:58 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
17:42:15 <benin> This link (https://xmonad.org/INSTALL.html#build-using-stack) is how my stack.yaml looks now. Just added XMonad.Hooks.ServerMode to my config, would be nice if this stack.yaml itself could somehow compile xmonadctl in so that it would trigger with just `xmonad --recompile` instead of compiling it separately.
17:43:17 <benin> Learning haskell as I configure, but not familiar with how stack works, any help would be nice, thanks!
17:47:52 <liskin> stack ghc should do it
17:48:28 <liskin> (and we should probably make it an executable in the cabal package, this manual building is silly)
17:50:15 <geekosaur> I think the main reason it isn't is that ServerMode is a proof of concept with a number of shortcomings
17:50:33 <Solid> mh, would `stack install` install every executable in that case or would it prompt you to specify one?
17:51:18 <geekosaur> all, I think. (cabal would ask you for a component, unless there's only one executable)
17:54:57 <liskin> hm, maybe that's why I didn't do it earlier, I vaguely remember considering it before
17:59:53 <benin> stack ghc -- --make xmonadctl.hs errors out with "could not find module Graphics.X11.Xlib and Graphics.X11.Xlib.Extras.
18:04:19 <benin> Will writing a stack.yaml in the scripts/ subdirectory and including it under packages: in the main stack.yaml work?
18:05:23 <benin> I see xmonad-contrib's stack.yaml having a extra-deps section with X11. Adding that section to scripts/stack.yaml should do no?
18:09:17 <liskin> you should run that command from the directory where you have your main stack.yaml
18:09:35 <liskin> so that's it's build using the same deps as xmonad
18:17:07 <benin> That worked, thanks. Sadly leaves the build artifacts and executable in the source dir.
18:30:57 × dschrempf quits (~dominik@2a02:8389:100:e100:8314:75b7:5450:7049) (Ping timeout: 252 seconds)
18:35:11 td_ joins (~td@94.134.91.38)
18:45:06 <benin> Got it working with the following. Really not sure if all this is required just to add one executable to compile.
18:45:06 <benin> scripts/stack.yaml: https://pastebin.com/GsnavCtd
18:45:06 <benin> scripts/xmonadctl.cabal: https://pastebin.com/wtzwgR08
18:45:06 <benin> Also added `- xmonad-contrib/scripts` to the base stack.yaml under packages:.
18:46:51 <benin> Well, at least now I know something about the convoluted build process in haskell /s.
18:46:51 <benin> Please check it out and lmk if I did something really stupid or if there's a better way, thanks!
18:47:24 <geekosaur> this is convoluted because you're trying to fit into a nonstandard build process
18:47:34 <geekosaur> a proper build script would be easier
18:50:52 <benin> Realized that. To be frank, this is still preferable over having .hi / .o files after running an arbitrary command (which I will most certainly forget).
18:51:18 <benin> At least this is a proper patch I can save for later.
18:54:39 × Czernobog quits (~Czernobog@user/czernobog) (Ping timeout: 272 seconds)
18:55:00 dschrempf joins (~dominik@2a02:8389:100:e100:2fc2:81e0:5305:9797)
18:55:40 Czernobog joins (~Czernobog@user/czernobog)
19:00:42 byorgey joins (~byorgey@155.138.238.211)
19:06:19 × vanvik quits (~vanvik@78.156.12.223) (Ping timeout: 256 seconds)
19:09:15 vanvik joins (~vanvik@78.156.12.223)
19:14:13 × dschrempf quits (~dominik@2a02:8389:100:e100:2fc2:81e0:5305:9797) (Ping timeout: 240 seconds)
20:39:15 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
20:48:52 banc joins (banc@gateway/vpn/airvpn/banc)
21:35:31 × benin quits (~benin@183.82.26.94) (Quit: The Lounge - https://thelounge.chat)
21:47:26 × zawaken quits (~zawaken@user/zawaken) (Quit: ZNC 1.9.x-git-unknown - https://znc.in)
21:50:58 zawaken joins (~zawaken@user/zawaken)
22:07:11 × zawaken quits (~zawaken@user/zawaken) (Remote host closed the connection)
22:33:02 zawaken joins (~zawaken@user/zawaken)
22:34:01 × zawaken quits (~zawaken@user/zawaken) (Client Quit)
22:36:41 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
22:38:39 <geekosaur> reminds me that at some point we need to arrange for -odir and -hidir to be the cache dir, if we haven't yet
23:25:24 zawaken joins (~zawaken@user/zawaken)
23:51:33 × seschwar quits (~seschwar@user/seschwar) (Quit: :wq)

All times are in UTC on 2022-03-10.