2021/09/04

2021-09-04 00:00:03 +0000nomadxx3(~lanomadx@208.91.64.181) (*.net *.split)
2021-09-04 00:00:03 +0000benin0369323(~benin@183.82.179.90) (*.net *.split)
2021-09-04 00:00:03 +0000td_(~td@muedsl-82-207-238-018.citykom.de) (*.net *.split)
2021-09-04 00:00:03 +0000kr1x(~kriket@170.249.0.122) (*.net *.split)
2021-09-04 00:00:03 +0000jsoo(~znc@irc.refl.club) (*.net *.split)
2021-09-04 00:00:19 +0000nomadxx3(~lanomadx@208.91.64.181)
2021-09-04 00:00:45 +0000kr1x(~kriket@170.249.0.122)
2021-09-04 00:02:03 +0000jsoo(~znc@irc.refl.club)
2021-09-04 00:05:16 +0000td_(~td@muedsl-82-207-238-018.citykom.de)
2021-09-04 00:06:00 +0000kr1x(~kriket@170.249.0.122) (Quit: .)
2021-09-04 01:23:21 +0000sagax(~sagax_nb@user/sagax)
2021-09-04 01:36:57 +0000nomadxxxx3(~lanomadx@69.167.42.182)
2021-09-04 01:38:10 +0000nomadxx3(~lanomadx@208.91.64.181) (Ping timeout: 240 seconds)
2021-09-04 02:03:10 +0000banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds)
2021-09-04 02:03:27 +0000pl(sid98063@id-98063.helmsley.irccloud.com) (Ping timeout: 240 seconds)
2021-09-04 02:06:23 +0000pl(sid98063@id-98063.helmsley.irccloud.com)
2021-09-04 02:20:32 +0000td_(~td@muedsl-82-207-238-018.citykom.de) (Ping timeout: 245 seconds)
2021-09-04 02:22:38 +0000td_(~td@94.134.91.73)
2021-09-04 02:24:14 +0000banc(banc@gateway/vpn/airvpn/banc)
2021-09-04 02:45:20 +0000eyenx(~m-5paiux@eyenx.ch) (Remote host closed the connection)
2021-09-04 02:46:09 +0000eyenx(~m-5paiux@eyenx.ch)
2021-09-04 04:04:37 +0000Nahra(~user@static.161.95.99.88.clients.your-server.de) (Ping timeout: 252 seconds)
2021-09-04 07:03:19 +0000wonko(~wjc@62.115.229.50)
2021-09-04 07:11:53 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-09-04 07:17:29 +0000geekosaur(~geekosaur@xmonad/geekosaur)
2021-09-04 07:29:48 +0000seschwar(~seschwar@user/seschwar)
2021-09-04 08:17:44 +0000allbery_b(~geekosaur@xmonad/geekosaur)
2021-09-04 08:17:44 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-09-04 08:17:47 +0000allbery_bgeekosaur
2021-09-04 08:29:57 +0000AndrewAhkilKumar
2021-09-04 08:30:26 +0000AhkilKumarAndrew
2021-09-04 09:10:38 +0000Nahra(~user@static.161.95.99.88.clients.your-server.de)
2021-09-04 10:01:20 +0000mc47(~mc47@xmonad/TheMC47)
2021-09-04 10:04:35 +0000frosch03(~user@2a02:8070:7ab:1b00:1f4a:4f79:a4cd:c73)
2021-09-04 10:04:35 +0000frosch03(~user@2a02:8070:7ab:1b00:1f4a:4f79:a4cd:c73) (Client Quit)
2021-09-04 12:43:18 +0000wonko(~wjc@62.115.229.50) (Ping timeout: 256 seconds)
2021-09-04 13:16:43 +0000 <yuu[m]> is there a specific reason on why workspaces are limited to 9? i mean i've seen ways to workaround that, but i don't see why this was designed this way.
2021-09-04 13:17:40 +0000 <f-a> I guess because there are 9 numbered keys
2021-09-04 13:17:42 +0000 <Solid> it was... not? :D
2021-09-04 13:17:53 +0000 <Solid> you can have as many workspaces as you like
2021-09-04 13:18:53 +0000Solidhas 25 :]
2021-09-04 13:19:57 +0000 <yuu[m]> Solid: i mean on the source code https://github.com/xmonad/xmonad/blob/f89df98f4022b5142760b86a2ad85b4e90e583b3/src/XMonad/Config.h…
2021-09-04 13:20:10 +0000 <yuu[m]> 1 .. 9
2021-09-04 13:20:42 +0000 <Solid> this is the default config, where it was decided that 9 workspaces seem like a decent default to have
2021-09-04 13:21:40 +0000 <Solid> You can see in line 261 that these are just assigned to XConfig's `workspaces` field
2021-09-04 13:22:07 +0000 <Solid> there's nothing stopping you from doing `map show [1 .. 100 :: Int]` :)
2021-09-04 13:26:25 +0000 <yuu[m]> i mean i was thinking in suggesting to make that an infinite range, but wanted to know the reason behind the 9, but like f-a said that's likely because of the number keys on the keyboard
2021-09-04 13:27:02 +0000 <f-a> tho there are *ten* numbered keys, of course
2021-09-04 13:36:08 +0000 <yuu[m]> solid do you have your config public just so that i can see your way to achieve 25 workspaces? i've seen some 3 ways to achieve, but i'm not sure what's the best
2021-09-04 13:37:28 +0000 <f-a> yuu[m]: out of curiosity, how will you bind them? ⌂+n for the first 10 and then ⌂+⇧+n for other ten?
2021-09-04 13:37:43 +0000 <f-a> or do you just iterate «next workspace» and «previous workspace»?
2021-09-04 13:38:50 +0000 <Solid> yuu[m]: sure, though it might not be the easiest thing to understand: https://gitlab.com/slotThe/dotfiles/-/blob/master/xmonad/.config/xmonad/xmonad.hs#L211
2021-09-04 13:39:19 +0000 <Solid> the main thing I think you saw people do differently is keybindings; I mostly don't bother with that, only binding the first 10 workspaces ( https://gitlab.com/slotThe/dotfiles/-/blob/master/xmonad/.config/xmonad/xmonad.hs#L673 )
2021-09-04 13:39:41 +0000 <Solid> for anything else I use X.P.Workspace
2021-09-04 13:42:56 +0000 <yuu[m]> i actually just want 12 workspaces so from 1 until =. i guess you could make something akin to emacs where you prefix a number to a key, eg `Super-24 w`
2021-09-04 13:43:58 +0000 <yuu[m]> Solid: thank you!
2021-09-04 13:44:19 +0000mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2021-09-04 13:46:45 +0000f-a(f2a@f2a.jujube.ircnow.org) (Remote host closed the connection)
2021-09-04 13:48:39 +0000 <Solid> oh then you just need the keybinding part
2021-09-04 13:53:03 +0000 <Solid> yuu[m]: something like http://ix.io/3xUW should be a minimal working example
2021-09-04 13:58:32 +0000 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/pyanfar/xmonad.hs#L220-L225
2021-09-04 14:00:06 +0000 <geekosaur> workspacen is defined earlier in the file (and is all names, not numbers; numbers is just so we have something to call the default workspaces)
2021-09-04 14:01:09 +0000 <geekosaur> it's also somewhat common to have 20 workspaces with the first 10 on mod-<1-10> and the second on mod-<F1-F10>
2021-09-04 14:04:02 +0000f2a(f2a@f2a.jujube.ircnow.org)
2021-09-04 14:05:16 +0000f2af-a
2021-09-04 14:17:52 +0000bla(~bla@89-67-84-220.dynamic.chello.pl) (Ping timeout: 252 seconds)
2021-09-04 14:18:50 +0000 <fizzie> I think someone here did workspaces with a two-digit keybinding, which I imagine is achievable with XMonad.Actions.Submap-style logic. Or maybe I'm thinking of IRC client windows instead.
2021-09-04 15:39:59 +0000 <yuu[m]> Solid: geekosaur thank you!
2021-09-04 15:41:01 +0000 <yuu[m]> what is the operator i need to use here so that i can have both keys?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/c147ff51e8dfa36fa18fa82490d4d33e2c3e…)
2021-09-04 15:47:11 +0000 <davve> its not about the amount of workspaces, its how you use them!
2021-09-04 15:47:45 +0000 <geekosaur> yuu[m], what error do you get?
2021-09-04 15:49:59 +0000 <yuu[m]> geekosaur: oh i should have looked before asking it was just `Variable not in scope: additionalKeys`. fixed! thank you! haskell is kinda magic
2021-09-04 15:50:00 +0000 <geekosaur> it shouldn't be an operator but it might need parentheses
2021-09-04 16:10:19 +0000benin0369323(~benin@183.82.179.90)
2021-09-04 16:21:23 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-09-04 16:36:21 +0000geekosaur(~geekosaur@xmonad/geekosaur)
2021-09-04 16:47:24 +0000qbt(~edun@user/edun)
2021-09-04 16:47:25 +0000defjam(~eb0t@90.194.35.110)
2021-09-04 16:49:09 +0000rekahsoft(~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com)
2021-09-04 16:54:54 +0000defjam(~eb0t@90.194.35.110) (Quit: WeeChat 2.3)
2021-09-04 16:55:05 +0000defjam(~eb0t@90.194.35.110)
2021-09-04 17:01:45 +0000benin03693239(~benin@106.198.95.161)
2021-09-04 17:03:22 +0000benin0369323(~benin@183.82.179.90) (Ping timeout: 240 seconds)
2021-09-04 17:03:23 +0000benin03693239benin0369323
2021-09-04 17:09:46 +0000defjam(~eb0t@90.194.35.110) (Quit: WeeChat 2.3)
2021-09-04 17:10:47 +0000defjam(~eb0t@90.194.35.110)
2021-09-04 17:21:29 +0000defjamrundown
2021-09-04 17:21:52 +0000benin03693238(~benin@183.82.207.253)
2021-09-04 17:23:35 +0000rundowneblip
2021-09-04 17:23:40 +0000benin0369323(~benin@106.198.95.161) (Ping timeout: 240 seconds)
2021-09-04 17:23:40 +0000benin03693238benin0369323
2021-09-04 17:24:42 +0000eblipeb0t
2021-09-04 17:26:17 +0000eb0tdefjam
2021-09-04 17:26:25 +0000defjam(~eb0t@90.194.35.110) (Quit: WeeChat 2.3)
2021-09-04 17:27:13 +0000defjam(~eb0t@90.194.35.110)
2021-09-04 17:45:43 +0000defjam(~eb0t@90.194.35.110) (Quit: WeeChat 2.3)
2021-09-04 17:46:05 +0000defjam(~eb0t@90.194.35.110)
2021-09-04 17:58:17 +0000defjam(~eb0t@90.194.35.110) (Quit: WeeChat 2.3)
2021-09-04 18:06:07 +0000benin0369323(~benin@183.82.207.253) (Ping timeout: 252 seconds)
2021-09-04 18:10:37 +0000defjam(~eb0t@90.194.35.110)
2021-09-04 18:18:17 +0000jrgiacone(~jrgiacone@47.153.194.92)
2021-09-04 18:18:20 +0000 <jrgiacone> good morning
2021-09-04 18:18:36 +0000 <jrgiacone> does anyone now how to allow stack to use more cores when compiling updates?
2021-09-04 18:18:50 +0000 <jrgiacone> ive got 16 threads and it only uses 1
2021-09-04 18:19:16 +0000 <jrgiacone> know*
2021-09-04 18:19:30 +0000 <f-a> I know it w/ cabal (-j)
2021-09-04 18:19:44 +0000 <f-a> are you sure you meant to ask this here (#xmonad), jrgiacone ?
2021-09-04 18:20:55 +0000 <jrgiacone> yea lol, I only use haskell for xmonad, so I was curious because I build updates from github with stack and just use stack build after updating
2021-09-04 18:22:52 +0000 <f-a> ah sorry, my bad
2021-09-04 18:23:34 +0000 <f-a> as I said I do not use stack, but `stack --help | grep core` could be a good starting point. And hang tight, for sure someone is bound to answer
2021-09-04 18:24:46 +0000defjam(~eb0t@90.194.35.110) (Quit: WeeChat 2.3)
2021-09-04 18:26:26 +0000defjam(~eb0t@90.194.35.110)
2021-09-04 18:52:33 +0000 <Solid> jrgiacone: stack should already build packages in parallel (and use multiple cores for that)
2021-09-04 18:53:36 +0000 <Solid> if you want to build modules of the same package in parallel then you can just pass -j to `stack build` (or -j16, etc)
2021-09-04 18:53:52 +0000bla(~bla@89-67-84-220.dynamic.chello.pl)
2021-09-04 18:54:18 +0000 <Solid> eh, probably `--ghc-options -j16` to directly pass it to ghc
2021-09-04 18:55:53 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-09-04 18:57:42 +0000geekosaur(~geekosaur@xmonad/geekosaur)
2021-09-04 18:58:33 +0000 <jrgiacone> hmm solid, my stack only uses one thread when I compile and watch htop
2021-09-04 18:59:03 +0000 <jrgiacone> but ill try either so like stack build --ghc-options -j16?
2021-09-04 18:59:09 +0000 <geekosaur> packages, not modules
2021-09-04 18:59:39 +0000 <liskin> jrgiacone: you can also do this: https://github.com/xmonad/xmonad-contrib/blob/master/stack-master.yaml#L25
2021-09-04 18:59:44 +0000 <geekosaur> it would build xmonad and xmonad-contrib in parallel, except xmonad-contrib depends on xmonad so it can't
2021-09-04 19:00:20 +0000 <jrgiacone> ahh, I'll check that out liskin, yea cause contrib only uses one thread when compiling, so i wanted to speed it up
2021-09-04 19:00:38 +0000 <jrgiacone> ah sick
2021-09-04 19:00:54 +0000 <jrgiacone> Ill try it on the next update to contrib thanks!
2021-09-04 19:01:33 +0000 <jrgiacone> liskin, I can add that at the bottom of my stack.yaml?
2021-09-04 19:03:28 +0000 <Solid> liskin: that doesn't work when building something that depends on contrib right?
2021-09-04 19:06:14 +0000 <jrgiacone> side note, might not be related to xmonad but more so X11, when my screen turns off after an idle, it seems to revert to an auto state and I will have to reapply monitor settings to not get flickering with gsync
2021-09-04 19:06:41 +0000 <jrgiacone> I did not know if anyone had experienced this, it's not a big deal, I just set a keybind to reapply the single monitor settings
2021-09-04 19:08:10 +0000 <geekosaur> that would be an X11 issue
2021-09-04 19:10:25 +0000 <liskin> jrgiacone: yeah, add that to the bottom
2021-09-04 19:11:11 +0000 <liskin> Solid: why not? it just makes xmonad-contrib compile in parallel; if whatever depends on xmonad-contrib happens to be larger than xmonad-contrib and would benefit from parallel ghc, then sure, this won't apply to it, but that seems unlikely
2021-09-04 19:11:36 +0000 <liskin> jrgiacone: are you using X.H.Rescreen or something like that which autotriggers xrandr?
2021-09-04 19:13:41 +0000defjam(~eb0t@90.194.35.110) (Quit: WeeChat 2.3)
2021-09-04 19:16:34 +0000 <jrgiacone> liskin, I am not I just bound a script to reapply my single or dual monitor settings
2021-09-04 19:16:52 +0000 <jrgiacone> would X.H.Rescreen allow for that if im not hot plugging monitors
2021-09-04 19:16:58 +0000 <jrgiacone> I switch to single to use gsync in games
2021-09-04 19:18:13 +0000 <liskin> if you're not hotplugging then X.H.Rescreen wouldn't be as useful
2021-09-04 19:18:35 +0000 <liskin> although in your case it seems like the external monitor turning off fires the same events like in an actual cable disconnect
2021-09-04 19:18:56 +0000 <liskin> but you'd probably just get a different chaos of weird behaviours out of that
2021-09-04 19:19:26 +0000 <liskin> what I do here is that when both outputs are active I disable DPMS so they never turn off
2021-09-04 19:20:01 +0000 <jrgiacone> haha it's all good, I appreciate that feedback. It's just a minor annoyance I fixed with a few keybind scripts. Oh that's an easy fix too
2021-09-04 19:20:30 +0000 <jrgiacone> liskin: could I add a similar -j16 for xmonad as well under the ghc-options
2021-09-04 19:21:04 +0000 <liskin> it's not perfect—no power savings and the monitors get extra wear, but in my case it doesn't really matter as I only leave this when I go to the toilet or kitchen
2021-09-04 19:21:19 +0000 <liskin> whenever I actually walk away I suspend the laptop
2021-09-04 19:21:36 +0000 <liskin> jrgiacone: you can but you'll not gain much, xmonad compiles in seconds
2021-09-04 19:22:06 +0000 <jrgiacone> cool cool, Yea ill see how it works on next update thanks
2021-09-04 19:38:11 +0000 <jrgiacone> actually side question, anyone use xmobar with temp or weather options, after the number 80 on both it will not display a number and shows blank
2021-09-04 19:39:02 +0000 <f-a> switch to Celsius ;P
2021-09-04 19:39:29 +0000 <jrgiacone> I could haha, cpu will hit above 80 though in rendering lol
2021-09-04 19:39:42 +0000 <f-a> hehe
2021-09-04 19:40:27 +0000 <liskin> 80 sounds like the threshold between normal and high
2021-09-04 19:40:50 +0000 <liskin> perhaps it's trying to display a different color or something
2021-09-04 19:43:32 +0000 <jrgiacone> lmao thanks for the heads up, I forgot #
2021-09-04 19:56:44 +0000 <jrgiacone> always something smalllll
2021-09-04 20:06:52 +0000bla(~bla@89-67-84-220.dynamic.chello.pl) (Remote host closed the connection)
2021-09-04 20:33:16 +0000berserk(~berserk@108-195-12-248.lightspeed.miamfl.sbcglobal.net)
2021-09-04 20:36:25 +0000 <berserk> Has someone seen this kind of output from `journalctl`?
2021-09-04 20:36:30 +0000 <berserk> `XMonad is recompiling and replacing itself with another XMonad process because the current process is called "ah-xmonad" but the compiled configuration should be called "xmonad-x86_64-linux"`
2021-09-04 20:36:59 +0000 <berserk> `ah-xmonad` is a custom build of xmonad I've got locally. I'm using a nix flake to build it.
2021-09-04 20:37:47 +0000 <berserk> `ps aux | grep xmonad` reveals that `ah-xmonad` is running
2021-09-04 20:39:04 +0000 <berserk> Here are the relevant log lines
2021-09-04 20:39:05 +0000 <geekosaur> xmonad normally comes in two "flavors": "xmonad" is the outer one which does setup and if necessary rebuilds the inner one, "xmonad-x86_64-linux" (or substitute arch and os as needed) the inner one that is your actual config
2021-09-04 20:39:54 +0000 <geekosaur> if the inner one doesn't have the right name, it assumes it was invoked as the outer vone and outputs that message
2021-09-04 20:42:17 +0000 <berserk> Got it. So it's to be expected then. Is there anything from the rest of these relevant logs that strikes you as an actual error?
2021-09-04 20:42:20 +0000 <berserk> ```
2021-09-04 20:42:23 +0000 <berserk> Sep 04 16:16:00 nixos xsession[5764]: XMonad is recompiling and replacing itself with another XMonad process because the current process is called "ah-xmonad" but the compiled configuration should be called "xmonad-x86_64-linux"
2021-09-04 20:42:24 +0000 <berserk> Sep 04 16:16:00 nixos xsession[5764]: XMonad will use ghc to recompile, because neither "/home/ah/.config/xmonad/build" nor "/home/ah/.config/xmonad/stack.yaml" exists.
2021-09-04 20:42:24 +0000 <berserk> Sep 04 16:16:00 nixos xsession[5764]: XMonad skipping recompile because it is not forced (e.g. via --recompile), and neither xmonad.hs nor any *.hs / *.lhs / *.hsc files in lib/ have been changed.
2021-09-04 20:42:25 +0000 <berserk> Sep 04 16:16:00 nixos xsession[5764]: /home/ah/.cache/xmonad/xmonad-x86_64-linux: executeFile: does not exist (No such file or directory)
2021-09-04 20:42:27 +0000 <berserk> ```
2021-09-04 20:43:08 +0000 <berserk> Thanks for the response btw :)
2021-09-04 20:46:37 +0000 <geekosaur> the last one is an "actual error" but because of the way you're doing things it's okay, ah-xmonad should go on and use the config you built it with instead of defaulting to the wired-in config
2021-09-04 20:46:58 +0000 <geekosaur> it just means you have a pointless attempt to rebuild going on
2021-09-04 21:18:29 +0000defjam(~eb0t@90.194.35.110)
2021-09-04 21:33:58 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-09-04 21:34:13 +0000geekosaur(~geekosaur@xmonad/geekosaur)
2021-09-04 21:41:53 +0000berserk(~berserk@108-195-12-248.lightspeed.miamfl.sbcglobal.net) (Quit: Client closed)
2021-09-04 21:48:12 +0000kr1x(~kriket@170.249.0.122)
2021-09-04 21:53:27 +0000Forkk(~forkk@li926-228.members.linode.com) (Ping timeout: 240 seconds)
2021-09-04 22:01:48 +0000Forkk(~forkk@li926-228.members.linode.com)
2021-09-04 22:07:20 +0000jrgiacone(~jrgiacone@47.153.194.92) (Quit: Lost terminal)
2021-09-04 22:13:38 +0000seschwar(~seschwar@user/seschwar) (Quit: :wq)
2021-09-04 22:26:15 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-09-04 22:26:15 +0000allbery_b(~geekosaur@xmonad/geekosaur)
2021-09-04 22:26:18 +0000allbery_bgeekosaur
2021-09-04 22:43:03 +0000a6a45081-2b83(~aditya@2601:249:4300:1296:88ec:cc73:84d4:1507)
2021-09-04 23:23:10 +0000thunderrd(~thunderrd@183.182.111.87) (Ping timeout: 240 seconds)
2021-09-04 23:40:43 +0000benin0369323(~benin@183.82.207.253)