Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 428 429 430 431 432 433 434 435 436 437 438 .. 1848
184,766 events total
2022-01-07 07:38:25 <narendranath344[> narendranath344[: this is the result of build file
2022-01-07 07:44:07 <Solid> narendranath344[: it tells you what's wrong: you need to write `XMonad` for the imports and not `Xmonad`
2022-01-07 07:59:11 <narendranath344[> <Solid> "narendranath344: it tells you..." <- yeah I changed it
2022-01-07 08:00:14 <narendranath344[> but it still failed
2022-01-07 08:00:56 <narendranath344[> here is the output of build file http://ix.io/3Lkx
2022-01-07 08:06:50 <Solid> yikes
2022-01-07 08:07:43 <Solid> I suppose blame Arch and its insistence on dynamic linking? :) though do try to recompile with -fPIC as it says
2022-01-07 08:09:29 narendranath344[ uploaded an image: (11KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/ZgmcykcQcyStXrqlPHBwNKRP/pic-selected-220107-1332-38.png >
2022-01-07 08:09:47 <narendranath344[> Solid: which parameter should I change here
2022-01-07 08:10:47 <narendranath344[> Solid: yeah Arch way of packaging haskell package sucks
2022-01-07 08:21:06 <Solid> narendranath344[: try adding --ghc-options="-fPIC"
2022-01-07 08:22:22 <Solid> narendranath344[: actually, since you're doing `stack ghc`, just `-fPIC` after the `--` part should suffice
2022-01-07 08:26:09 <AIM[m]> Hey any example config with Clickable PP and UnsafeXMonadLog? I use XMonad 0.17
2022-01-07 08:43:46 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
2022-01-07 08:53:04 mc47 joins (~mc47@xmonad/TheMC47)
2022-01-07 09:07:12 catman joins (~catman@user/catman)
2022-01-07 09:07:54 <Solid> AIM[m]: are the docs not enough to find out how it works? (if yes, then that's a bug :))
2022-01-07 09:16:55 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Read error: Connection reset by peer)
2022-01-07 09:17:46 geekosaur joins (~geekosaur@xmonad/geekosaur)
2022-01-07 09:33:41 catman_ joins (~catman@user/catman)
2022-01-07 09:34:41 catman is now known as Guest8816
2022-01-07 09:34:41 × Guest8816 quits (~catman@user/catman) (Killed (strontium.libera.chat (Nickname regained by services)))
2022-01-07 09:34:41 catman_ is now known as catman
2022-01-07 09:40:19 <AIM[m]> I just found a one line code in ClickablePP doc
2022-01-07 09:40:58 <AIM[m]> s/I just found a one line code in ClickablePP doc/I just found a one line code in Clickable Worskpace doc/
2022-01-07 09:41:04 <AIM[m]> https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.16.999/XMonad-Util-ClickableWorkspaces.html
2022-01-07 09:41:29 <Solid> This is pretty much all you need; add `clickablePP` to your xmobarPP as shown and then replace XMonadLog with UnsafeXMonadLog in your xmobar config
2022-01-07 09:41:41 <AIM[m]> Maybe it's coz I don't know much prerequisite stuff for this util?
2022-01-07 09:42:08 <AIM[m]> Solid: I did that but where do I add stuff to bring all the clickable buttons?
2022-01-07 09:42:17 <AIM[m]> For Workspaces?
2022-01-07 09:42:27 <AIM[m]> In XmobarPP?
2022-01-07 09:42:41 <AIM[m]> I don't know much about ClickablePP tbh
2022-01-07 09:42:45 <Solid> AIM[m]: what do you mean, exactly?
2022-01-07 09:43:31 <AIM[m]> Like do I need some new PP for ClickablePP? Do I need to have a PP with that type and use def and modify it?
2022-01-07 09:44:12 <AIM[m]> myClickablePP = def { blah blah blah}
2022-01-07 09:44:13 <Solid> your probably already have a prety printer for xmobar, right?
2022-01-07 09:44:13 <AIM[m]> Idk
2022-01-07 09:44:20 <AIM[m]> Yep
2022-01-07 09:44:40 <Solid> then add it there
2022-01-07 09:44:40 <AIM[m]> I have one called myXMobarPP
2022-01-07 09:44:53 <AIM[m]> It's not clickable as of now
2022-01-07 09:45:11 <AIM[m]> Solid: So, it's just the same thibg used in previous version?
2022-01-07 09:45:27 <Solid> myXMobarPP = clickablePP $ ...
2022-01-07 09:45:29 <Solid> something like that
2022-01-07 09:45:37 <AIM[m]> Idk I've seen configs without ClickablePP but get the same thing
2022-01-07 09:45:55 <AIM[m]> Idk if ClickablePP is supposed to aimplify or something
2022-01-07 09:46:03 <AIM[m]> s/aimplify/simplify/
2022-01-07 09:46:25 <Solid> I would imagine; otherwise you'd need to specify the respective xdotool actions yourself
2022-01-07 09:47:18 <AIM[m]> The one I watched is:
2022-01-07 09:47:18 <AIM[m]> https://www.youtube.com/watch?v=jCzuMHU3Qtw
2022-01-07 09:47:33 <AIM[m]> I saw similar stuff in others github repo and stackoverflow
2022-01-07 09:47:49 <AIM[m]> But Idk, the ClickablePP is nowhere used
2022-01-07 09:50:26 <Solid> it's a new module in 0.17.0
2022-01-07 09:50:38 <Solid> I suppose someone got fed up with all these people rolling manual solutions :)
2022-01-07 09:51:02 <AIM[m]> Ah, maybe that explains the configs not out there
2022-01-07 09:51:50 <AIM[m]> It'd be really helpful if someone can tell me the difference and probably give an example config to study from
2022-01-07 09:52:39 <AIM[m]> The difference in how it was done without ClickablePP and the way it's to be done with ClickablePP
2022-01-07 10:19:42 seschwar joins (~seschwar@user/seschwar)
2022-01-07 10:27:36 <dirtcastle> AIM, https://youtu.be/gPQ9mn9Nkpc. maybe this is helpful.
2022-01-07 10:46:32 <mc47> AIM[m], the new way is really just adding clickablePP, e.g. https://github.com/TheMC47/dotfiles/blob/master/xmonad/.xmonad/xmonad.hs#L492
2022-01-07 11:11:00 × benin quits (~benin@183.82.176.241) (Ping timeout: 256 seconds)
2022-01-07 11:18:57 benin joins (~benin@183.82.176.241)
2022-01-07 11:20:40 narendranath344[ uploaded an image: (21KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/pfZYRrPoVbncEKMUCDWLLlMh/pic-selected-220107-1649-30.png >
2022-01-07 11:21:03 <narendranath344[> <Solid> "narendranath344: actually, since..." <- 🙄🙄🙄
2022-01-07 11:39:45 × sogens1 quits (~sogens@pa49-182-20-126.pa.qld.optusnet.com.au) (Quit: WeeChat 3.4)
2022-01-07 11:40:03 sogens joins (~sogens@pa49-182-20-126.pa.qld.optusnet.com.au)
2022-01-07 11:50:43 <Solid> I meant adding it as an argument to your build file
2022-01-07 11:51:16 <Solid> but truth be told I have no idea about linker errors that may or may not have to do with the choices a distro I don't use has made along the way :)
2022-01-07 11:55:07 <geekosaur> or may have to do with other choices
2022-01-07 11:56:05 <geekosaur> xmonad.hs usually gets compiled into xmonad-<arch>-<os>, not simply xmonad
2022-01-07 11:56:20 <geekosaur> so xmonad-x86_64-linux
2022-01-07 11:57:59 <Solid> the build script had a "$1" in there so I would assume at least that part was correct
2022-01-07 11:59:38 <geekosaur> but simply doing "stack ghc -- -fPIC xmonad.hs" will try to write xmonad, not the file identified by $1
2022-01-07 12:00:19 <geekosaur> stack ghc -- -fPIC xmonad-hs -o "$1"
2022-01-07 12:00:55 <geekosaur> well, that $1 won't work at a shell prompt since it won't be set
2022-01-07 12:01:05 <geekosaur> only in a build script
2022-01-07 12:06:58 <narendranath344[> <geekosaur> "stack ghc -- -fPIC xmonad-hs -o..." <- Let me try it
2022-01-07 12:07:37 <geekosaur> replace x86_64 with the right architecture (for example aarch64 on newer arm platforms)
2022-01-07 12:14:49 <narendranath344[> <geekosaur> "replace x86_64 with the right..." <- It's a 64 bit machine so
2022-01-07 12:15:15 <geekosaur> aarch64 is also 64 bit, just arm instead of pc
2022-01-07 12:15:40 <geekosaur> and with things like apple's m1 chip it's becoming rather more common these days
2022-01-07 12:24:10 <narendranath344[> <geekosaur> "and with things like apple's..." <- It's a lenovo laptop with Intel i5 10th gen processor
2022-01-07 12:24:49 <geekosaur> ok, but I can't tell that from here so I had to guess the right arch and os to specify for the output :)
2022-01-07 12:34:43 × benin quits (~benin@183.82.176.241) (Ping timeout: 256 seconds)
2022-01-07 12:35:16 <narendranath344[> <geekosaur> "ok, but I can't tell that from..." <- OS is Artix linux which offers only 2 types of installation one is x86_64 and other is ARM
2022-01-07 12:35:37 × mvk quits (~mvk@2607:fea8:5cdd:f000::45db) (Ping timeout: 240 seconds)
2022-01-07 12:38:51 <AIM[m]> <dirtcastle> "AIM, https://youtu.be/gPQ9mn9Nkp..." <- It doesn't have ClickablePP does it?
2022-01-07 12:40:15 <AIM[m]> <mc47> "AIM, the new way is really..." <- I think it uses the pre 0.17 method tho....
2022-01-07 12:41:00 <AIM[m]> Thanks for your help tho.... Really appreciate it!
2022-01-07 12:43:13 <AIM[m]> * Kinda goes over my head... But will look into it...
2022-01-07 12:46:58 <narendranath344[> http://ix.io/3LmG
2022-01-07 12:46:58 <narendranath344[> it still gives the same error
2022-01-07 12:47:13 <dirtcastle> AIM , I haven't watched it yet. soon I'll watch it. videos like this usually let u know abt functionality you aren't aware of. u may think it's irrelevant now, but will help u in the future is how I look at these things. when it comes to linux we use a lot of info that we picked up randomly.
2022-01-07 12:47:35 <narendranath344[> here is the result of uname -ar Linux basedman 5.10.84-1-lts #1 SMP Wed, 08 Dec 2021 16:07:43 +0000 x86_64 GNU/Linux
2022-01-07 12:49:09 benin joins (~benin@183.82.176.241)
2022-01-07 12:49:09 <narendranath344[> this is the content of build file #!/bin/sh
2022-01-07 12:49:09 <narendranath344[> exec stack ghc -- -fPIC xmonad.hs -o "$1"
2022-01-07 12:50:04 <geekosaur> okay, so if the command I gave you worked from the shell then that should work for xmonad --recompile
2022-01-07 12:51:25 <narendranath344[> geekosaur: http://ix.io/3LmGyeah it worked but what about these errors
2022-01-07 12:51:50 × benin quits (~benin@183.82.176.241) (Client Quit)

All times are in UTC.