Home liberachat/#xmonad: Logs Calendar

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

00:17:50 iffsid joins (~iffsid@2001:470:69fc:105::a3e)
00:29:43 × ml| quits (~ml|@user/ml/x-5298235) (Quit: WeeChat 3.4)
00:30:06 ml| joins (~ml|@user/ml/x-5298235)
01:15:47 × aliosablack quits (~chomwitt@2a02:587:dc18:da00:eb71:868b:3400:4636) (Ping timeout: 260 seconds)
01:31:00 × mvk quits (~mvk@2607:fea8:5cc3:7e00::7980) (Ping timeout: 240 seconds)
01:40:14 rekahsoft joins (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com)
01:41:13 × rekahsoft quits (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com) (Remote host closed the connection)
01:41:33 rekahsoft joins (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com)
01:47:52 × rekahsoft quits (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com) (Remote host closed the connection)
01:51:05 rekahsoft joins (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com)
01:51:19 × rekahsoft quits (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com) (Remote host closed the connection)
01:51:44 rekahsoft joins (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com)
02:03:51 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 260 seconds)
02:20:36 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
02:24:55 banc joins (banc@gateway/vpn/airvpn/banc)
02:25:10 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
02:34:46 × yosafbridge quits (~yosafbrid@static.38.6.217.95.clients.your-server.de) (Quit: Leaving)
02:40:23 yosafbridge joins (~yosafbrid@static.38.6.217.95.clients.your-server.de)
03:17:37 × Hash quits (~Hash@hey.howstoned.ru) (Ping timeout: 240 seconds)
03:23:01 × rekahsoft quits (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds)
04:59:30 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 272 seconds)
07:12:46 smultron parts (~smultron@c-73-239-231-28.hsd1.wa.comcast.net) (Leaving...)
08:10:22 aliosablack joins (~chomwitt@2a02:587:dc18:da00:e2ec:eb52:4039:9bfe)
09:00:06 × nihilipster[m] quits (~nihilipst@2001:470:69fc:105::720) (Quit: You have been kicked for being idle)
09:00:08 × galactic_starfis quits (~galactics@2001:470:69fc:105::1:2985) (Quit: You have been kicked for being idle)
09:06:02 × noex quits (~null@user/noex) (Remote host closed the connection)
09:06:31 noex joins (~null@user/noex)
09:17:18 <pyriphlegeton[m]> Does anybody know of an existing layout taking a function in its type constructor? I'd like to implement something like that but I can't seem to get around the Read constraint for contents of the Layout type.
09:34:52 <liskin> pyriphlegeton[m]: something like that is done in contrib somewhere, typically by introducing a type class and implementing the function as an instance
09:35:15 <liskin> It's a hack that works as a workaround for the Read issue
09:35:32 <liskin> Don't remember where exactly in contrib this is though
09:38:47 <pyriphlegeton[m]> liskin: Then I'll be digging there, thanks
09:39:53 <abastro[m]> Does anyone know why wine widget is separate from others?
09:49:28 Ether[m]1 joins (~etherrorc@2001:470:69fc:105::1:e66e)
09:51:46 <Ether[m]1> I need to display/echo... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/9427634be464891e139ec84c56fb112541ed8875)
09:52:06 × redgloboli quits (~redglobol@user/redgloboli) (Ping timeout: 272 seconds)
09:52:40 redgloboli joins (~redglobol@user/redgloboli)
09:52:42 <Ether[m]1> I opened an issue in the xmomad github, but then..
09:52:42 <Ether[m]1> https://github.com/xmonad/xmonad/issues/383
09:53:36 <Ether[m]1> This is how i was able to display the current layout on the polybar;
09:53:36 <Ether[m]1> https://github.com/xmonad/xmonad/issues/382
11:05:39 <Solid> Ether[m]1: something like https://ix.io/3TAC should work
11:13:09 × benin quits (~benin@183.82.24.110) (Quit: The Lounge - https://thelounge.chat)
11:35:14 <Ether[m]1> <Solid> "Ether: something like https://ix..." <- Ugh the link is broken for me 😞
11:36:11 <Solid> probably need to replace that https with an http
11:36:38 <Ether[m]1> Nope
11:36:49 <Ether[m]1> Can you upload to github?
11:36:59 <Ether[m]1> Or just mail it?
11:37:08 <Ether[m]1> ahanafether@gmail.com
11:38:10 <Ether[m]1> Nvm
11:38:23 <Ether[m]1> Solid: Works ! :(
11:38:33 <Ether[m]1> * Works ! :)
11:39:17 <Ether[m]1> <Solid> "Ether: something like https://ix..." <- Thats all cool! How do u echo to polybar?
11:47:38 <Solid> that depends on how you are doing this right now
11:48:06 <Ether[m]1> Solid: Do what right now?
11:48:16 <Solid> how you are sending information to polybar right now
11:48:20 <Ether[m]1> > <@etherror_code_404:matrix.org> This is how i was able to display the current layout on the polybar;
11:48:20 <Ether[m]1> > https://github.com/xmonad/xmonad/issues/382
11:48:20 <Ether[m]1> .
11:48:22 <lambdabot> <hint>:1:1: error: parse error on input ‘<@’
11:48:22 <lambdabot> error: Variable not in scope: httpserror:
11:48:22 <lambdabot> • Data constructor not in scope: (://) :: t0 -> (a0 -> c0) -> t
11:48:22 <lambdabot> • Perhaps you meant variable ‘//’ (imported from Data.Array)error: Varia...
11:49:53 <Ether[m]1> Solid: https://github.com/xmonad/xmonad/issues/382
11:50:11 <Solid> you can put them into the do notation like `wins <- numOfWindows`
11:50:29 <Ether[m]1> ?
11:50:41 <Ether[m]1> How do i append it in a log file?
11:50:49 <Solid> then you just need to decide where you want them; e.g. replace `(layout ++ "\n")` with `(layout ++ " " ++ wins ++ "\n")`
11:51:16 <Ether[m]1> Seems complex, cant i dump a log?
11:51:23 <Ether[m]1> Just ech the log ?
11:52:02 <Ether[m]1> Solid: That's not a hook, it won't work. Polbar doesn't read pipes :(
11:52:17 <Ether[m]1> * Just echo the log ?
11:52:55 <Solid> what?
12:08:43 <Ether[m]1> Why do people setwm name to LG3D?
12:08:49 <Ether[m]1> Any idea?
12:10:37 <Ether[m]1> https://www.reddit.com/r/xmonad/comments/abvvai/rename_wm/
12:10:40 <Ether[m]1> Found it*
12:21:08 <Ether[m]1> Can someone help me remove the dbus module from my configs without it throughing errors; https://github.com/Ahanaf-Ether/xmonad
12:21:44 <Ether[m]1> s/configs/config/, s/throughing/throwing/
12:32:16 <geekosaur> short version is: oracle java only understands one tiling window manager: LG3D, which is an example that comes with oracle java
12:32:27 <geekosaur> with openjdk there's an environment variable you set instead
12:36:48 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
12:38:39 geekosaur joins (~geekosaur@xmonad/geekosaur)
12:44:52 <Ether[m]1> How do i full screen? And hide my bar with one Fullscreen bind?
12:56:22 <Solid> perhaps you should rather read the tutorial: https://xmonad.org/TUTORIAL.html
14:22:56 Ether[m]1 uploaded an image: (29901KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/INewAkffGGZEFbVsaJCnfeHb/20220327_202144_7847260138105340009.jpg >
14:23:10 <Ether[m]1> Can someone help? Stuck for hours 😭😭
14:25:49 <geekosaur> if it thinks that's a function application then the real problem is probably before that
14:28:34 <Ether[m]1> What do i do then?
14:29:35 <geekosaur> well, you'll have to show us what came before that line. is your github uptodate? (it says updated 2 hours ago)
14:29:47 <Ether[m]1> Sure
14:29:49 <Ether[m]1> I will ❤️
14:29:53 <Ether[m]1> Thnx :)
14:31:34 × scardinal quits (~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Quit: leaving)
14:31:34 <geekosaur> also I just made a PR to remove the dbus stuff,if you stillneed
14:31:38 <Ether[m]1> https://github.com/Ahanaf-Ether/xmonad
14:31:52 <Ether[m]1> geekosaur: Ohh thnx ☺️☺️
14:31:57 <geekosaur> (I actually did that a couple hours ago but missed that it was still waiting for confirmation, whoops)
14:32:47 <geekosaur> ok, looks like you already did that yourself
14:32:50 <geekosaur> sorry
14:33:59 <Ether[m]1> geekosaur: What, no! THANKS YOU !!
14:34:21 <Ether[m]1> If i go back i will use that change 🙂
14:34:35 <Ether[m]1> But still need to figure my config though*
14:34:52 <geekosaur> I'm poking at it
14:35:56 <geekosaur> I'm confused by that error because right after a `=` can never be a function application
14:36:23 <Ether[m]1> So, what do i do?
14:39:29 scardinal joins (~supreme@customer-212-237-101-39.ip4.gigabit.dk)
14:42:02 <abastro[m]> Wow that is quite huge a configuration
14:42:53 <Ether[m]1> abastro[m]: Ik
14:43:34 <Ether[m]1> I forked it from distro tube!
14:43:40 <abastro[m]> Where did you get it? ..oh
14:44:51 <geekosaur> I'm still looking at it. you have several problems which I'm still sorting through
14:46:13 <abastro[m]> I thought everyone's config is under 100 lines like mine
14:49:31 <geekosaur> you haven't seen mine :}
14:49:45 <Ether[m]1> abastro[m]: If only it was so simple.
14:49:58 <geekosaur> ok, Ether[m]1 your big problem is you have a couple of mis-indented lines at the end which are confusing the compiler
14:50:10 <Ether[m]1> Ohhh
14:50:39 <Ether[m]1> Can you tell me the lines?
14:51:04 <geekosaur> I'm submitting a PR
14:51:13 <Ether[m]1> Ok.hs works, but its poorly written code.
14:51:27 <geekosaur> also you are missing a definition for `launcherString` (used on line 513(
14:51:30 <Ether[m]1> And not completely what i want:(
14:51:34 <abastro[m]> I mean, it is quite usable for me with a config under 100 lines
14:51:40 <Ether[m]1> * i want :(
14:51:58 <Ether[m]1> geekosaur: Ohh that's from old config ;)
14:52:14 <geekosaur> again?
14:52:15 <Ether[m]1> abastro[m]: Can i see your config?
14:52:25 <Ether[m]1> geekosaur: Noo.
14:52:32 <Ether[m]1> I meant the string*
14:52:45 <Ether[m]1> This is the newset config (uploaded)
14:53:14 <Ether[m]1> geekosaur: ok.hs line; 53
14:53:28 <Ether[m]1> Cant i remove it?
14:53:42 <Ether[m]1> Like remove that string, and go on without it?
14:54:29 <geekosaur> you really need to not chnage stuff while asking people to debug the unchanged onbe
14:54:43 <geekosaur> makes it really hard to help you
14:55:17 <Ether[m]1> I didn't*
14:55:30 <Ether[m]1> I am sorry! Its a miscommunication*
14:55:34 <geekosaur> anyway you still have indentation issues (although now they may be hidden) on lines 80, 81, and 83… assuming you haven't changed things yet again
14:55:47 <Ether[m]1> I meant that line was from old config :(
14:55:58 <geekosaur> uh, when you've been expecting me to see your ok.hs while 'm trying to fix xmonad.hs, it's a problem
14:56:09 <geekosaur> how was I supposed to know?
14:56:17 <Ether[m]1> I am sorry 😔
14:56:58 <geekosaur> anyway: are sthere still problems with ok.hs (aside from the indentation Ipointed you to)?
14:57:59 <Ether[m]1> Ok.hs works though!
14:58:41 <Ether[m]1> You don't need to touch that really its just for giving an idea of what i am trying to do*
14:59:27 <abastro[m]> Before sharing, let me see if I have any private information in the xmonad repo..
15:00:20 <Ether[m]1> Seems like you are quite right, i approved your PR :)
15:03:14 <Ether[m]1> * PR :) geekosaur:
15:03:23 <Ether[m]1> * PR :) geekosaur:
15:03:26 <abastro[m]> Nvm actually mine was whopping 157 lines
15:03:34 <Ether[m]1> s/Seems/geekosaur:/
15:03:42 <Ether[m]1> Lol
15:03:53 <Ether[m]1> I knew it 😂😂😂
15:04:47 <abastro[m]> At least 26 lines are imports but anyway
15:06:47 <Ether[m]1> geekosaur: i just added my color scheme file; lib/Colors/GruvboxDark.hs
15:07:02 <Ether[m]1> * file; lib/Colors/GruvboxDark.hs :)
15:07:20 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs
15:07:32 <geekosaur> 321 lines
15:07:47 <geekosaur> yeh, I hit that while testing your config locally
15:09:14 <Ether[m]1> Damn!
15:13:55 <Ether[m]1> geekosaur: looks to me you mixed xmonad.hs and ok.hs?
15:14:26 <geekosaur> I haven't even touched ok.hs
15:14:46 <geekosaur> this is what happens when you're changing thongs out from someone else, though, it all gets confused
15:15:02 <geekosaur> this is also why git warns against force-pushes, the same kinds of messes occur
15:15:11 <Ether[m]1> Oh my bad!
15:15:29 <Ether[m]1> Should i remove ok.hs? geekosaur:
15:19:16 <abastro[m]> Shameless posting
15:19:16 <abastro[m]> https://github.com/Abastro/.xmonad/blob/master/app/Main.hs
15:19:16 <abastro[m]> Indeed mine has less features - btw I no longer use xmobar&trayer so that could be further reduced but anyway
15:20:20 <geekosaur> Ether[m]1, that's up to you. just let me know if you'remaking changes while I'm trying to help you, it just makes messes
15:20:28 <Ether[m]1> Noo
15:20:54 <Ether[m]1> geekosaur: i am sorry 😐! Not making any changes with informing*
15:21:09 <Ether[m]1> > <@abastro:matrix.org> Shameless posting... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/93c72f26458881914abc7607dc92f1e6ecb4f257)
15:21:11 <lambdabot> <hint>:1:1: error: parse error on input ‘<@’
15:22:13 <abastro[m]> Thanks, I use several apps and taffybar to (imo) make better looks at least
15:22:35 <Ether[m]1> abastro[m]: Taffy bar?
15:22:47 <Ether[m]1> Try polybar maybe?
15:22:55 <Ether[m]1> lambdabot: Tf is this?
15:23:11 <abastro[m]> Well, I am satisfied with my current setup
15:23:21 <geekosaur> > foldr f z [a,b,c] -- it's an evaluator
15:23:22 <lambdabot> f a (f b (f c z))
15:23:27 <abastro[m]> Thanks for suggedtion though
15:23:50 <geekosaur> sadly it doesn't know about xmonad stuff so I have to keep a cabal repl open on my own xmonad.hs to do that
15:23:51 <abastro[m]> Hm lambdabot intervening at unfortunate times
15:24:23 <Ether[m]1> It?
15:24:43 <abastro[m]> Lambdabot
15:25:02 <Ether[m]1> Its an actual bot 🤣🤣
15:26:20 <Ether[m]1> geekosaur: what do i do to make the layout hook work?
15:26:26 <Ether[m]1> Any ideas?
15:27:01 <geekosaur> what is the layoutHook not doing?
15:28:34 <geekosaur> and should I be looking at ok.hs or xmonad.hs?
15:29:33 <Ether[m]1> Xmonad.hs
15:29:42 <Ether[m]1> Ok.hs layout hook works
15:30:16 <Ether[m]1> geekosaur: compiler error; line 515, missing brackets or indentation error!
15:31:49 <abastro[m]> I wonder if it would have been better if many xmonad config used curly braces and semicolons instead of indentation
15:32:11 <Ether[m]1> abastro[m]: Not really!
15:32:58 <abastro[m]> There would have been less parser errors.
15:33:07 <MrElendig> not really
15:33:17 <Ether[m]1> geekosaur: correction; not layout hook! I meant the custom thing to show the current layout on the polybar.
15:33:29 <MrElendig> numver of forgotten ;'s are much higher than bad idents
15:33:35 <MrElendig> number*
15:36:38 <abastro[m]> Hm interesting
15:37:21 <geekosaur> Ether[m]1, you're sure this is up to date? the error I get is on line 306 and is about a name collision
15:37:42 <Ether[m]1> Name collision?
15:37:49 <Ether[m]1> Can show me the error?
15:38:38 <Ether[m]1> Are you using lib/Colors while testing?
15:38:53 <Ether[m]1> Its supposed to be i the same directory!
15:40:13 <geekosaur> I am using it, yes
15:40:49 <geekosaur> https://paste.tomsmeding.com/PtYDT9Db
15:42:31 <Ether[m]1> geekosaur
15:42:47 <geekosaur> yes?
15:43:01 <Ether[m]1> Nvm my chat wasn't in sync
15:43:12 <geekosaur> (the overload is easily fixed, I'm just surprised you aren't seeing the same error
15:43:15 <geekosaur> )
15:43:48 <Ether[m]1> I think its a copy paste issue?
15:44:15 <Ether[m]1> Should i upload to drive or smth?
15:44:28 <Ether[m]1> I am not able to reproduce!
15:44:38 <Ether[m]1> geekosaur
15:45:21 <geekosaur> no, I hit the same error earlier, but it may be a version issue
15:45:34 <geekosaur> I'm on 0.17.0, are you using 0.15/0.16?
15:45:43 <Ether[m]1> Leeme check
15:45:55 <Ether[m]1> 0.15
15:46:03 × exordiri quits (~ex@user/exordiri) (Quit: goodbye)
15:47:18 <Ether[m]1> geekosaur: dt runs arch Linux, which means packages are up to date. That cant be!
15:47:30 <geekosaur> and now I'm hitting the missing launcherString (which you defined in ok.hs)
15:47:43 <Ether[m]1> Same error
15:47:44 <Ether[m]1> Yess
15:48:01 <Ether[m]1> geekosaur: What was the line 306 issue?
15:48:04 <geekosaur> Arch, like most other distributions, uses Stackage as its package source
15:48:17 <Ether[m]1> Can you make a PR?
15:48:34 <Ether[m]1> For the line 306? So that it doesn't occur again?
15:48:46 <geekosaur> "magnify" is now defined by a package as well as by your config, so I had to use `Main.magnify` to avoid the collision
15:49:08 <Ether[m]1> Can you make a PR?
15:49:33 <geekosaur> anyway stackage only recently updated to include xmonad 0.17.0 and arch hasn't yet caught up (nor has nix which is also usually pretty quick, but lts-19 is a pretty big change)
15:50:12 <Ether[m]1> So what do you want me to do?
15:51:11 <Ether[m]1> I have no idea how to add Main. To a variable that is; myDefaultLayout (line 305)
15:51:16 <Ether[m]1> geekosaur
15:51:58 <geekosaur> PR filed
15:52:11 <Ether[m]1> Thanks a lot mate!
15:52:12 <geekosaur> github makes me jump through several hoops :)
15:53:08 <geekosaur> still don't know what to do about the other error, pretty sure `launcherString` isn't in 0.15/0.16 and the only place I've seen it is ok.hs
15:54:36 <Ether[m]1> Can i just remove it?
15:55:07 <Ether[m]1> I didn't code it myself it was a fork from a config i mentioned yesterday :(
15:57:51 <geekosaur> if you remove it then you also have to remove the definition of launcherHook, then remove that from manageHook
15:59:25 <geekosaur> also I don't get your error at all, I just get two deprecations now
16:00:19 <geekosaur> I did get a type error which suggests you aren't actually using eventLogHookForPolyBar, and in fact I can't see that actually used anywhere
16:01:02 <Ether[m]1> How do i use it?
16:01:07 <Ether[m]1> Can make a pr?
16:01:22 <Ether[m]1> geekosaur:
16:02:01 exordiri joins (~ex@user/exordiri)
16:07:25 <Ether[m]1> So, eventloghookforpolybar works in ok.hs in need that in xmonad.hs
16:07:30 <Ether[m]1> Any ideas how?
16:16:29 <geekosaur> see pr
16:18:53 <Ether[m]1> GodDamn you are Good!
16:19:29 <Ether[m]1> Man i wish i could just make the config in lua or C rather than Haskell.
16:19:48 <Ether[m]1> geekosaur: Thanks a lot mate! :) You made my day ☺️
16:20:01 <geekosaur> dunno if there's a window manager like this in lua. There isone in C: dwm
16:20:17 <geekosaur> in fact xmonad started out as dwm redone in haskell
16:20:49 <geekosaur> (there's a lua wm for wayland though: sway)
16:22:19 <Ether[m]1> Oh, noo i love 💕 xmonad. Its simply the best 🤣 its just haskell that effs me over
16:22:39 <Ether[m]1> geekosaur: There also awesome wm :)
16:22:58 <Ether[m]1> But xmonad due to functionality 🙂
16:23:29 <Ether[m]1> Once again thanks! Your thes best. <3
16:30:48 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
16:31:38 <Ether[m]1> Also can you suggest me a few resources for learning haskell :)
16:32:29 geekosaur joins (~geekosaur@xmonad/geekosaur)
16:44:50 × aliosablack quits (~chomwitt@2a02:587:dc18:da00:e2ec:eb52:4039:9bfe) (Quit: Leaving)
17:14:06 mc47 joins (~mc47@xmonad/TheMC47)
17:49:06 chomwitt joins (~chomwitt@2a02:587:dc18:da00:e2ec:eb52:4039:9bfe)
18:06:06 × Czernobog quits (~Czernobog@user/czernobog) (Ping timeout: 272 seconds)
18:39:10 Czernobog joins (~Czernobog@user/czernobog)
19:29:08 <Solid[m]> People tend to suggest things like haskellbook.com, the cis194 thing, or LYAH
19:29:16 <Solid[m]> probably a few more one out there by now
19:29:23 <Solid[m]> depends on how deep you want to go
19:29:27 <Solid[m]> @where cis194
19:29:27 <lambdabot> https://www.seas.upenn.edu/~cis194/spring13/lectures.html
21:08:41 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
21:22:09 tremon joins (~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl)
22:28:33 × sagax quits (~sagax_nb@user/sagax) (Quit: Konversation terminated!)
22:43:21 × tremon quits (~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
22:53:17 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
22:54:58 geekosaur joins (~geekosaur@xmonad/geekosaur)

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