2022/08/17

2022-08-17 00:27:50 +0000jabuxas(~jabuxas@2804:14d:ba4c:831e:2ed4:c29b:22c4:6309)
2022-08-17 00:29:29 +0000 <jabuxas> hello
2022-08-17 00:30:53 +0000 <geekosaur> hello
2022-08-17 00:31:29 +0000 <geekosaur> (I'm headed off to bed shortly and it doesn't look like anyone else is around at the moment; you may have to wait around a few hours…)
2022-08-17 00:35:03 +0000 <jabuxas> its ok
2022-08-17 00:42:16 +0000jabuxas(~jabuxas@2804:14d:ba4c:831e:2ed4:c29b:22c4:6309) (Quit: Leaving)
2022-08-17 00:50:18 +0000catman_(~catman@user/catman)
2022-08-17 00:50:26 +0000catman(~catman@user/catman) (Killed (tantalum.libera.chat (Nickname regained by services)))
2022-08-17 00:50:26 +0000catman_catman
2022-08-17 00:52:13 +0000jabuxas(~jabuxas@2804:14d:ba4c:831e:2ed4:c29b:22c4:6309)
2022-08-17 00:56:51 +0000jabas(~jabuxas@2804:14d:ba4c:831e:2ed4:c29b:22c4:6309)
2022-08-17 00:57:09 +0000jabas(~jabuxas@2804:14d:ba4c:831e:2ed4:c29b:22c4:6309) (Client Quit)
2022-08-17 01:01:36 +0000jabuxas(~jabuxas@2804:14d:ba4c:831e:2ed4:c29b:22c4:6309) (Quit: Leaving)
2022-08-17 01:01:47 +0000jabuxas(~jabuxas@2804:14d:ba4c:831e:2ed4:c29b:22c4:6309)
2022-08-17 01:32:26 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-08-17 01:35:16 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-08-17 01:40:12 +0000[Leary](~Leary]@122-58-223-158-adsl.sparkbb.co.nz)
2022-08-17 02:02:49 +0000banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 252 seconds)
2022-08-17 02:06:51 +0000ectospasm(~ectospasm@user/ectospasm) (Quit: WeeChat 3.6)
2022-08-17 02:10:48 +0000jabuxas(~jabuxas@2804:14d:ba4c:831e:2ed4:c29b:22c4:6309) (Remote host closed the connection)
2022-08-17 02:22:52 +0000banc(banc@gateway/vpn/airvpn/banc)
2022-08-17 02:24:49 +0000td_(~td@muedsl-82-207-238-061.citykom.de) (Ping timeout: 252 seconds)
2022-08-17 02:26:44 +0000td_(~td@94.134.91.250)
2022-08-17 02:50:45 +0000ectospasm(~ectospasm@user/ectospasm)
2022-08-17 03:01:17 +0000vreahli(~user@2601:647:5700:1380::de62)
2022-08-17 03:09:56 +0000vreahli(~user@2601:647:5700:1380::de62) (Remote host closed the connection)
2022-08-17 03:47:26 +0000mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 255 seconds)
2022-08-17 04:08:58 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds)
2022-08-17 04:41:19 +0000noex(~null@user/noex) (Quit: :q!)
2022-08-17 04:54:24 +0000qbt(~qbt@user/edun)
2022-08-17 05:16:51 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 248 seconds)
2022-08-17 05:21:16 +0000 <isaacthekind[m]> is there a way to set a certain application to always open on primary display?
2022-08-17 05:21:33 +0000 <isaacthekind[m]> and to always go fullscreen on said display
2022-08-17 05:21:40 +0000 <isaacthekind[m]> (a game in this case)
2022-08-17 05:27:12 +0000 <Solid> that's what the managehook is for
2022-08-17 05:27:25 +0000 <Solid> if you can somehow match the window
2022-08-17 05:45:38 +0000chomwitt(~chomwitt@2a02:587:dc06:ee00:4e2b:7ca9:316d:45c)
2022-08-17 05:50:33 +0000chomwitt(~chomwitt@2a02:587:dc06:ee00:4e2b:7ca9:316d:45c) (Ping timeout: 256 seconds)
2022-08-17 05:54:08 +0000 <isaacthekind[m]> hmm ok lemme explore that thx
2022-08-17 06:33:01 +0000alternateved(~user@staticline-31-183-146-203.toya.net.pl)
2022-08-17 06:43:29 +0000alternateved(~user@staticline-31-183-146-203.toya.net.pl) (Read error: Connection reset by peer)
2022-08-17 06:43:50 +0000alternateved(~user@staticline-31-183-146-203.toya.net.pl)
2022-08-17 07:04:12 +0000cfricke(~cfricke@user/cfricke)
2022-08-17 07:22:55 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 256 seconds)
2022-08-17 07:34:39 +0000cfricke(~cfricke@user/cfricke)
2022-08-17 07:46:14 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net)
2022-08-17 08:14:31 +0000benin0(~benin@183.82.30.34)
2022-08-17 08:18:38 +0000mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-08-17 09:00:49 +0000liskin[m](~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
2022-08-17 10:12:09 +0000mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds)
2022-08-17 12:11:18 +0000 <Solid> uff, munic is expensive :/
2022-08-17 12:11:32 +0000liskin[m](~liskinmat@2001:470:69fc:105::768)
2022-08-17 12:15:34 +0000 <Solid> s/ic/ich/
2022-08-17 12:19:33 +0000catman(~catman@user/catman) (Ping timeout: 252 seconds)
2022-08-17 12:21:42 +0000catman(~catman@user/catman)
2022-08-17 12:26:17 +0000chomwitt(~chomwitt@2a02:587:dc16:4100:bf02:bf7d:726d:6c5b)
2022-08-17 12:28:59 +0000benin04(~benin@183.82.31.103)
2022-08-17 12:30:36 +0000benin0(~benin@183.82.30.34) (Ping timeout: 256 seconds)
2022-08-17 12:30:37 +0000benin04benin0
2022-08-17 12:30:56 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 268 seconds)
2022-08-17 12:31:20 +0000cfricke(~cfricke@user/cfricke)
2022-08-17 12:34:50 +0000chomwitt(~chomwitt@2a02:587:dc16:4100:bf02:bf7d:726d:6c5b) (Ping timeout: 255 seconds)
2022-08-17 12:50:31 +0000catman(~catman@user/catman) (Quit: WeeChat 3.6)
2022-08-17 12:53:26 +0000catman(~catman@user/catman)
2022-08-17 13:52:40 +0000 <Zedgamer9128[m]> Is there any command to open an app in workspace from the terminal like i want to open nvim in workspace 2 directly from the commandline
2022-08-17 13:55:00 +0000 <vrs> you'll have to set up a managehook
2022-08-17 13:55:43 +0000 <vrs> I tend to use hookNext from https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Hooks-ToggleHook.html#v:hook…
2022-08-17 13:56:17 +0000 <geekosaur[m]> There isn't really a reliable way to associate a terminal command with a window opening since unix is asynchronous
2022-08-17 13:57:07 +0000 <vrs> yeah but the unreliable way works 99% of the time
2022-08-17 13:57:17 +0000 <vrs> if you're not spawning many windows at once that is
2022-08-17 15:09:10 +0000alternateved(~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
2022-08-17 16:43:06 +0000benin0(~benin@183.82.31.103) (Quit: The Lounge - https://thelounge.chat)
2022-08-17 16:46:36 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-08-17 17:02:54 +0000zim0369(~zim0369@114.143.131.219)
2022-08-17 17:04:24 +0000logzet(~quassel@2001:9e8:e505:d000:dabb:c1ff:fed3:a1b9)
2022-08-17 17:04:49 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 252 seconds)
2022-08-17 17:08:59 +0000Maeda(~Maeda@91-161-10-149.subs.proxad.net)
2022-08-17 17:11:32 +0000Maeda(~Maeda@91-161-10-149.subs.proxad.net) (Client Quit)
2022-08-17 17:11:37 +0000jeeeun4(~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
2022-08-17 17:12:48 +0000jeeeun4(~jeeeun@78.40.148.178)
2022-08-17 17:18:31 +0000Maeda(~Maeda@91-161-10-149.subs.proxad.net)
2022-08-17 17:20:26 +0000 <Maeda> Hello there, is it possible to use relative paths (like "~/") with appendFilePrompt to specify the notes file?
2022-08-17 17:22:19 +0000 <geekosaur> that's not a relative path, but it is using a shell metacharacter and appendFilePrompt does not go through the shell
2022-08-17 17:25:12 +0000 <Solid> we have some function that expands ~/ in X.Prelude now, so I would imagine it'd just be a matter of telling X.P.AppendFile about it
2022-08-17 17:25:36 +0000 <Maeda> I think I saw some other supporting this (I might be wrong of course).
2022-08-17 17:26:02 +0000 <davean> ~ isn't even POSIX is it? Its shell specific I think. If you want the POSIX version its $HOME?
2022-08-17 17:26:07 +0000 <geekosaur> probably put it in doAppend
2022-08-17 17:26:19 +0000 <davean> I think ~ is a cshellism
2022-08-17 17:26:25 +0000 <geekosaur> but we don't expand envars either, we just call appendFile directly
2022-08-17 17:26:39 +0000 <davean> Oh I'm just saying it isn't clear what ~ does
2022-08-17 17:26:56 +0000 <geekosaur> and yes, ~ is a cshellism that made its way into bash and zsh
2022-08-17 17:27:13 +0000 <geekosaur> along with its cousin ~username
2022-08-17 17:27:16 +0000 <Maeda> $HOME might be OK too, I just want to avoid the full path
2022-08-17 17:27:32 +0000 <davean> Right, so the only way to expand ~ correctly is "ask the shell"
2022-08-17 17:27:38 +0000 <davean> we DO know how $HOME works
2022-08-17 17:27:58 +0000 <davean> zsh has a lot of stuff around ~
2022-08-17 17:28:05 +0000 <Maeda> Out of the box $HOME will not work with appendFile, am I right?
2022-08-17 17:28:18 +0000 <geekosaur> correct because we don't handle envars either
2022-08-17 17:29:10 +0000jeeeun4(~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
2022-08-17 17:29:35 +0000geekosaurlooks at mkAbsolutePath and immediately dislikes it
2022-08-17 17:31:38 +0000 <geekosaur> https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Prelude.hs#L112-L118 the default case seems like it's just asking to confuse people
2022-08-17 17:33:00 +0000jeeeun4(~jeeeun@78.40.148.178)
2022-08-17 17:33:01 +0000 <geekosaur> Maeda, since 99% of the time (100% if using a display manager to log in) your current directory will be $HOME, you can probably just use a relative pathname
2022-08-17 17:33:37 +0000 <geekosaur> and the remaining 1% of the time you probably didn't intend to run startx from somewhere other than ~
2022-08-17 17:35:41 +0000 <Maeda> $HOME is already known in the system, so using this in `(("M-n"), appendFilePrompt myXPConfig "$HOME/NOTES")` can make it but need to import that Prelude part to make that $HOME usable.
2022-08-17 17:37:11 +0000 <geekosaur> no? XMonad.Prelude won't cause environment variables to be expanded. and no import does anything except make functions available for use, it doesn't e.g. change how strings are interpreted
2022-08-17 17:39:36 +0000 <Maeda> OK so to use the relative pathname without $HOME (or ~/), do you have some example (just NOTES?)
2022-08-17 17:39:45 +0000 <geekosaur> just NOTES
2022-08-17 17:40:19 +0000Maedais trying that NOTES :p
2022-08-17 17:42:00 +0000 <Maeda> Works like a charm! Thank you :)
2022-08-17 17:43:03 +0000 <Solid> probably not that difficult to ake mkAbsolutePath expand env vars
2022-08-17 17:44:30 +0000 <geekosaur> right, I just put it on my bucket list
2022-08-17 17:44:51 +0000 <geekosaur> and I looked at the code again and realized it's not quite as WRONG as the comment makes it out to be
2022-08-17 17:44:52 +0000 <Maeda> For me it is just that it is not obvious to just type a name and expect it to create in home folder. But at least that works.
2022-08-17 17:48:03 +0000 <geekosaur> for me it'd be surprising for my basic environment/wm to not be in my home directory
2022-08-17 17:48:19 +0000 <geekosaur> windows can be wherever but the wm itself should be in ~
2022-08-17 17:56:24 +0000 <Solid> oh, yeah, the comment is wrong
2022-08-17 17:57:44 +0000qbt(~qbt@user/edun) (Quit: WeeChat 3.5)
2022-08-17 18:03:22 +0000 <Solid> geekosaur: is there some standard as to which characters env var names can include?
2022-08-17 18:05:24 +0000 <geekosaur> https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html
2022-08-17 18:05:48 +0000 <geekosaur> names can include anything except an equal sign, but in practice are limited to uppercase letters, digits, and underscore
2022-08-17 18:06:15 +0000 <geekosaur> in particular shells are unlikely to be able to process names with characters outside of that set
2022-08-17 18:06:59 +0000 <geekosaur> (well, they can handle lowercase, but the shell convention is that names with lowercase in them are process local and all uppercase names come from the environment)
2022-08-17 18:08:38 +0000 <geekosaur> at one point bash tried to export functions by putting names with parentheses in them in the environment. that ended poorly
2022-08-17 18:09:12 +0000zim0369(~zim0369@114.143.131.219) (Quit: Client closed)
2022-08-17 18:10:23 +0000 <geekosaur> *lots* of programs that look at envars crashed on encountering those names, not just non-bash shells
2022-08-17 18:11:14 +0000zim0369(~zim0369@114.143.131.219)
2022-08-17 18:16:58 +0000 <Solid> hah
2022-08-17 18:17:03 +0000 <isaacthekind[m]> i'm struggling a bit with workspaces and projects, i have these different projects built. like for ex i have one that is 3 terminals. but i can't seem to get keybinds working to switch between projects. yet whenever my leftmost monitor is empty, if i click it suddenly 3 terminals show up (aka my project)...
2022-08-17 18:17:11 +0000zim0369(~zim0369@114.143.131.219) (Quit: Client closed)
2022-08-17 18:19:26 +0000zim0369(~zim0369@114.143.131.219)
2022-08-17 18:34:41 +0000zim0369(~zim0369@114.143.131.219) (Quit: Client closed)
2022-08-17 18:36:11 +0000zim0369(~zim0369@114.143.131.219)
2022-08-17 18:45:21 +0000cfricke(~cfricke@user/cfricke)
2022-08-17 19:12:39 +0000zim0369(~zim0369@114.143.131.219) (Quit: Client closed)
2022-08-17 19:14:47 +0000zim0369(~zim0369@114.143.131.219)
2022-08-17 19:29:21 +0000zim0369(~zim0369@114.143.131.219) (Quit: Client closed)
2022-08-17 19:55:49 +0000chomwitt(~chomwitt@2a02:587:dc16:4100:1289:3f0b:2a03:948d)
2022-08-17 20:47:40 +0000logzet(~quassel@2001:9e8:e505:d000:dabb:c1ff:fed3:a1b9) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
2022-08-17 21:06:33 +0000Maeda(~Maeda@91-161-10-149.subs.proxad.net) (Quit: leaving)
2022-08-17 21:43:18 +0000jabuxas(~jabuxas@2804:14d:ba4c:831e:2ed4:c29b:22c4:6309)
2022-08-17 21:45:25 +0000jabuxas(~jabuxas@2804:14d:ba4c:831e:2ed4:c29b:22c4:6309) (Client Quit)
2022-08-17 21:45:51 +0000jabuxas(~jabuxas@2804:14d:ba4c:831e:2ed4:c29b:22c4:6309)
2022-08-17 21:48:47 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 255 seconds)
2022-08-17 21:54:11 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds)
2022-08-17 21:55:11 +0000jao(jao@gateway/vpn/protonvpn/jao)
2022-08-17 22:14:06 +0000 <geekosaur> I have a silly question. Why does `mkAbsolutePath` use `liftIO` when we get the alias `io` from `import XMonad`?
2022-08-17 22:50:11 +0000jao(jao@gateway/vpn/protonvpn/jao) (Ping timeout: 248 seconds)
2022-08-17 22:57:03 +0000jao(jao@gateway/vpn/protonvpn/jao)
2022-08-17 23:05:35 +0000 <geekosaur> well. not difficult but the pretty pointfree nature of doAppend went away when I had to integrate an impure mkAbsolutePath into the middle of it
2022-08-17 23:05:54 +0000scotabroad[m](~scotabroa@2001:470:69fc:105::2:3c91)
2022-08-17 23:06:25 +0000jao(jao@gateway/vpn/protonvpn/jao) (Ping timeout: 256 seconds)
2022-08-17 23:08:49 +0000 <scotabroad[m]> I'm on NixOS and have tried both trayer and stalonetray. Both seem to have the same problem where icons don't update properly and overlap (like my ibus monitor will just layer the new icons on top of the old ones, so when I switch keyboards everything becomes ugly). Any ideas what's going wrong?
2022-08-17 23:14:35 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-08-17 23:20:03 +0000banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 248 seconds)
2022-08-17 23:31:46 +0000 <xmonadtrack> New xmonad-contrib branch created: pull/744 (2 commits) https://github.com/xmonad/xmonad-contrib/pull/744
2022-08-17 23:31:46 +0000 <xmonadtrack> xmonad-contrib Brandon S Allbery KF8NH https://github.com/xmonad/xmonad-contrib/pull/744 * v0.17.0-215-g70f831fd: make `mkAbsolutePath` handle environment variables (21 minutes ago, 1 file, 17+ 9-) https://github.com/xmonad/xmonad-contrib/commit/70f831fdbaa4
2022-08-17 23:31:46 +0000 <xmonadtrack> xmonad-contrib Brandon S Allbery KF8NH https://github.com/xmonad/xmonad-contrib/pull/744 * v0.17.0-216-g59ef924f: make `doAppend` use `mkAbsolutePath` (21 minutes ago, 1 file, 2+ 1-) https://github.com/xmonad/xmonad-contrib/commit/59ef924f7855
2022-08-17 23:48:54 +0000mvk(~mvk@2607:fea8:5ce3:8500::a1ec)