2022/08/13

2022-08-13 00:00:24 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-08-13 00:08:36 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2022-08-13 00:09:47 +0200xmonadtrack(~xmonadtra@xmonad/geekosaur) (Ping timeout: 268 seconds)
2022-08-13 00:20:23 +0200catman(~catman@user/catman)
2022-08-13 00:31:04 +0200 <isaacthekind[m]> hmm, so i have changed build-with-cabal.sh to build, ran "chmod +x build", but still xmonad is not loading my config. any idea what i'm missing?
2022-08-13 00:31:27 +0200isaacthekind[m]uploaded an image: (4358KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/uecYgwxZjvJRwWWrsMjEJdHS/ima_b520d15.… >
2022-08-13 00:33:52 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com)
2022-08-13 00:33:52 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host)
2022-08-13 00:33:52 +0200xmonadtrack(~xmonadtra@xmonad/geekosaur)
2022-08-13 00:35:36 +0200 <geekosaur> what if anything is in xmonad.errors?
2022-08-13 00:37:29 +0200 <isaacthekind[m]> nothing
2022-08-13 00:37:43 +0200 <geekosaur> also, see if `xmonad --recompile` does anything
2022-08-13 00:39:07 +0200 <isaacthekind[m]> oh yeah this is messed up
2022-08-13 00:39:17 +0200isaacthekind[m]uploaded an image: (4331KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/AubBAFgmpywLmPdZAACBZwlX/ima_d7062a5.… >
2022-08-13 00:40:11 +0200 <isaacthekind[m]> the lsp is not showing any missing packages.. but it's saying it's not finding xmonad??
2022-08-13 00:40:21 +0200 <geekosaur> that says you have a stack.yaml but your previous screenshot didn't show one?
2022-08-13 00:40:51 +0200 <isaacthekind[m]> there is not one, and there never was
2022-08-13 00:40:55 +0200 <isaacthekind[m]> so that's very weird
2022-08-13 00:40:57 +0200 <geekosaur> hrm
2022-08-13 00:41:02 +0200 <isaacthekind[m]> i always use cabal
2022-08-13 00:41:35 +0200 <isaacthekind[m]> i will also add
2022-08-13 00:41:35 +0200 <geekosaur> oh wait, that's the tail end of a "neither … exists" message that's being cut off
2022-08-13 00:41:46 +0200 <geekosaur> so it's not using the build script
2022-08-13 00:41:53 +0200 <geekosaur> did you do the chmod +x on it?
2022-08-13 00:42:45 +0200 <isaacthekind[m]> yeah i was doing something dumb sorry. now this is the output
2022-08-13 00:43:05 +0200isaacthekind[m]uploaded an image: (3793KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/LWkKyAKbKsfbNNbsnrlabCoP/ima_6a25952.… >
2022-08-13 00:43:55 +0200 <isaacthekind[m]> also i want to add, on laptop i never changed name or build script, yet everything works
2022-08-13 00:44:10 +0200 <isaacthekind[m]> s/or/of/
2022-08-13 00:47:31 +0200 <geekosaur> that implies you used "cabal install --lib", but if you do that HLS can't find xmonad or xmonad-contrib
2022-08-13 00:48:03 +0200 <geekosaur> you need the build script and a full cabal or stack setup for HLS to be able to find its butt
2022-08-13 00:48:29 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-08-13 00:50:16 +0200 <isaacthekind[m]> this is my current cabal
2022-08-13 00:50:27 +0200isaacthekind[m]uploaded an image: (4522KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/tHoYTKflwaQErbVwnrQOBXNC/ima_d52f193.… >
2022-08-13 00:51:00 +0200 <isaacthekind[m]> and the build script is unaltered save for the name and the chmod
2022-08-13 00:56:02 +0200xmonadtrack(~xmonadtra@xmonad/geekosaur) (Ping timeout: 268 seconds)
2022-08-13 00:56:21 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2022-08-13 00:57:00 +0200 <geekosaur> sorry, between trying to make dinner and my router suddenly deciding to throw fits I'm having trouble keeping up with this
2022-08-13 00:59:53 +0200 <isaacthekind[m]> that's ok. i appreciate the help. if anyone else might know how to fix this that would be really good.
2022-08-13 01:00:29 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-08-13 01:01:44 +0200 <isaacthekind[m]> it seems like it's complaining about the absence of the binary file xmonad-x86_64-linux
2022-08-13 01:01:56 +0200 <isaacthekind[m]> and i can see that file exists on my laptop but not on my pc.
2022-08-13 01:02:10 +0200 <isaacthekind[m]> i'm just not really understanding why this is the case.
2022-08-13 01:03:20 +0200hrberg(~quassel@171.79-160-161.customer.lyse.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
2022-08-13 01:14:21 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2022-08-13 01:15:39 +0200 <geekosaur> because it's not able to compile your settings
2022-08-13 01:16:10 +0200 <geekosaur> let me ask you this: how badly do you want HLS to work on your xmonad config?
2022-08-13 01:16:33 +0200 <isaacthekind[m]> i'd say extremely.
2022-08-13 01:16:55 +0200jkadev(~user@206.62.170.243)
2022-08-13 01:17:14 +0200 <geekosaur> so you can't use cabal install --lib. you need to figure out why the build script isn't being recognized
2022-08-13 01:17:28 +0200 <geekosaur> unfortnately that information has scrolled off your screen
2022-08-13 01:18:24 +0200 <isaacthekind[m]> i don't think i ever used cabal install --lib, so i'm kinda confused
2022-08-13 01:18:27 +0200 <geekosaur> (I have no idea how much longer this will work, I don't think I trust my router to not crash again)
2022-08-13 01:18:53 +0200 <isaacthekind[m]> that's ok, i appreciate the help you've given.
2022-08-13 01:19:14 +0200 <isaacthekind[m]> but yeah i have not used that command, so i'm not really understanding what that would have to do with the error
2022-08-13 01:19:50 +0200 <jkadev> hello, I have a problem with trayer it does not want to grab this color 0x282A36 I put another color and it works but with that one it is placed in black trayer
2022-08-13 01:20:10 +0200 <isaacthekind[m]> if i try to ghci xmonad.ha i get this, idk if this helps at all:
2022-08-13 01:20:20 +0200isaacthekind[m]uploaded an image: (4171KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/QKHqLrtYLOfsEpBFHCOKWYwV/ima_8877480.… >
2022-08-13 01:20:34 +0200 <isaacthekind[m]> s/ha/he/
2022-08-13 01:20:55 +0200 <isaacthekind[m]> s/ha/hs/
2022-08-13 01:21:05 +0200 <geekosaur> if xmonad was building before, then you used either cabal install --lib or cabal v1-install (which might have been cabal install with an older version of cabal)
2022-08-13 01:21:21 +0200 <geekosaur> either way HLS won't find things
2022-08-13 01:22:16 +0200 <isaacthekind[m]> hm ok. i don't think i ever used that command. maybe i'm misremembering.
2022-08-13 01:22:29 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-08-13 01:22:35 +0200 <isaacthekind[m]> i guess i just wanna know what kinda things i can do to solve this error.
2022-08-13 01:22:54 +0200 <isaacthekind[m]> i don't really have enough insight into xmonad or haskell to guess.
2022-08-13 01:23:49 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2022-08-13 01:23:59 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-08-13 01:27:02 +0200 <geekosaur[m]> Did you have xmonad installed via distribution packages?
2022-08-13 01:27:35 +0200jkadev(~user@206.62.170.243) (Quit: ERC 5.4 (IRC client for GNU Emacs 28.1))
2022-08-13 01:28:32 +0200 <geekosaur[m]> I don't think that works with HLS either
2022-08-13 01:29:04 +0200 <geekosaur[m]> You need a local install via cabal or stack
2022-08-13 01:29:10 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com)
2022-08-13 01:29:10 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host)
2022-08-13 01:29:11 +0200xmonadtrack(~xmonadtra@xmonad/geekosaur)
2022-08-13 01:29:18 +0200 <isaacthekind[m]> oh ok so
2022-08-13 01:29:30 +0200 <isaacthekind[m]> i used pacman
2022-08-13 01:29:43 +0200 <isaacthekind[m]> i know the xmonad site has some install stuff on it
2022-08-13 01:29:55 +0200 <isaacthekind[m]> should i rebuild everything that way try again
2022-08-13 01:30:31 +0200alternateved(~user@staticline-31-183-149-36.toya.net.pl) (Remote host closed the connection)
2022-08-13 01:34:16 +0200xmonadtrack(~xmonadtra@xmonad/geekosaur) (Ping timeout: 268 seconds)
2022-08-13 01:40:23 +0200 <geekosaur[m]> The cabal stuff should do that automatically, but isn't for some reason. We need to find out why the build script isn't being used, but that information keeps scrolling off screen
2022-08-13 01:41:55 +0200 <isaacthekind[m]> what info is it that we need to get on screen here. the output of "cabal build"?
2022-08-13 01:47:15 +0200 <geekosaur[m]> And my router is still crashing after a few minutes 😭
2022-08-13 01:47:46 +0200 <geekosaur[m]> So I'm trying to do this on my phone
2022-08-13 01:49:14 +0200 <geekosaur[m]> Run: xmonad --recompile >xmonad.log 2>&1
2022-08-13 01:50:00 +0200 <geekosaur[m]> It won't display anything because all output will go to xmonad.log
2022-08-13 01:50:19 +0200 <isaacthekind[m]> yup
2022-08-13 01:50:21 +0200 <isaacthekind[m]> i'm getting the log one min
2022-08-13 01:50:32 +0200isaacthekind[m]uploaded an image: (4480KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/cBwjpzRsnwqOwVLQRRiapJhm/ima_d10d4ff.… >
2022-08-13 01:50:40 +0200 <isaacthekind[m]> you're crazy to do this on phone with failing router haha
2022-08-13 01:51:28 +0200zawaken(~zawaken@user/zawaken)
2022-08-13 01:51:43 +0200twiclo1(~twiclo@mail.twil.cx)
2022-08-13 01:52:09 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 268 seconds)
2022-08-13 01:55:45 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com)
2022-08-13 01:55:45 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host)
2022-08-13 01:55:45 +0200xmonadtrack(~xmonadtra@xmonad/geekosaur)
2022-08-13 02:00:42 +0200 <geekosaur[m]> Hm, that didn't make it to Matrix
2022-08-13 02:00:53 +0200zawaken(~zawaken@user/zawaken) (Quit: ZNC 1.9.x-git-unknown - https://znc.in)
2022-08-13 02:01:34 +0200 <geekosaur[m]> You need to create a license file because cabal (and stack) both assume you are making a full package
2022-08-13 02:01:57 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2022-08-13 02:02:21 +0200 <geekosaur> router is pretending to behave for the moment. (now watch it crash again)
2022-08-13 02:03:13 +0200 <geekosaur> since you seem to be using my cabal file you could also copy the LICENSE file from my repo: https://github.com/geekosaur/xmonad.hs/blob/skkukuk/LICENSE
2022-08-13 02:04:33 +0200 <geekosaur> why did your earlier screenshot show something different? (specifically that it wasn't finding the build file)
2022-08-13 02:05:19 +0200 <geekosaur> hm, did that do the right thing?
2022-08-13 02:05:39 +0200 <geekosaur> https://github.com/geekosaur/xmonad.hs/raw/skkukuk/LICENSE
2022-08-13 02:09:44 +0200 <geekosaur> router still behaving. now was that because I did a save/restore settings followed by a powercycle, or because I shut down my bridged vmware that seemed to be really busy with the network for some reason?
2022-08-13 02:10:00 +0200 <geekosaur> not planning to test; it's not getting progressively slower now at least
2022-08-13 02:11:43 +0200 <isaacthekind[m]> i sent a screenshot out of order basically
2022-08-13 02:11:45 +0200 <isaacthekind[m]> from before i renamed it to build
2022-08-13 02:11:51 +0200 <geekosaur> ah
2022-08-13 02:12:09 +0200 <isaacthekind[m]> i'll try copying the license
2022-08-13 02:12:33 +0200 <geekosaur> so anyway it wants to see a license. you could copy a GPL license file there if you prefer that (I'm a BSD kinda guy)
2022-08-13 02:12:40 +0200 <isaacthekind[m]> yeah i built a rack recently, for doing some blockchain stuff etc. dealing with routers and ups and switche and everything, is deff a pain sometimes
2022-08-13 02:13:01 +0200 <isaacthekind[m]> i'll copy your license for now.. reading all about license types is actually something on my list
2022-08-13 02:13:09 +0200 <isaacthekind[m]> but currently it's greek so i'll just copy yours
2022-08-13 02:19:18 +0200sogens(~sogens@211.30.173.20) (Quit: WeeChat 3.5)
2022-08-13 02:19:41 +0200sogens(~sogens@211.30.173.20)
2022-08-13 02:19:57 +0200sogens(~sogens@211.30.173.20) (Client Quit)
2022-08-13 02:20:11 +0200 <isaacthekind[m]> it says exited with success oh my,
2022-08-13 02:20:13 +0200 <isaacthekind[m]> rebooting!
2022-08-13 02:20:17 +0200sogens(~sogens@211.30.173.20)
2022-08-13 02:24:34 +0200 <isaacthekind[m]> ok great!
2022-08-13 02:24:44 +0200 <isaacthekind[m]> it's all working. thanks so much. and good luck with your router
2022-08-13 02:36:26 +0200zawaken(~zawaken@user/zawaken)
2022-08-13 02:52:23 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net)
2022-08-13 03:55:17 +0200 <isaacthekind[m]> one other thing, if that's ok.. i'm trying to move my xmobar config from xmobarrc into my xmonad haskell file. can someone clarify how i can call my bar in main? i'll include screenshots
2022-08-13 03:55:32 +0200 <isaacthekind[m]> this is the bar:
2022-08-13 03:55:54 +0200isaacthekind[m]uploaded an image: (4511KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/fQfNphvdSwIXRtuWlKHPgPUX/ima_ed8628f.… >
2022-08-13 03:56:13 +0200 <isaacthekind[m]> and this is how i was previously calling it in main (when it was in a separate non-haskell file):
2022-08-13 03:56:32 +0200isaacthekind[m]uploaded an image: (4553KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/BrjqlGGKYxGVQPPwVBrqVbma/ima_5a6ad81.… >
2022-08-13 04:03:30 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 268 seconds)
2022-08-13 04:03:30 +0200banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 268 seconds)
2022-08-13 04:15:00 +0200 <geekosaur> (I'm not supposed to be up right now)
2022-08-13 04:15:15 +0200 <geekosaur> you can'[t put your xmobar config into your xmonad config like that. xmobar is a separate program
2022-08-13 04:19:17 +0200 <isaacthekind[m]> hmm ok. what i want is to use haskell to configure xmobar.
2022-08-13 04:19:33 +0200 <isaacthekind[m]> i figured the easiest way would be to just add it to the file and import xmobar
2022-08-13 04:21:23 +0200 <isaacthekind[m]> is there by any chance a minimal xmobar ha config template that i could be pointed to? i'm kinda struggling convert my mobar config into haskell.
2022-08-13 04:21:37 +0200 <isaacthekind[m]> s/ha/haskell/
2022-08-13 04:21:49 +0200 <isaacthekind[m]> * is there by any chance a minimal xmobar haskell config template that i could be pointed to? i'm kinda struggling to convert my mobar config into haskell.
2022-08-13 04:24:00 +0200 <geekosaur> https://codeberg.org/xmobar/xmobar/src/branch/master/etc/xmobar.hs
2022-08-13 04:24:53 +0200banc(banc@gateway/vpn/airvpn/banc)
2022-08-13 04:25:19 +0200 <isaacthekind[m]> thank you. and is running this as simple as running the xmobarrc, i just point the same command at this new file?
2022-08-13 04:26:24 +0200 <geekosaur> iirc yes
2022-08-13 04:26:33 +0200 <geekosaur> but I'm not an xmobar expert
2022-08-13 04:26:52 +0200 <geekosaur> and sadly there isn't much documentation about configuring xmobar in haskell
2022-08-13 04:26:53 +0200 <isaacthekind[m]> ok. thank you. gonna try to get this running.
2022-08-13 04:27:27 +0200 <isaacthekind[m]> that's unfortunate. once i get it hooked up i have a feeling i'll be able to ticker with it.
2022-08-13 04:27:38 +0200 <isaacthekind[m]> do you not use xmobar yourself?
2022-08-13 04:27:53 +0200 <isaacthekind[m]> s/ticker/tinker/
2022-08-13 04:28:34 +0200 <geekosaur> I run xmonad as wm for mate, so I have a couple of mate-panels one of which runs xmonad-log-applet and I log via dbus to it
2022-08-13 04:29:04 +0200 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs
2022-08-13 04:30:30 +0200 <isaacthekind[m]> ok that's deff beyond me atm. but it's interesting to know that some don't run mobar, i sorta figured everyone does.
2022-08-13 04:30:40 +0200td_(~td@muedsl-82-207-238-237.citykom.de) (Ping timeout: 268 seconds)
2022-08-13 04:31:51 +0200td_(~td@muedsl-82-207-238-051.citykom.de)
2022-08-13 04:39:16 +0200catman(~catman@user/catman) (Ping timeout: 268 seconds)
2022-08-13 04:41:09 +0200catman(~catman@user/catman)
2022-08-13 04:46:03 +0200catman(~catman@user/catman) (Ping timeout: 268 seconds)
2022-08-13 04:47:28 +0200catman(~catman@user/catman)
2022-08-13 05:23:51 +0200 <isaacthekind[m]> my xmobar haskell file seems set up right, but it's telling me it can't find XMobar, i'm having trouble understanding how i'm supposed to structure these dirs. in the xmobar docs it says that an xmobar.hs file will be autodetected if it's in this dir. why is it unable to find XMobar?
2022-08-13 05:24:16 +0200isaacthekind[m]uploaded an image: (5685KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/XnjEWrTcPgCjjTnycBCantLO/ima_332739e.… >
2022-08-13 05:24:31 +0200isaacthekind[m]uploaded an image: (4582KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/fwzuRjaAgyxjUzRmXVDfQBXa/ima_cfd2851.… >
2022-08-13 06:23:37 +0200 <Solid> isaacthekind[m]: how did you install xmobar?
2022-08-13 06:24:09 +0200 <isaacthekind[m]> pacman on arch
2022-08-13 06:24:24 +0200 <isaacthekind[m]> (same as the other xmonad stuff that is working)
2022-08-13 06:28:01 +0200 <Solid> I would guess that only installs xmobar as an executable and not a library
2022-08-13 06:28:24 +0200sogens(~sogens@211.30.173.20) (Quit: WeeChat 3.5)
2022-08-13 06:28:32 +0200 <xmonadtrack> xmonad Tony Zorman * v0.17.0-75-g83a8bb8: TUTORIAL: Fix link to xmobar.hs example (2 minutes ago, 1 file, 1+ 1-) https://github.com/xmonad/xmonad/commit/83a8bb8d512a
2022-08-13 06:31:08 +0200 <isaacthekind[m]> i'm not sure i understand this link
2022-08-13 06:31:43 +0200 <isaacthekind[m]> as for solid, how exactly do i fix that?
2022-08-13 06:31:44 +0200 <Solid> that's not for you; just a bot that tracks commits to our main branches
2022-08-13 06:31:54 +0200 <isaacthekind[m]> oh ok.
2022-08-13 06:32:05 +0200 <isaacthekind[m]> like basically this is what i want to do
2022-08-13 06:32:34 +0200 <isaacthekind[m]> i had xmobar working fine when configured via xmobarrc, but i want to configure it via xmobar.hs. i'm just not sure how to link everything up.
2022-08-13 06:33:24 +0200 <Solid> There are a few ways to get xmobar to work with a Haskell-based config; if you want HLS to work, it's probably going to be a project-based approach again
2022-08-13 06:34:16 +0200 <Solid> I have this setup (stack-based, I don't know cabal) like this: https://gitlab.com/slotThe/dotfiles/-/tree/master/xmobar/.config/xmobarrc
2022-08-13 06:36:53 +0200 <isaacthekind[m]> ok i think i can make something like that with cabal
2022-08-13 06:37:24 +0200 <isaacthekind[m]> and once i have a project like that, how can i connect it to my xmonad.hs
2022-08-13 06:40:30 +0200 <Solid> The project will generate a normal executable "xmobar" (or whatever name you give it) preloaded with your config
2022-08-13 06:40:45 +0200 <Solid> However you now start `xmobar /path/to/config` you would then just sau `xmobar`
2022-08-13 06:40:52 +0200 <Solid> s/sau/say/
2022-08-13 06:45:33 +0200 <isaacthekind[m]> i don't know what the s/sau stuff means. but ok. that makes sense. i'm gonna mess around with this. thanks for all the help, id be quite stuck without it.
2022-08-13 06:45:44 +0200 <isaacthekind[m]> :p
2022-08-13 06:48:13 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 252 seconds)
2022-08-13 06:48:59 +0200 <Solid> that was just me correcting my spelling mistake :>
2022-08-13 06:49:41 +0200 <Solid> yw, I too think Haskell based builds for xmobar should be documented a little bit better
2022-08-13 06:49:45 +0200 <Solid> I'll put it on my list, I guess...
2022-08-13 07:09:45 +0200qbt(~qbt@user/edun)
2022-08-13 07:54:37 +0200sogens(~sogens@211.30.173.20)
2022-08-13 08:07:53 +0200sogens(~sogens@211.30.173.20) (Quit: WeeChat 3.5)
2022-08-13 08:09:03 +0200sogens(~sogens@211.30.173.20)
2022-08-13 08:33:00 +0200sogens2(~sogens@gateway/vpn/pia/sogens)
2022-08-13 08:36:41 +0200sogens(~sogens@211.30.173.20) (Ping timeout: 268 seconds)
2022-08-13 08:59:49 +0200sogens2(~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.5)
2022-08-13 09:52:01 +0200benin0(~benin@183.82.176.32)
2022-08-13 10:40:27 +0200xmonadtrack(~xmonadtra@xmonad/geekosaur) (Remote host closed the connection)
2022-08-13 10:40:32 +0200 <isaacthekind[m]> i'm still trying to get this xmobar stuff working. i've built a directory like the one that i have for xmonad.hs. with a cabal file and a build script. but i'm having a hard time getting it to work. could someone tell me what im getting wrong here..
2022-08-13 10:40:43 +0200 <isaacthekind[m]> this is the xmobar dir:
2022-08-13 10:40:44 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com)
2022-08-13 10:40:45 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host)
2022-08-13 10:40:45 +0200xmonadtrack(~xmonadtra@xmonad/geekosaur)
2022-08-13 10:41:44 +0200isaacthekind[m]uploaded an image: (6102KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/BDHyDBvlrGSCyyfRnkcOKnqm/ima_2bd07d4.… >
2022-08-13 10:41:44 +0200 <isaacthekind[m]> this is xmobar-bsa.cabal:
2022-08-13 10:43:16 +0200isaacthekind[m]uploaded an image: (4676KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/QqnTIQUNGzDqOWhNwgoLBwYy/ima_4c9ce78.… >
2022-08-13 10:43:17 +0200 <isaacthekind[m]> and this is build:
2022-08-13 10:43:41 +0200 <geekosaur> build script won't matter for xmobar
2022-08-13 10:43:52 +0200 <geekosaur> it's specific to how xmonad manages its config
2022-08-13 10:44:08 +0200isaacthekind[m]uploaded an image: (4642KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/DLilsWzgMLRgqbTrvLXYomLF/ima_5b55a82.… >
2022-08-13 10:44:12 +0200 <isaacthekind[m]> ah ok
2022-08-13 10:44:41 +0200 <geekosaur> also I don't know what xmobar's dependencies are off the top of my head but they don't include wither xmonad or xmonad-contrib
2022-08-13 10:45:15 +0200 <isaacthekind[m]> yeah i just copied your cabal and added xmobar. was planning to whittle it down after getting everything working
2022-08-13 10:45:24 +0200 <isaacthekind[m]> thanks for pointing that out tho
2022-08-13 10:45:45 +0200 <isaacthekind[m]> this is what i do in xmonad.hs
2022-08-13 10:46:30 +0200isaacthekind[m]uploaded an image: (5370KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/nwwKRLWEDbLWyDpvbmmcVMcn/ima_ff5525e.… >
2022-08-13 10:48:14 +0200 <isaacthekind[m]> so i guess i'm just not clear why i'm not seeing a bar at this point.
2022-08-13 10:49:24 +0200 <geekosaur> I don't see what connects "executab;e xmobar-bsa" to "xmobad"
2022-08-13 10:49:35 +0200 <geekosaur> s/;/l/
2022-08-13 10:49:54 +0200 <geekosaur> I'd expect to see you running xmobar-bsa
2022-08-13 10:52:04 +0200 <isaacthekind[m]> like this?
2022-08-13 10:52:15 +0200isaacthekind[m]uploaded an image: (5138KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/QwAeXqBPxfBcdHxhoBbEtRZr/ima_1259728.… >
2022-08-13 10:52:29 +0200 <isaacthekind[m]> i don't really get symlinks
2022-08-13 10:52:43 +0200 <isaacthekind[m]> idk if i can just point at it like that
2022-08-13 10:53:30 +0200 <isaacthekind[m]> (i'm planning to take a linux course soon, it obnoxious to not know this kinda stuff)
2022-08-13 10:55:10 +0200 <geekosaur> depends on where the symlink is pointing. you didn;t show that, just the "xmobad" invocation in your xmonad.hs again
2022-08-13 10:57:30 +0200 <isaacthekind[m]> i actually don't even think there is a sym link nym. i'm very confused.
2022-08-13 10:57:55 +0200 <isaacthekind[m]> s/nym/nvm/
2022-08-13 11:00:10 +0200cidra[m](~cidramatr@2001:470:69fc:105::2:4207) (Quit: You have been kicked for being idle)
2022-08-13 11:01:31 +0200 <isaacthekind[m]> yeah i don't get this. like how do i actually make the file for xmobad to run
2022-08-13 11:08:29 +0200chomwitt(~chomwitt@2a02:587:dc15:5e00:f956:e7c7:43ea:328a)
2022-08-13 11:12:58 +0200 <geekosaur> I think what you do is, in xmobar-bsa.cabal you change "executable xmobar-bsa" to "executable xmobad"
2022-08-13 11:13:21 +0200 <geekosaur> you then do "cabal install" in that directory to build and install xmobad
2022-08-13 11:13:39 +0200sogens(~sogens@211.30.173.20)
2022-08-13 11:14:06 +0200 <geekosaur> then you can point to the installed file (either by pathname, or by arranging for ~/.cabal/bin to be on xmonad's PATH) in xmonad
2022-08-13 11:18:17 +0200chomwitt(~chomwitt@2a02:587:dc15:5e00:f956:e7c7:43ea:328a) (Ping timeout: 268 seconds)
2022-08-13 11:19:24 +0200chomwitt(~chomwitt@2a02:587:dc15:5e00:1855:2a35:cc0e:e682)
2022-08-13 11:19:59 +0200 <isaacthekind[m]> ok i'm gonna try this thx
2022-08-13 11:26:13 +0200hrberg(~quassel@171.79-160-161.customer.lyse.net)
2022-08-13 11:30:03 +0200 <isaacthekind[m]> ok i'm pretty sure i've done that, but still not bar sadly.
2022-08-13 11:31:52 +0200 <geekosaur> try a full pathname to xmobad. it's not enough to have your terminal have the right PATH; only Fedora reads that when starting an X session
2022-08-13 11:39:13 +0200qbt(~qbt@user/edun) (Ping timeout: 268 seconds)
2022-08-13 11:44:38 +0200 <Solid> (if using a display manager)
2022-08-13 11:50:47 +0200 <isaacthekind[m]> where does cabal put these things
2022-08-13 11:50:57 +0200 <isaacthekind[m]> im trying to locate it so i can specify the full path
2022-08-13 11:51:06 +0200 <isaacthekind[m]> and yeah solid, im using light dm
2022-08-13 11:56:31 +0200 <geekosaur> ~/.cabal/bin as I said earlier
2022-08-13 11:58:56 +0200 <isaacthekind[m]> oh ok gotcha, didn't understand that my bad
2022-08-13 12:02:29 +0200 <isaacthekind[m]> i don't think i'm understanding correctly. is this what you're saying i need to do?
2022-08-13 12:02:33 +0200isaacthekind[m]uploaded an image: (6042KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/QHWtPYkcssSQkXgmuytEjkuT/ima_b6660f9.… >
2022-08-13 12:03:17 +0200 <geekosaur> wrong part
2022-08-13 12:04:12 +0200 <geekosaur> you shouldn't need that parameter at all if you've built a custom xmobar. instead: "~/.cabal/bin/xmobad -x 0"
2022-08-13 12:09:30 +0200 <isaacthekind[m]> still not quite
2022-08-13 12:09:33 +0200 <isaacthekind[m]> this is what's in bin
2022-08-13 12:09:45 +0200isaacthekind[m]uploaded an image: (5208KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/KribklbJBJSFUEEXvwXkrjWw/ima_701e849.… >
2022-08-13 12:10:43 +0200 <isaacthekind[m]> and i adjusted that text
2022-08-13 12:11:51 +0200isaacthekind[m]uploaded an image: (5054KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/ynODZuOecvRAYGFvcKPmNbWg/ima_f109884.… >
2022-08-13 12:12:08 +0200 <geekosaur> that's not what I said
2022-08-13 12:12:19 +0200 <geekosaur> "~/.cabal/bin/xmobad -x 0"
2022-08-13 12:12:43 +0200 <isaacthekind[m]> oh my lord
2022-08-13 12:12:48 +0200 <isaacthekind[m]> sorry it's 5am
2022-08-13 12:15:18 +0200 <isaacthekind[m]> oh man yes
2022-08-13 12:15:23 +0200 <isaacthekind[m]> the bar is there
2022-08-13 12:16:01 +0200 <isaacthekind[m]> ok thanks for putting up with my level 0 questions. really appreciate it.
2022-08-13 13:32:26 +0200qbt(~qbt@user/edun)
2022-08-13 14:05:29 +0200benin00(~benin@2401:4900:2325:5674:b133:d14b:76b3:3d8)
2022-08-13 14:07:29 +0200benin0(~benin@183.82.176.32) (Ping timeout: 252 seconds)
2022-08-13 14:07:29 +0200benin00benin0
2022-08-13 14:50:45 +0200benin04(~benin@183.82.206.125)
2022-08-13 14:52:23 +0200benin0(~benin@2401:4900:2325:5674:b133:d14b:76b3:3d8) (Ping timeout: 255 seconds)
2022-08-13 14:52:23 +0200benin04benin0
2022-08-13 15:14:33 +0200scardinal(~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Quit: leaving)
2022-08-13 15:25:20 +0200scardinal(~supreme@customer-212-237-101-39.ip4.gigabit.dk)
2022-08-13 15:51:40 +0200zawaken(~zawaken@user/zawaken) (Quit: ZNC 1.9.x-git-unknown - https://znc.in)
2022-08-13 15:52:31 +0200Alok[m](~alok8bbma@2001:470:69fc:105::2:620f)
2022-08-13 15:55:01 +0200zawaken(~zawaken@user/zawaken)
2022-08-13 15:56:36 +0200sogens(~sogens@211.30.173.20) (Quit: WeeChat 3.5)
2022-08-13 15:57:48 +0200 <Alok[m]> Hello, I am new to xmonad. I loaded example xmonad config but the YouTube player isn't going completely full-screen. How can I fix that?
2022-08-13 15:59:06 +0200 <geekosaur> are using EwmhDesktops and EwmhFullscreen?
2022-08-13 15:59:19 +0200zawaken(~zawaken@user/zawaken) (Ping timeout: 252 seconds)
2022-08-13 16:01:02 +0200 <Alok[m]> geekosaur: myEventHook = mempty
2022-08-13 16:01:12 +0200 <Alok[m]> There's a comment `-- * EwmhDesktops users should change this to ewmhDesktopsEventHook`
2022-08-13 16:01:56 +0200sogens(~sogens@211.30.173.20)
2022-08-13 16:02:19 +0200 <geekosaur> that's out of date
2022-08-13 16:02:29 +0200 <geekosaur> @where paste
2022-08-13 16:02:29 +0200 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2022-08-13 16:03:38 +0200 <Alok[m]> https://batbin.me/corpuscule
2022-08-13 16:08:44 +0200 <geekosaur> what version of xmonad? things changed a bit in 0.17.0 but it's still making its way into distributions
2022-08-13 16:11:23 +0200 <geekosaur> although I think we already had the combinators in 0.16
2022-08-13 16:11:45 +0200 <Alok[m]> geekosaur: v0.17.0 from Arch repo
2022-08-13 16:12:26 +0200 <Alok[m]> geekosaur: oh this is my old config, I had saved in 2020
2022-08-13 16:18:11 +0200 <geekosaur> did you have a newer one to show me or should I work from this one?
2022-08-13 16:18:45 +0200zawaken(~zawaken@user/zawaken)
2022-08-13 16:19:28 +0200 <Alok[m]> geekosaur: Can you tell me a newer example config?
2022-08-13 16:19:50 +0200 <geekosaur> line 256: `defaults = ewmh . ewmhFullscreen $ def {`
2022-08-13 16:20:12 +0200 <geekosaur> we have a tutorial at https://xmonad.org/TUTORIAL.html
2022-08-13 16:20:44 +0200 <geekosaur> goes through configuring ewmh + fullscreen, the new way to configure status bars, etc.
2022-08-13 16:20:58 +0200 <Alok[m]> Great, I'll try it. Thanks :)
2022-08-13 16:21:03 +0200 <geekosaur> doesn't pointlessly overwrite everything with defaults
2022-08-13 16:39:02 +0200zawaken(~zawaken@user/zawaken) (Ping timeout: 255 seconds)
2022-08-13 16:42:17 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-08-13 17:27:41 +0200catman(~catman@user/catman) (Ping timeout: 252 seconds)
2022-08-13 17:32:30 +0200twiclo1(~twiclo@mail.twil.cx) (Quit: WeeChat 3.5)
2022-08-13 17:47:09 +0200HashOpenSores
2022-08-13 17:49:53 +0200OpenSoresHash
2022-08-13 17:52:01 +0200 <Alok[m]> doing `xmonad --recompile` and then `xmonad --restart` works fine but the keybindings doesn't work why?
2022-08-13 18:00:03 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net)
2022-08-13 18:00:06 +0200lyiriyah[m](~lyiriyahm@2001:470:69fc:105::cc0) (Quit: You have been kicked for being idle)
2022-08-13 18:07:59 +0200 <Solid> what happens?
2022-08-13 18:10:05 +0200 <Alok[m]> Nothing, it just doesn't restart/reload
2022-08-13 18:13:37 +0200 <Solid> what's you config?
2022-08-13 18:13:41 +0200 <Solid> s/you/your/
2022-08-13 18:14:14 +0200 <Alok[m]> I deleted the old one currently, I'm doing the tutorial. I'll let you know if it doesn't work in latest config as well.
2022-08-13 18:15:26 +0200benin0(~benin@183.82.206.125) (Quit: The Lounge - https://thelounge.chat)
2022-08-13 18:21:46 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds)
2022-08-13 19:02:27 +0200Alok[m]uploaded an image: (76KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/uqguZeTjKvsiitxslRfmSoXa/image.png >
2022-08-13 19:02:35 +0200 <Alok[m]> The audio, brightness keys aren't working here
2022-08-13 19:02:40 +0200 <Alok[m]> https://xmonad.github.io/xmonad-docs/xmonad-contrib/XMonad-Util-EZConfig.html
2022-08-13 19:02:55 +0200 <Alok[m]> * The audio, brightness keys doesn't work. Am I doing it correct?
2022-08-13 19:09:21 +0200noex_(~null@2600:8804:14e0:104:8939:cf0c:32e2:8889) (Quit: :q!)
2022-08-13 19:09:48 +0200zawaken(~zawaken@user/zawaken)
2022-08-13 19:14:04 +0200zawaken(~zawaken@user/zawaken) (Client Quit)
2022-08-13 19:23:24 +0200 <Solid> you can to surround them by < and >
2022-08-13 19:23:40 +0200 <Solid> (as the docs say)
2022-08-13 19:23:41 +0200 <Solid> e.g., <XF86AudioRaiseVolume>
2022-08-13 19:25:09 +0200 <Alok[m]> Yeah it fixed the problem thanks :)
2022-08-13 19:27:31 +0200 <Solid> s/can/have/
2022-08-13 19:29:54 +0200Alok[m]uploaded an image: (30KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/dYvGDKNKKKHgCXYEpNNOdbya/image.png >
2022-08-13 19:30:13 +0200 <Alok[m]> Is this how I can write pulseaudio command for xmobar?
2022-08-13 20:04:27 +0200 <jao> Alok[m], i use "default" instead of "pulse" and it works well for me. in your template you then need %default:Master% (or, if "pulse" is working, %pulse:Master%)
2022-08-13 20:05:13 +0200 <Alok[m]> jao: can you share the Run command?
2022-08-13 20:05:58 +0200 <jao> Alok[m], exactaly the same as yours above, but instead of "pulse" write "default"
2022-08-13 20:06:03 +0200 <Alok[m]> and anyway to get the internet essid, if connected with ethernet then just show "Connected" else essid of wifi?
2022-08-13 20:06:16 +0200 <Alok[m]> jao: oh okay
2022-08-13 20:08:16 +0200 <jao> Alok[m], for ethernet, use DynNetwork or Network; please look it up in the docs: https://codeberg.org/xmobar/xmobar/src/branch/master/doc/plugins.org#headline-47
2022-08-13 20:10:53 +0200Guest87(~Guest87@1.39.30.50)
2022-08-13 20:11:37 +0200 <Guest87> hey, guys, is there a way to have system theme in xmonad?
2022-08-13 20:12:31 +0200 <Guest87> Like how gnome has a system theme that all the applications dynamically follow.. is there a way to do something similar in xmonad?
2022-08-13 20:12:44 +0200 <Alok[m]> jao: Hmm, so I'll need separate for both ethernet and wifi right? There's nothing like Network which handles both
2022-08-13 20:16:59 +0200 <jao> Alok[m], yes that's right
2022-08-13 20:17:20 +0200 <Alok[m]> jao: Oki, Thanks
2022-08-13 20:18:08 +0200 <Guest87> everyday feels like summer with you
2022-08-13 20:21:55 +0200Guest87(~Guest87@1.39.30.50) (Quit: Client closed)
2022-08-13 20:23:53 +0200qbt(~qbt@user/edun) (Quit: WeeChat 3.5)
2022-08-13 20:37:53 +0200Alok[m]uploaded an image: (255KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/zIPuVEomfPnEvsRfDVkgtWlb/image.png >
2022-08-13 20:38:14 +0200 <Alok[m]> Xmonad is amazing, I like it. This is enough for today will fix more stuff tomorrow. Thanks everyone
2022-08-13 20:49:02 +0200Guave3811Xmonady(~Guave3811@88.116.109.249)
2022-08-13 20:49:51 +0200 <Guave3811Xmonady> Howdies friends and friendies. Is it possible to let new windows in my tabbed two pane layout spawn on the right instead of the left ?
2022-08-13 20:51:54 +0200 <Lears> Guave3811Xmonady: You probably want to use X.H.InsertPosition.
2022-08-13 20:57:57 +0200 <Guave3811Xmonady> can you tellme how to do it - i am quite new to xmonad :p
2022-08-13 20:58:29 +0200 <quarkQuark[m]111> <Guest87> "hey, guys, is there a way to..." <- If you're refering to general colourschemes:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/30073612bbc05f2d8ee48c1f1623e9f39093…)
2022-08-13 20:59:12 +0200 <Guave3811Xmonady> https://hastebin.com/decobinepo.lua this is my xmonad.hs
2022-08-13 21:07:50 +0200 <Guave3811Xmonady> ok i understand
2022-08-13 21:08:13 +0200 <Guave3811Xmonady> howver i don't understand the system behind Newer Older and Above, Below, Master, End
2022-08-13 21:22:55 +0200 <isaacthekind[m]> could someone clarify why i have to call xmobar and throw the result away?
2022-08-13 21:23:19 +0200isaacthekind[m]uploaded an image: (5460KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/JtuCEbOGRqkmklwnNbqUCyKQ/ima_75408b8.… >
2022-08-13 21:23:45 +0200 <isaacthekind[m]> is it like unsafe so we don't want our program to depend on the result or something?
2022-08-13 21:26:42 +0200 <Lears> Guave3811Xmonady: In your layout, Above should correspond to left and Below to right. Newer is the default behaviour, so you probably want Below and Newer, but you can try out all the combinations to see how they work in practice.
2022-08-13 21:28:10 +0200 <Guave3811Xmonady> alright Thank you Lears
2022-08-13 21:28:13 +0200 <Guave3811Xmonady> one more question
2022-08-13 21:29:06 +0200 <quarkQuark[m]111> spawnPipe returns a handle that can be used to send data to xmobar to display. Using an underscore instead of a variable name means you're throwing it away instead of using it.
2022-08-13 21:29:25 +0200 <Guave3811Xmonady> i have 2 windows open - the right window has focus, I open a new window on the left, which has focus, i close the window and i would like to have focus again in the one i had before i opened the window - instead if have focus of the window on the left -  can i change this behavior ?
2022-08-13 21:30:23 +0200 <Lears> Try X.H.RefocusLast
2022-08-13 21:37:42 +0200 <isaacthekind[m]> hmmm well i know what the underscore means. im more so wondering why we're throwing the value away here.
2022-08-13 22:08:13 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 268 seconds)
2022-08-13 22:12:16 +0200Guave3811Xmonady(~Guave3811@88.116.109.249) (Ping timeout: 252 seconds)
2022-08-13 22:13:06 +0200 <quarkQuark[m]111> GHC sometimes throws a warning if you declare an unused variable. I use the handle later in my logHook, though I haven't yet looked at understanding how the logHook actually works.
2022-08-13 22:17:15 +0200 <isaacthekind[m]> fair enough
2022-08-13 22:17:54 +0200 <isaacthekind[m]> another question. i'm adding window spacing, but xmonad seems unresponsive to the changes. i can make spacing 5 or 5000 and i still see the same amount of space. any idea why that would be happening?
2022-08-13 22:20:04 +0200 <Lears> Try mod+shift+space (iirc).
2022-08-13 22:20:39 +0200 <Lears> Layout state is dynamic, so xmonad preserves it across reloads when it can (when the type doesn't change).
2022-08-13 22:20:59 +0200 <isaacthekind[m]> ohh ok thank you
2022-08-13 22:33:51 +0200zawaken(~zawaken@user/zawaken)
2022-08-13 22:35:41 +0200thunderrd(~thunderrd@183.182.110.20) (Ping timeout: 252 seconds)
2022-08-13 22:36:03 +0200 <isaacthekind[m]> i'm noticing that spacing between windows stacks together
2022-08-13 22:36:26 +0200 <isaacthekind[m]> so i get more space between windows and other windows than between windows and screen edge.
2022-08-13 22:36:38 +0200 <isaacthekind[m]> is there a way to resolve that
2022-08-13 22:37:49 +0200zawaken(~zawaken@user/zawaken) (Client Quit)
2022-08-13 22:41:40 +0200 <Lears> isaacthekind[m]: See e.g. spacingWithEdge.
2022-08-13 22:42:04 +0200zawaken(~zawaken@user/zawaken)
2022-08-13 22:45:42 +0200 <isaacthekind[m]> ha perfect, thanks