2022/05/26

2022-05-26 00:25:14 +0000gymmy[m](~gymmymatr@2001:470:69fc:105::2:19f7)
2022-05-26 00:58:26 +0000werneta(~werneta@137.79.206.133) (Ping timeout: 244 seconds)
2022-05-26 01:12:32 +0000testdrive_[m](~testdrive@2001:470:69fc:105::2:6d6)
2022-05-26 01:28:30 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 276 seconds)
2022-05-26 01:40:25 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-05-26 01:49:27 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 240 seconds)
2022-05-26 01:52:20 +0000jao(~jao@45.134.213.210)
2022-05-26 01:59:39 +0000stackdroid18(14094@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-05-26 01:59:54 +0000jao(~jao@45.134.213.210) (Ping timeout: 258 seconds)
2022-05-26 02:02:21 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-05-26 02:03:01 +0000banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 244 seconds)
2022-05-26 02:15:00 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-05-26 02:23:08 +0000banc(banc@gateway/vpn/airvpn/banc)
2022-05-26 02:30:55 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-05-26 02:41:21 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-05-26 02:46:11 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-05-26 02:49:50 +0000terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
2022-05-26 02:50:52 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-05-26 02:52:18 +0000terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1)
2022-05-26 02:52:38 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-05-26 03:14:10 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 240 seconds)
2022-05-26 03:16:48 +0000jao(jao@gateway/vpn/protonvpn/jao)
2022-05-26 03:18:34 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net)
2022-05-26 03:57:12 +0000mvk(~mvk@2607:fea8:5ce3:8500::ba9a) (Ping timeout: 258 seconds)
2022-05-26 04:03:35 +0000Scisista(~Scisista@27.71.84.171)
2022-05-26 04:10:02 +0000jao(jao@gateway/vpn/protonvpn/jao) (Ping timeout: 246 seconds)
2022-05-26 04:12:48 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-05-26 04:22:17 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 246 seconds)
2022-05-26 05:07:03 +0000Scisista(~Scisista@27.71.84.171) (Quit: Client closed)
2022-05-26 05:43:22 +0000chomwitt(~chomwitt@2a02:587:dc17:d600:edfa:63d8:a33:78aa)
2022-05-26 08:26:16 +0000 <valarMorghulis[m> I'm have installed `xmonad` using stack following this video https://www.youtube.com/watch?v=XvKAiR403O0&t=1003s... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/c9c3f4017d0f9e251b96f71f840f37abd272…)
2022-05-26 08:27:48 +0000 <valarMorghulis[m> I install `xmonad-dbus` from AUR but I don't understand how this works, should I add this as a dependency in `stack.yaml` file?
2022-05-26 08:46:50 +0000 <fizzie> What I do with stack is, I've got my own config under `packages: ...` in the top-level stack.yaml, and then in that package's own .cabal file I do `build-depends: ..., dbus >=1.2 && <1.3, ...`.
2022-05-26 09:05:52 +0000Natch(~natch@92.34.7.158) (Remote host closed the connection)
2022-05-26 09:06:33 +0000 <Solid> yes you don't want to (and can't, really) mix stack and AUR packages
2022-05-26 09:08:32 +0000 <Solid> and you want to add xmonad-dbus to the build debends, not just dbus
2022-05-26 09:25:13 +0000Natch(~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se)
2022-05-26 10:13:05 +0000allbery_b(~geekosaur@xmonad/geekosaur)
2022-05-26 10:13:05 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2022-05-26 10:13:08 +0000allbery_bgeekosaur
2022-05-26 10:28:23 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 246 seconds)
2022-05-26 10:38:07 +0000GerardoLisboa[m](~gvlxmatri@2001:470:69fc:105::2f48) ()
2022-05-26 11:13:15 +0000Natch(~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Remote host closed the connection)
2022-05-26 11:48:19 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 258 seconds)
2022-05-26 11:56:25 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-05-26 12:29:42 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net)
2022-05-26 12:49:21 +0000Natch(~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se)
2022-05-26 13:47:27 +0000tremon(~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl)
2022-05-26 14:37:35 +0000dcleonarski(~user@2804:d51:479c:4300:c312:71c1:ee9b:86ea)
2022-05-26 14:38:12 +0000 <dcleonarski> a quick tip for why isn't xmonad reloading my just-recompiled binary?
2022-05-26 14:38:33 +0000 <dcleonarski> an ls in my ~/.xmonad reveals: lib prompt-history xmonad-x86_64-linux xmonad.errors xmonad.hi xmonad.hs xmonad.o xpm
2022-05-26 14:38:59 +0000 <geekosaur> how do you know it's not reloading?
2022-05-26 14:40:26 +0000 <geekosaur> (if you changed something in your layout, you will need to press mod-shift-space to activate it; this is because xmonad can't tell the difference between edits in your config and changes made with e.g. mod-comma)
2022-05-26 14:47:17 +0000 <dcleonarski> I know it's not reloading because I've changed the name of a workspace and it's not reappearing in the xmobar
2022-05-26 14:47:50 +0000 <dcleonarski> after changing the xmonad.hs, I type "modkey-Q", which runs:
2022-05-26 14:47:55 +0000 <dcleonarski> , ((modm, xK_q), spawn "xmonad --recompile; xmonad --restart")
2022-05-26 14:48:09 +0000 <dcleonarski> I tried to run it manually in the terminal, but no success
2022-05-26 14:50:04 +0000 <dcleonarski> I have a simple array of strings defining my workspaces, and then pass it forward to a xcfeConfig call like this:
2022-05-26 14:50:13 +0000TheGreenPaper(~Thunderbi@2001:4651:433c:0:110e:e2c8:38f7:9bb1)
2022-05-26 14:50:14 +0000 <dcleonarski> , workspaces = myWorkspaces
2022-05-26 14:50:36 +0000 <dcleonarski> it's curious because it worked the first time I ran it
2022-05-26 14:50:51 +0000 <Solid> AFAIK workspaces are also held inside some state
2022-05-26 14:51:09 +0000 <Solid> you might need to quit X and properly restart xmonad
2022-05-26 14:51:57 +0000 <dcleonarski> I've already restarted the OS
2022-05-26 14:52:09 +0000 <dcleonarski> running Arch Linux
2022-05-26 14:52:22 +0000 <dcleonarski> $ uname -a Linux atlantis 5.15.35-1-lts #1 SMP Wed, 20 Apr 2022 11:49:16 +0000 x86_64 GNU/Linux
2022-05-26 14:52:50 +0000 <dcleonarski> ~/.xmonad/xmonad.errors is empty
2022-05-26 14:58:05 +0000 <Solid> what happens if you run `xmonad --recompile` in a terminal? how are you starting xmonad; perhaps there is some stray executable on your system
2022-05-26 15:00:33 +0000 <dcleonarski> $ xmonad --recompile
2022-05-26 15:00:34 +0000 <dcleonarski> XMonad will use ghc to recompile, because "/home/user/.config/xmonad/build" does not exist.
2022-05-26 15:00:34 +0000 <dcleonarski> XMonad recompilation process exited with success!
2022-05-26 15:01:02 +0000 <dcleonarski> hmmmm
2022-05-26 15:01:27 +0000 <dcleonarski> it looks like I have to clean that .config/xmonad?
2022-05-26 15:01:36 +0000 <dcleonarski> the stray you mentioned
2022-05-26 15:02:29 +0000 <geekosaur> changing a workspace name is a bit weird because it'll usually recreate the old one during mod-q because there are existing references to it, then stick the new one at the end. but this shouldn't persist across reboots
2022-05-26 15:02:48 +0000 <geekosaur> arch does have some odd issues but recompile usually cleans them up
2022-05-26 15:05:51 +0000 <Solid> `which -a xmonad` should at least tell you about other executables
2022-05-26 15:06:44 +0000 <dcleonarski> wow, 2 binaries, da heck
2022-05-26 15:07:20 +0000 <dcleonarski> I had installed theses 3 packages using aura/pacman: xmonad xmonad-contrib xmonad-utils
2022-05-26 15:10:24 +0000 <dcleonarski> $ aura -Qo /usr/bin/xmonad -> /usr/bin/xmonad is owned by xmonad 0.15-182
2022-05-26 15:10:24 +0000 <dcleonarski> $ aura -Qo /bin/xmonad -> /usr/bin/xmonad is owned by xmonad 0.15-182
2022-05-26 15:11:30 +0000 <geekosaur> that sounds like /bin might be symlinked to /usr/bin. some distros do that
2022-05-26 15:11:46 +0000 <geekosaur> (the distinction between them kinda went away with large hard drives)
2022-05-26 15:13:16 +0000 <dcleonarski> nope, both are ELF 64-bit binaries
2022-05-26 15:13:35 +0000 <dcleonarski> identical BuildID[sha1]
2022-05-26 15:13:52 +0000 <geekosaur> right. note that it claimed /usr/bin/xmonad for both
2022-05-26 15:13:55 +0000 <dcleonarski> trying to figure out why the same package is giving me duplicate binaries
2022-05-26 15:14:05 +0000 <geekosaur> that's why I think /bin is a symlink to /usr/bin
2022-05-26 15:14:31 +0000 <geekosaur> https://paste.tomsmeding.com/6IiHzvm0
2022-05-26 15:14:32 +0000 <dcleonarski> wow, true, didn't pay attention to the second call
2022-05-26 15:14:45 +0000 <dcleonarski> but why is the program "file" telling me it is a binary?
2022-05-26 15:14:57 +0000 <dcleonarski> ahh
2022-05-26 15:15:01 +0000 <dcleonarski> YES
2022-05-26 15:15:13 +0000 <dcleonarski> hahaha, sorry for the confusion
2022-05-26 15:15:20 +0000 <dcleonarski> Arch stuff
2022-05-26 15:15:26 +0000 <geekosaur> ubuntu does the same
2022-05-26 15:15:40 +0000 <dcleonarski> days ago I noticed the same pattern with "sh"
2022-05-26 15:15:42 +0000 <geekosaur> the distinction between the two is a historical artifact from the days of tiny hard drives
2022-05-26 15:15:53 +0000 <dcleonarski> hmmm, restricted path length
2022-05-26 15:16:25 +0000 <geekosaur> so / was just big enough to boot to the point of mounting /usr
2022-05-26 15:16:28 +0000 <dcleonarski> Ubuntu has symlinked "sh" to dash, whereas Arch has symlinked it to bash
2022-05-26 15:16:35 +0000 <geekosaur> yes
2022-05-26 15:18:16 +0000 <dcleonarski> in fact, I'm still trying to understand about xmonad's initialization... when I choose it in lightdm as my WM, do I need the .xinitrc calling "exec xmonad"?
2022-05-26 15:18:44 +0000 <geekosaur> probably not, that should use something in /usr/share/xsessions
2022-05-26 15:18:50 +0000 <geekosaur> but you have less control that way
2022-05-26 16:00:09 +0000ares[m](~arescatgi@2001:470:69fc:105::1:cca5) (Quit: You have been kicked for being idle)
2022-05-26 16:01:30 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-05-26 16:06:45 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
2022-05-26 16:18:12 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-05-26 16:24:20 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-05-26 16:25:54 +0000 <valarMorghulis[m> <fizzie> "What I do with stack is, I've..." <- Can I get any documentation on how to set up xmonad with stack? I'm new to stack
2022-05-26 16:26:24 +0000 <valarMorghulis[m> > <@lladeebll:matrix.org> I'm have installed `xmonad` using stack following this video https://www.youtube.com/watch?v=XvKAiR403O0&t=1003s... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/f1efc7ab89a73f6736a47fc26b17a13a7c88…)
2022-05-26 16:26:26 +0000 <lambdabot> <hint>:1:1: error: parse error on input ‘<@’
2022-05-26 17:24:59 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-05-26 18:02:02 +0000Hashstoned
2022-05-26 18:14:25 +0000aliosablack(~chomwitt@80.106.160.253)
2022-05-26 18:16:25 +0000chomwitt(~chomwitt@2a02:587:dc17:d600:edfa:63d8:a33:78aa) (Ping timeout: 244 seconds)
2022-05-26 18:52:05 +0000HAL[m](~evadk8mat@2001:470:69fc:105::3ed0)
2022-05-26 19:11:39 +0000 <Solid> valarMorghulis[m: https://xmonad.org/INSTALL.html
2022-05-26 19:20:44 +0000rarufu[m](~rarufumat@2001:470:69fc:105::9589)
2022-05-26 19:27:44 +0000stackdroid18(14094@user/stackdroid)
2022-05-26 20:47:16 +0000bnchs__(~bnchs@user/bnchs)
2022-05-26 20:47:21 +0000 <bnchs__> hey
2022-05-26 20:47:41 +0000 <bnchs__> how do you switch workspaces in a keyboard layout that needs shift to type numbers
2022-05-26 20:47:57 +0000 <bnchs__> like AZERTY
2022-05-26 20:52:48 +0000 <geekosaur[m]> There's an AZERTY layout in contrib
2022-05-26 20:55:16 +0000 <bnchs__> alright thanks
2022-05-26 21:01:14 +0000bnchs__(~bnchs@user/bnchs) (Quit: Lost terminal)
2022-05-26 21:18:55 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-05-26 21:37:37 +0000MrElendig(~Urist@archlinux/op/MrElendig) (Quit: angering the birds)
2022-05-26 21:38:52 +0000MrElendig(~Urist@archlinux/op/MrElendig)
2022-05-26 22:26:31 +0000dcleonarski(~user@2804:d51:479c:4300:c312:71c1:ee9b:86ea) (Remote host closed the connection)
2022-05-26 22:26:39 +0000dcleonarski(~user@2804:d51:479c:4300:c312:71c1:ee9b:86ea)
2022-05-26 22:32:10 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 240 seconds)
2022-05-26 22:40:16 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-05-26 22:51:47 +0000dcleonarski(~user@2804:d51:479c:4300:c312:71c1:ee9b:86ea) (Ping timeout: 240 seconds)
2022-05-26 23:14:44 +0000aliosablack(~chomwitt@80.106.160.253) (Ping timeout: 255 seconds)
2022-05-26 23:23:41 +0000 <spider_> hey folks, I just want to get the number of windows in the current workspace - there's this solution floating around on the internet
2022-05-26 23:23:43 +0000 <spider_> windowCount = gets $ Just . show . length . W.integrate' . W.stack . W.workspace . W.current . windowset
2022-05-26 23:24:05 +0000 <spider_> just wondering if there's a shorter/nicer way or if this is the "normal" way of doing it
2022-05-26 23:26:18 +0000 <geekosaur> gets $ fmap length . W.integrate' . W.stack . W.workspace . W.current . windowset
2022-05-26 23:26:35 +0000 <geekosaur> Ihave no idea what the rest of that is supposed to be doing
2022-05-26 23:26:50 +0000 <geekosaur> actually, hm, no fmap there
2022-05-26 23:27:10 +0000 <geekosaur> empty list if no stack, so length works as is
2022-05-26 23:27:11 +0000 <spider_> https://stackoverflow.com/a/62075879
2022-05-26 23:27:14 +0000 <spider_> ah these ones are super short
2022-05-26 23:27:24 +0000 <spider_> winCount = length . W.index . windowset <$> get
2022-05-26 23:27:40 +0000 <spider_> yeah I wasn't sure why `Just` was shoved in
2022-05-26 23:28:30 +0000 <geekosaur> right, that makes sense
2022-05-26 23:28:36 +0000 <geekosaur> or why show was mixed in
2022-05-26 23:28:43 +0000 <spider_> yeah lol
2022-05-26 23:28:51 +0000 <spider_> time to go read the docs and see what the heck index does
2022-05-26 23:29:19 +0000 <spider_> O(s). Extract the stack on the current workspace, as a list. The order of the stack is determined by the master window -- it will be the head of the list. The implementation is given by the natural integration of a one-hole list cursor, back to a list.
2022-05-26 23:29:45 +0000 <geekosaur> unless they're after a Maybe String for ppExtras
2022-05-26 23:29:58 +0000 <spider_> yeah it was displayed in xmobar so it's likely
2022-05-26 23:30:35 +0000 <spider_> I learned some haskell and started rewriting from scratch, this time I'm trying to understand every function