Logs: liberachat/#xmonad
| 2022-08-17 02:22:52 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2022-08-17 02:24:49 | × | td_ quits (~td@muedsl-82-207-238-061.citykom.de) (Ping timeout: 252 seconds) |
| 2022-08-17 02:26:44 | → | td_ joins (~td@94.134.91.250) |
| 2022-08-17 02:50:45 | → | ectospasm joins (~ectospasm@user/ectospasm) |
| 2022-08-17 03:01:17 | → | vreahli joins (~user@2601:647:5700:1380::de62) |
| 2022-08-17 03:09:56 | × | vreahli quits (~user@2601:647:5700:1380::de62) (Remote host closed the connection) |
| 2022-08-17 03:47:26 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 255 seconds) |
| 2022-08-17 04:08:58 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds) |
| 2022-08-17 04:41:19 | × | noex quits (~null@user/noex) (Quit: :q!) |
| 2022-08-17 04:54:24 | → | qbt joins (~qbt@user/edun) |
| 2022-08-17 05:16:51 | × | steve_ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 248 seconds) |
| 2022-08-17 05:21:16 | <isaacthekind[m]> | is there a way to set a certain application to always open on primary display? |
| 2022-08-17 05:21:33 | <isaacthekind[m]> | and to always go fullscreen on said display |
| 2022-08-17 05:21:40 | <isaacthekind[m]> | (a game in this case) |
| 2022-08-17 05:27:12 | <Solid> | that's what the managehook is for |
| 2022-08-17 05:27:25 | <Solid> | if you can somehow match the window |
| 2022-08-17 05:45:38 | → | chomwitt joins (~chomwitt@2a02:587:dc06:ee00:4e2b:7ca9:316d:45c) |
| 2022-08-17 05:50:33 | × | chomwitt quits (~chomwitt@2a02:587:dc06:ee00:4e2b:7ca9:316d:45c) (Ping timeout: 256 seconds) |
| 2022-08-17 05:54:08 | <isaacthekind[m]> | hmm ok lemme explore that thx |
| 2022-08-17 06:33:01 | → | alternateved joins (~user@staticline-31-183-146-203.toya.net.pl) |
| 2022-08-17 06:43:29 | × | alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Read error: Connection reset by peer) |
| 2022-08-17 06:43:50 | → | alternateved joins (~user@staticline-31-183-146-203.toya.net.pl) |
| 2022-08-17 07:04:12 | → | cfricke joins (~cfricke@user/cfricke) |
| 2022-08-17 07:22:55 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 256 seconds) |
| 2022-08-17 07:34:39 | → | cfricke joins (~cfricke@user/cfricke) |
| 2022-08-17 07:46:14 | → | steve_ joins (~steve@ool-182c2b80.dyn.optonline.net) |
| 2022-08-17 08:14:31 | → | benin0 joins (~benin@183.82.30.34) |
| 2022-08-17 08:18:38 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec) |
| 2022-08-17 09:00:49 | × | liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle) |
| 2022-08-17 10:12:09 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds) |
| 2022-08-17 12:11:18 | <Solid> | uff, munic is expensive :/ |
| 2022-08-17 12:11:32 | → | liskin[m] joins (~liskinmat@2001:470:69fc:105::768) |
| 2022-08-17 12:15:34 | <Solid> | s/ic/ich/ |
| 2022-08-17 12:19:33 | × | catman quits (~catman@user/catman) (Ping timeout: 252 seconds) |
| 2022-08-17 12:21:42 | → | catman joins (~catman@user/catman) |
| 2022-08-17 12:26:17 | → | chomwitt joins (~chomwitt@2a02:587:dc16:4100:bf02:bf7d:726d:6c5b) |
| 2022-08-17 12:28:59 | → | benin04 joins (~benin@183.82.31.103) |
| 2022-08-17 12:30:36 | × | benin0 quits (~benin@183.82.30.34) (Ping timeout: 256 seconds) |
| 2022-08-17 12:30:37 | benin04 | is now known as benin0 |
| 2022-08-17 12:30:56 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 268 seconds) |
| 2022-08-17 12:31:20 | → | cfricke joins (~cfricke@user/cfricke) |
| 2022-08-17 12:34:50 | × | chomwitt quits (~chomwitt@2a02:587:dc16:4100:bf02:bf7d:726d:6c5b) (Ping timeout: 255 seconds) |
| 2022-08-17 12:50:31 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.6) |
| 2022-08-17 12:53:26 | → | catman joins (~catman@user/catman) |
| 2022-08-17 13:52:40 | <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 | <vrs> | you'll have to set up a managehook |
| 2022-08-17 13:55:43 | <vrs> | I tend to use hookNext from https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Hooks-ToggleHook.html#v:hookNext |
| 2022-08-17 13:56:17 | <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 | <vrs> | yeah but the unreliable way works 99% of the time |
| 2022-08-17 13:57:17 | <vrs> | if you're not spawning many windows at once that is |
| 2022-08-17 15:09:10 | × | alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection) |
| 2022-08-17 16:43:06 | × | benin0 quits (~benin@183.82.31.103) (Quit: The Lounge - https://thelounge.chat) |
| 2022-08-17 16:46:36 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-08-17 17:02:54 | → | zim0369 joins (~zim0369@114.143.131.219) |
| 2022-08-17 17:04:24 | → | logzet joins (~quassel@2001:9e8:e505:d000:dabb:c1ff:fed3:a1b9) |
| 2022-08-17 17:04:49 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 252 seconds) |
| 2022-08-17 17:08:59 | → | Maeda joins (~Maeda@91-161-10-149.subs.proxad.net) |
| 2022-08-17 17:11:32 | × | Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Client Quit) |
| 2022-08-17 17:11:37 | × | jeeeun4 quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat) |
| 2022-08-17 17:12:48 | → | jeeeun4 joins (~jeeeun@78.40.148.178) |
| 2022-08-17 17:18:31 | → | Maeda joins (~Maeda@91-161-10-149.subs.proxad.net) |
| 2022-08-17 17:20:26 | <Maeda> | Hello there, is it possible to use relative paths (like "~/") with appendFilePrompt to specify the notes file? |
| 2022-08-17 17:22:19 | <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 | <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 | <Maeda> | I think I saw some other supporting this (I might be wrong of course). |
| 2022-08-17 17:26:02 | <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 | <geekosaur> | probably put it in doAppend |
| 2022-08-17 17:26:19 | <davean> | I think ~ is a cshellism |
| 2022-08-17 17:26:25 | <geekosaur> | but we don't expand envars either, we just call appendFile directly |
| 2022-08-17 17:26:39 | <davean> | Oh I'm just saying it isn't clear what ~ does |
| 2022-08-17 17:26:56 | <geekosaur> | and yes, ~ is a cshellism that made its way into bash and zsh |
| 2022-08-17 17:27:13 | <geekosaur> | along with its cousin ~username |
| 2022-08-17 17:27:16 | <Maeda> | $HOME might be OK too, I just want to avoid the full path |
| 2022-08-17 17:27:32 | <davean> | Right, so the only way to expand ~ correctly is "ask the shell" |
| 2022-08-17 17:27:38 | <davean> | we DO know how $HOME works |
| 2022-08-17 17:27:58 | <davean> | zsh has a lot of stuff around ~ |
| 2022-08-17 17:28:05 | <Maeda> | Out of the box $HOME will not work with appendFile, am I right? |
| 2022-08-17 17:28:18 | <geekosaur> | correct because we don't handle envars either |
| 2022-08-17 17:29:10 | × | jeeeun4 quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat) |
| 2022-08-17 17:29:35 | geekosaur | looks at mkAbsolutePath and immediately dislikes it |
| 2022-08-17 17:31:38 | <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 | → | jeeeun4 joins (~jeeeun@78.40.148.178) |
| 2022-08-17 17:33:01 | <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 | <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 | <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 | <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 | <Maeda> | OK so to use the relative pathname without $HOME (or ~/), do you have some example (just NOTES?) |
| 2022-08-17 17:39:45 | <geekosaur> | just NOTES |
| 2022-08-17 17:40:19 | Maeda | is trying that NOTES :p |
| 2022-08-17 17:42:00 | <Maeda> | Works like a charm! Thank you :) |
| 2022-08-17 17:43:03 | <Solid> | probably not that difficult to ake mkAbsolutePath expand env vars |
| 2022-08-17 17:44:30 | <geekosaur> | right, I just put it on my bucket list |
| 2022-08-17 17:44:51 | <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 | <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 | <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 | <geekosaur> | windows can be wherever but the wm itself should be in ~ |
| 2022-08-17 17:56:24 | <Solid> | oh, yeah, the comment is wrong |
| 2022-08-17 17:57:44 | × | qbt quits (~qbt@user/edun) (Quit: WeeChat 3.5) |
| 2022-08-17 18:03:22 | <Solid> | geekosaur: is there some standard as to which characters env var names can include? |
| 2022-08-17 18:05:24 | <geekosaur> | https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html |
All times are in UTC.