Logs: liberachat/#xmonad
| 2021-05-28 20:58:25 | <jg> | geekosaur, Yea I can try and take a look, it is in the X.M.StatusBar correct? |
| 2021-05-28 20:59:43 | <geekosaur> | I believe so, yes |
| 2021-05-28 21:00:26 | <mc47> | yes, if you know how to generate the documentation, it's under Dynamic Status bars |
| 2021-05-28 21:00:42 | <mc47> | (stack haddock would generate the docks, for example) |
| 2021-05-28 21:01:05 | <jg> | mc47 lol I don't know how, I've just been reading through the comments on github |
| 2021-05-28 21:01:35 | <mc47> | that's tedious lol |
| 2021-05-28 21:01:50 | <jg> | I am a bit of a newb... |
| 2021-05-28 21:02:16 | <liskin> | might be a nice little project to publish latest haddocks from github actions |
| 2021-05-28 21:02:39 | <mc47> | if you're using stack, just run `stack haddock` inside your cloned xmonad-contrib repo, and at the end of the logs you'll find a link to the html documentation |
| 2021-05-28 21:02:44 | <liskin> | (well, "nice" and "little" might not turn out to be accurate, though :-)) |
| 2021-05-28 21:03:03 | <geekosaur> | we used to publish them to the wiki years ago,m then switched to just pointing to hackage |
| 2021-05-28 21:03:06 | <jg> | ooh let me launch the vm and try |
| 2021-05-28 21:03:22 | <liskin> | geekosaur: actually they were part of the website not that long ago |
| 2021-05-28 21:03:32 | <mc47> | hmm, is there something like "artifacts" in github actions? |
| 2021-05-28 21:03:51 | <liskin> | mc47: https://docs.github.com/en/actions/guides/storing-workflow-data-as-artifacts |
| 2021-05-28 21:04:09 | <liskin> | dunno if you can host a bunch of html pages from that, though |
| 2021-05-28 21:04:27 | <liskin> | there are all sorts of security implications if they allow that |
| 2021-05-28 21:04:35 | <mc47> | interesting |
| 2021-05-28 21:04:35 | <geekosaur> | and all of this reminds me that originally I was going to work on migrating the wiki this week, before the freenode shitstorm |
| 2021-05-28 21:04:50 | <jg> | running stack haddock rn its almost done |
| 2021-05-28 21:06:33 | <jg> | mc47, i cd'd to my xmonad-contrib folder and ran stack haddock, what should I be looking for after |
| 2021-05-28 21:07:02 | <jg> | jk i font the doc folder |
| 2021-05-28 21:07:11 | <mc47> | you should see a bunch of links to the documentation |
| 2021-05-28 21:08:34 | <jg> | these are links to the .16 stuff though, is this current with the commit made? |
| 2021-05-28 21:09:04 | <mc47> | haven't you checked out the master branch? |
| 2021-05-28 21:09:14 | <mc47> | you might need to run `git pull` |
| 2021-05-28 21:09:35 | <jg> | ah i just cloned the repo via 'git clone' |
| 2021-05-28 21:10:24 | <jg> | liskin, it shoud be uploaded to that folder, lmk if i need to relink it |
| 2021-05-28 21:10:35 | <jg> | I included the iso with it |
| 2021-05-28 21:17:31 | × | tekul quits (~tekul@82-68-220-238.dsl.in-addr.zen.co.uk) (Quit: Client closed) |
| 2021-05-28 21:21:27 | <jg> | mc47 after I git pull in each folder I just re-run stack install correct? |
| 2021-05-28 21:21:51 | <mc47> | not sure how you've set it up |
| 2021-05-28 21:21:59 | <jg> | lol ill just send it |
| 2021-05-28 21:22:16 | <mc47> | but if you followed the tutorial, stack build should do its job i guess |
| 2021-05-28 21:22:19 | <jg> | git pulled all 3, stack update, stack install lol |
| 2021-05-28 21:22:35 | <mc47> | you don't need stack update |
| 2021-05-28 21:22:43 | <mc47> | you actually just need to run stack build in your xmonad repo |
| 2021-05-28 21:22:47 | <mc47> | (probably) |
| 2021-05-28 21:23:03 | <jg> | good to know for future lol i'll just brute force it, I gave this vm 8 cores so it shouldnt take to long |
| 2021-05-28 21:23:53 | <mc47> | (the difference between stack build and stack install, is that stack install just does stack build and symlinks the binary) |
| 2021-05-28 21:27:20 | <jg> | geekosaur I am just trying to figure out how to extend vm to my second screen |
| 2021-05-28 21:29:55 | <liskin> | jg: it's 0.16 because we haven't bumped the version yet |
| 2021-05-28 21:30:04 | <liskin> | so git master still builds as 0.16 |
| 2021-05-28 21:31:20 | × | jg quits (~jrgiacone@47.149.222.98) (Quit: Lost terminal) |
| 2021-05-28 21:33:11 | → | jg joins (~jrgiacone@47.149.222.98) |
| 2021-05-28 21:33:21 | <jg> | accidently closed my X11 lmfao |
| 2021-05-28 21:34:15 | <liskin> | jg: re folder, I haven't seen the link anywhere; if you posted it around 22:53:00 CEST (20:53 UTC) you dropped out at the time |
| 2021-05-28 21:35:26 | <jg> | liskin here you go big dog: https://drive.google.com/drive/folders/1k5kJgxSkWgV_in2s6jIdJY5czedxtTqc?usp=sharing |
| 2021-05-28 21:38:39 | <liskin> | jg: okay, downloading |
| 2021-05-28 21:48:42 | <jg> | geekosaur, i got my vm to display both monitors, do i need to create two spawn pipes like in .15 for the xmobar to display on both screens. at the moment, it does not detect my second screen to generate another bar on its own |
| 2021-05-28 21:49:42 | <geekosaur> | jg, I was just forwarding mc47 said just before IRC told us you'd fallen out of the channel again; I have little to do with the dynamic status bar stuff. But my understanding is that if it's configured correctly it should be automatic |
| 2021-05-28 21:50:20 | <geekosaur> | (It does require configuration, not everyone wants multiple statusbars just because they have multiple monitors.) |
| 2021-05-28 21:51:03 | <jg> | hmmmm, I used the withEasySB (statusBarProp "xmobar" (pure myXmobarPP)) defTogleStrutsKey, but I was not prompeted with anything |
| 2021-05-28 21:51:20 | <mc47> | that should create one status bar |
| 2021-05-28 21:51:25 | <jg> | ahh |
| 2021-05-28 21:51:35 | <jg> | so its a me problem |
| 2021-05-28 21:52:01 | <mc47> | if you want more, you can either compose them with <>, or use dynamicSBs (or dynamicEasySBs) |
| 2021-05-28 21:52:36 | <jg> | like create a withSB section like hsown around line 252? |
| 2021-05-28 21:52:54 | → | manuel__ joins (~manuel@185.68.78.228) |
| 2021-05-28 21:53:23 | <mc47> | not sure about the line, but yeah |
| 2021-05-28 21:53:41 | <mc47> | if you're looking at the source, the docs start at line 376 |
| 2021-05-28 21:53:56 | × | manuel__ quits (~manuel@185.68.78.228) (Client Quit) |
| 2021-05-28 21:54:25 | <jg> | mc47, I am looking at the StatusBar.hs on github |
| 2021-05-28 21:54:38 | <jg> | i have a feeling im in the wrong spot |
| 2021-05-28 21:55:15 | <mc47> | https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Hooks/StatusBar.hs#L375 |
| 2021-05-28 21:56:27 | <jg> | lit, reading now |
| 2021-05-28 22:01:59 | → | manuel-io joins (~manuel@185.68.78.228) |
| 2021-05-28 22:03:37 | → | allbery_b joins (~geekosaur@069-135-003-034.biz.spectrum.com) |
| 2021-05-28 22:04:30 | × | geekosaur quits (~geekosaur@069-135-003-034.biz.spectrum.com) (Ping timeout: 248 seconds) |
| 2021-05-28 22:04:39 | <liskin> | mc47: thought about the docs a bit and I think the easiest solution is to push the result into gh-pages on the xmonad and xmonad-contrib repos, possibly just the latter as it'd build haddock for both |
| 2021-05-28 22:05:06 | <liskin> | a hack but we don't need pages on those repos for anything else do we? |
| 2021-05-28 22:05:32 | <mc47> | sounds good to me |
| 2021-05-28 22:10:21 | <jg> | mc47 I believe i got it set up right, as I compiled, however, I do not think it likes my virtual screens as I have no bars now lol |
| 2021-05-28 22:10:40 | <jg> | do you know if virtual screens are identified different than 0 and 1 |
| 2021-05-28 22:11:02 | <mc47> | no idea, sorry |
| 2021-05-28 22:11:07 | <mc47> | did you check your logs maybe? |
| 2021-05-28 22:11:20 | <mc47> | I'd start by launching "xmobar -x 0" from the terminal to debug it |
| 2021-05-28 22:11:20 | <jg> | let me set them up with _XMONAD_LOG |
| 2021-05-28 22:11:23 | <jg> | i did not |
| 2021-05-28 22:13:01 | × | manuel-io quits (~manuel@185.68.78.228) (Quit: leaving) |
| 2021-05-28 22:13:18 | <jg> | they both launch from terminal via "xmobar -x 0" or 1 |
| 2021-05-28 22:13:19 | allbery_b | is now known as geekosaur |
| 2021-05-28 22:13:35 | <mc47> | hmm |
| 2021-05-28 22:13:43 | <mc47> | maybe share your config? |
| 2021-05-28 22:14:07 | <jg> | yea I will in a second, when i set up statusBarPropTo "_XMONAD_LOG_1" "xmobar.." where does that log go |
| 2021-05-28 22:14:28 | <mc47> | to _XMONAD_LOG_1 ? Not sure I follow the question |
| 2021-05-28 22:14:55 | <jg> | oh in the source code there was that xmonad log, i thought it was outputing an error file lol |
| 2021-05-28 22:15:12 | <jg> | when you put the XMONAD_LOG |
| 2021-05-28 22:16:34 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 2021-05-28 22:16:58 | → | jg-vm joins (~jrgiacone@47.149.222.98) |
| 2021-05-28 22:24:31 | <liskin> | jg: https://store.lisk.in/tmp/2021-05-28-232412_956x1059_scrot.png |
| 2021-05-28 22:24:36 | <liskin> | what do I do :-) |
| 2021-05-28 22:24:57 | <jg> | valid anyway i can pm you |
| 2021-05-28 22:24:58 | <jg> | lol |
| 2021-05-28 22:25:21 | <liskin> | I hope there's a dummy password in there |
| 2021-05-28 22:25:36 | <liskin> | if not then I'll boot into a failsafe and reset it |
| 2021-05-28 22:25:50 | <jg> | lol ima make a quick dock in here, fortunately its not a password I use for anything anymore |
| 2021-05-28 22:26:27 | <jg> | liskin, made a file with the usr and psswd |
| 2021-05-28 22:28:20 | <liskin> | jg: ok, I'm in it :-) |
| 2021-05-28 22:29:41 | <jg> | liskin, so the issue comes when pressing mod+q or running xmonad --restart, mod+b will no longer toggle the xmobar, however, if you open a window such as a terminal, it will behave |
All times are in UTC.