Logs: liberachat/#xmonad
| 2022-08-13 04:31:08 | <isaacthekind[m]> | i'm not sure i understand this link |
| 2022-08-13 04:31:43 | <isaacthekind[m]> | as for solid, how exactly do i fix that? |
| 2022-08-13 04:31:44 | <Solid> | that's not for you; just a bot that tracks commits to our main branches |
| 2022-08-13 04:31:54 | <isaacthekind[m]> | oh ok. |
| 2022-08-13 04:32:05 | <isaacthekind[m]> | like basically this is what i want to do |
| 2022-08-13 04:32:34 | <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 04:33:24 | <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 04:34:16 | <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 04:36:53 | <isaacthekind[m]> | ok i think i can make something like that with cabal |
| 2022-08-13 04:37:24 | <isaacthekind[m]> | and once i have a project like that, how can i connect it to my xmonad.hs |
| 2022-08-13 04:40:30 | <Solid> | The project will generate a normal executable "xmobar" (or whatever name you give it) preloaded with your config |
| 2022-08-13 04:40:45 | <Solid> | However you now start `xmobar /path/to/config` you would then just sau `xmobar` |
| 2022-08-13 04:40:52 | <Solid> | s/sau/say/ |
| 2022-08-13 04:45:33 | <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 04:45:44 | <isaacthekind[m]> | :p |
| 2022-08-13 04:48:13 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 252 seconds) |
| 2022-08-13 04:48:59 | <Solid> | that was just me correcting my spelling mistake :> |
| 2022-08-13 04:49:41 | <Solid> | yw, I too think Haskell based builds for xmobar should be documented a little bit better |
| 2022-08-13 04:49:45 | <Solid> | I'll put it on my list, I guess... |
| 2022-08-13 05:09:45 | → | qbt joins (~qbt@user/edun) |
| 2022-08-13 05:54:37 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-13 06:07:53 | × | sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5) |
| 2022-08-13 06:09:03 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-13 06:33:00 | → | sogens2 joins (~sogens@gateway/vpn/pia/sogens) |
| 2022-08-13 06:36:41 | × | sogens quits (~sogens@211.30.173.20) (Ping timeout: 268 seconds) |
| 2022-08-13 06:59:49 | × | sogens2 quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.5) |
| 2022-08-13 07:52:01 | → | benin0 joins (~benin@183.82.176.32) |
| 2022-08-13 08:40:27 | × | xmonadtrack quits (~xmonadtra@xmonad/geekosaur) (Remote host closed the connection) |
| 2022-08-13 08:40:32 | <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 08:40:43 | <isaacthekind[m]> | this is the xmobar dir: |
| 2022-08-13 08:40:44 | → | xmonadtrack joins (~xmonadtra@069-135-003-034.biz.spectrum.com) |
| 2022-08-13 08:40:45 | × | xmonadtrack quits (~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host) |
| 2022-08-13 08:40:45 | → | xmonadtrack joins (~xmonadtra@xmonad/geekosaur) |
| 2022-08-13 08:41:44 | isaacthekind[m] | uploaded an image: (6102KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/BDHyDBvlrGSCyyfRnkcOKnqm/ima_2bd07d4.jpeg > |
| 2022-08-13 08:41:44 | <isaacthekind[m]> | this is xmobar-bsa.cabal: |
| 2022-08-13 08:43:16 | isaacthekind[m] | uploaded an image: (4676KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/QqnTIQUNGzDqOWhNwgoLBwYy/ima_4c9ce78.jpeg > |
| 2022-08-13 08:43:17 | <isaacthekind[m]> | and this is build: |
| 2022-08-13 08:43:41 | <geekosaur> | build script won't matter for xmobar |
| 2022-08-13 08:43:52 | <geekosaur> | it's specific to how xmonad manages its config |
| 2022-08-13 08:44:08 | isaacthekind[m] | uploaded an image: (4642KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/DLilsWzgMLRgqbTrvLXYomLF/ima_5b55a82.jpeg > |
| 2022-08-13 08:44:12 | <isaacthekind[m]> | ah ok |
| 2022-08-13 08:44:41 | <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 08:45:15 | <isaacthekind[m]> | yeah i just copied your cabal and added xmobar. was planning to whittle it down after getting everything working |
| 2022-08-13 08:45:24 | <isaacthekind[m]> | thanks for pointing that out tho |
| 2022-08-13 08:45:45 | <isaacthekind[m]> | this is what i do in xmonad.hs |
| 2022-08-13 08:46:30 | isaacthekind[m] | uploaded an image: (5370KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/nwwKRLWEDbLWyDpvbmmcVMcn/ima_ff5525e.jpeg > |
| 2022-08-13 08:48:14 | <isaacthekind[m]> | so i guess i'm just not clear why i'm not seeing a bar at this point. |
| 2022-08-13 08:49:24 | <geekosaur> | I don't see what connects "executab;e xmobar-bsa" to "xmobad" |
| 2022-08-13 08:49:35 | <geekosaur> | s/;/l/ |
| 2022-08-13 08:49:54 | <geekosaur> | I'd expect to see you running xmobar-bsa |
| 2022-08-13 08:52:04 | <isaacthekind[m]> | like this? |
| 2022-08-13 08:52:15 | isaacthekind[m] | uploaded an image: (5138KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/QwAeXqBPxfBcdHxhoBbEtRZr/ima_1259728.jpeg > |
| 2022-08-13 08:52:29 | <isaacthekind[m]> | i don't really get symlinks |
| 2022-08-13 08:52:43 | <isaacthekind[m]> | idk if i can just point at it like that |
| 2022-08-13 08:53:30 | <isaacthekind[m]> | (i'm planning to take a linux course soon, it obnoxious to not know this kinda stuff) |
| 2022-08-13 08:55:10 | <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 08:57:30 | <isaacthekind[m]> | i actually don't even think there is a sym link nym. i'm very confused. |
| 2022-08-13 08:57:55 | <isaacthekind[m]> | s/nym/nvm/ |
| 2022-08-13 09:00:10 | × | cidra[m] quits (~cidramatr@2001:470:69fc:105::2:4207) (Quit: You have been kicked for being idle) |
| 2022-08-13 09:01:31 | <isaacthekind[m]> | yeah i don't get this. like how do i actually make the file for xmobad to run |
| 2022-08-13 09:08:29 | → | chomwitt joins (~chomwitt@2a02:587:dc15:5e00:f956:e7c7:43ea:328a) |
| 2022-08-13 09:12:58 | <geekosaur> | I think what you do is, in xmobar-bsa.cabal you change "executable xmobar-bsa" to "executable xmobad" |
| 2022-08-13 09:13:21 | <geekosaur> | you then do "cabal install" in that directory to build and install xmobad |
| 2022-08-13 09:13:39 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-13 09:14:06 | <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 09:18:17 | × | chomwitt quits (~chomwitt@2a02:587:dc15:5e00:f956:e7c7:43ea:328a) (Ping timeout: 268 seconds) |
| 2022-08-13 09:19:24 | → | chomwitt joins (~chomwitt@2a02:587:dc15:5e00:1855:2a35:cc0e:e682) |
| 2022-08-13 09:19:59 | <isaacthekind[m]> | ok i'm gonna try this thx |
| 2022-08-13 09:26:13 | → | hrberg joins (~quassel@171.79-160-161.customer.lyse.net) |
| 2022-08-13 09:30:03 | <isaacthekind[m]> | ok i'm pretty sure i've done that, but still not bar sadly. |
| 2022-08-13 09:31:52 | <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 09:39:13 | × | qbt quits (~qbt@user/edun) (Ping timeout: 268 seconds) |
| 2022-08-13 09:44:38 | <Solid> | (if using a display manager) |
| 2022-08-13 09:50:47 | <isaacthekind[m]> | where does cabal put these things |
| 2022-08-13 09:50:57 | <isaacthekind[m]> | im trying to locate it so i can specify the full path |
| 2022-08-13 09:51:06 | <isaacthekind[m]> | and yeah solid, im using light dm |
| 2022-08-13 09:56:31 | <geekosaur> | ~/.cabal/bin as I said earlier |
| 2022-08-13 09:58:56 | <isaacthekind[m]> | oh ok gotcha, didn't understand that my bad |
| 2022-08-13 10:02:29 | <isaacthekind[m]> | i don't think i'm understanding correctly. is this what you're saying i need to do? |
| 2022-08-13 10:02:33 | isaacthekind[m] | uploaded an image: (6042KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/QHWtPYkcssSQkXgmuytEjkuT/ima_b6660f9.jpeg > |
| 2022-08-13 10:03:17 | <geekosaur> | wrong part |
| 2022-08-13 10:04:12 | <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 10:09:30 | <isaacthekind[m]> | still not quite |
| 2022-08-13 10:09:33 | <isaacthekind[m]> | this is what's in bin |
| 2022-08-13 10:09:45 | isaacthekind[m] | uploaded an image: (5208KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/KribklbJBJSFUEEXvwXkrjWw/ima_701e849.jpeg > |
| 2022-08-13 10:10:43 | <isaacthekind[m]> | and i adjusted that text |
| 2022-08-13 10:11:51 | isaacthekind[m] | uploaded an image: (5054KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/ynODZuOecvRAYGFvcKPmNbWg/ima_f109884.jpeg > |
| 2022-08-13 10:12:08 | <geekosaur> | that's not what I said |
| 2022-08-13 10:12:19 | <geekosaur> | "~/.cabal/bin/xmobad -x 0" |
| 2022-08-13 10:12:43 | <isaacthekind[m]> | oh my lord |
| 2022-08-13 10:12:48 | <isaacthekind[m]> | sorry it's 5am |
| 2022-08-13 10:15:18 | <isaacthekind[m]> | oh man yes |
| 2022-08-13 10:15:23 | <isaacthekind[m]> | the bar is there |
| 2022-08-13 10:16:01 | <isaacthekind[m]> | ok thanks for putting up with my level 0 questions. really appreciate it. |
| 2022-08-13 11:32:26 | → | qbt joins (~qbt@user/edun) |
| 2022-08-13 12:05:29 | → | benin00 joins (~benin@2401:4900:2325:5674:b133:d14b:76b3:3d8) |
| 2022-08-13 12:07:29 | × | benin0 quits (~benin@183.82.176.32) (Ping timeout: 252 seconds) |
| 2022-08-13 12:07:29 | benin00 | is now known as benin0 |
| 2022-08-13 12:50:45 | → | benin04 joins (~benin@183.82.206.125) |
| 2022-08-13 12:52:23 | × | benin0 quits (~benin@2401:4900:2325:5674:b133:d14b:76b3:3d8) (Ping timeout: 255 seconds) |
All times are in UTC.