Logs: liberachat/#xmonad
| 2022-12-06 14:57:13 | × | jludwig quits (~justin@li657-110.members.linode.com) (Changing host) |
| 2022-12-06 14:57:13 | → | jludwig joins (~justin@user/jludwig) |
| 2022-12-06 15:07:16 | → | lokesh1197 joins (~Thunderbi@14.139.128.52) |
| 2022-12-06 15:20:53 | × | thyriaen quits (~thyriaen@2a01:aea0:dd4:4bae:6245:cbff:fe9f:48b1) (Remote host closed the connection) |
| 2022-12-06 15:48:42 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-12-06 16:11:25 | × | joshproehl quits (~quassel@user/joshproehl) (Quit: Disappearing act!) |
| 2022-12-06 16:11:41 | → | joshproehl joins (~quassel@user/joshproehl) |
| 2022-12-06 16:17:10 | → | twiclo1 joins (~twiclo@vpn.utahbroadband.com) |
| 2022-12-06 16:17:46 | <twiclo1> | If I open a new terminal while I have a terminal selected I want that new terminal to start out in the same directory |
| 2022-12-06 16:17:52 | <twiclo1> | How do |
| 2022-12-06 16:23:45 | × | joshproehl quits (~quassel@user/joshproehl) (Quit: Disappearing act!) |
| 2022-12-06 16:23:59 | → | joshproehl joins (~quassel@user/joshproehl) |
| 2022-12-06 16:49:21 | × | joshproehl quits (~quassel@user/joshproehl) (Quit: Disappearing act!) |
| 2022-12-06 16:50:17 | → | joshproehl joins (~quassel@user/joshproehl) |
| 2022-12-06 16:50:48 | × | joshproehl quits (~quassel@user/joshproehl) (Client Quit) |
| 2022-12-06 17:05:44 | × | lokesh1197 quits (~Thunderbi@14.139.128.52) (Ping timeout: 256 seconds) |
| 2022-12-06 17:10:43 | → | joshproehl joins (~quassel@user/joshproehl) |
| 2022-12-06 17:13:29 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2022-12-06 17:26:15 | <liskin> | twiclo1: xcwd |
| 2022-12-06 17:28:17 | <geekosaur> | some terminals have the ability for an appropriately configured shell to put its cwd where it can be accessed for this (I used to use this on MacOS). I don't know off the top of my head how one accesses it |
| 2022-12-06 17:28:41 | <geekosaur> | and it requires you to use a prompt function that exports the cwd to the terminal emulator |
| 2022-12-06 17:35:26 | <geekosaur> | https://github.com/geekosaur/dotty/blob/master/.bashrc#L1219 |
| 2022-12-06 18:06:56 | × | terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Ping timeout: 256 seconds) |
| 2022-12-06 18:09:45 | → | terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1) |
| 2022-12-06 18:25:25 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2022-12-06 21:22:55 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::efb) |
| 2022-12-06 21:22:56 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::efb) (Client Quit) |
| 2022-12-06 21:26:45 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 260 seconds) |
| 2022-12-06 22:06:48 | → | noex joins (~null@user/noex) |
| 2022-12-06 22:25:31 | × | twiclo1 quits (~twiclo@vpn.utahbroadband.com) (Ping timeout: 265 seconds) |
| 2022-12-06 22:27:22 | → | twiclo1 joins (~twiclo@mail.twil.cx) |
| 2022-12-06 22:28:20 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-12-06 23:49:33 | × | aliosablack quits (~chomwitt@2a02:587:7a0c:6a00:1ac0:4dff:fedb:a3f1) (Ping timeout: 260 seconds) |
| 2022-12-07 00:06:07 | → | lokesh1197 joins (~Thunderbi@14.139.128.52) |
| 2022-12-07 01:34:18 | → | nexilva[m] joins (~nexilvama@2001:470:69fc:105::2:cf52) |
| 2022-12-07 01:34:27 | <nexilva[m]> | Hello |
| 2022-12-07 01:34:54 | <nexilva[m]> | I have 4-5 google chrome windows open, each with arbitrary # of tabs. |
| 2022-12-07 01:35:09 | <nexilva[m]> | I want to send each chrome window to a specific workspace |
| 2022-12-07 01:35:24 | <nexilva[m]> | I cannot figure out a way to differentiate them using xprop |
| 2022-12-07 01:35:39 | <geekosaur> | browsers make this annoyingly difficult |
| 2022-12-07 01:35:57 | <nexilva[m]> | WM_NAME(UTF8_STRING) = "Family Guy Season 20 Episode 10 Full Episode - Family Guy 2022 NoCuts 1080p - YouTube - Google Chrome" |
| 2022-12-07 01:35:57 | <nexilva[m]> | _NET_WM_NAME(UTF8_STRING) = "Family Guy Season 20 Episode 10 Full Episode - Family Guy 2022 NoCuts 1080p - YouTube - Google Chrome" |
| 2022-12-07 01:36:11 | <nexilva[m]> | Other than this identifying bit (tabs), I can't find an identifier. |
| 2022-12-07 01:36:35 | <nexilva[m]> | Is there a possible way to manually hack xprop and give each window a unique identifier? |
| 2022-12-07 01:36:40 | <geekosaur> | not only can't you distinguish them, but the properties you see after they've settled are not the ones the manageHook sees; you have to use DynamicProperty |
| 2022-12-07 01:37:08 | <geekosaur> | I don't understand "manually hack xprop" |
| 2022-12-07 01:37:40 | <nexilva[m]> | Nevermind that |
| 2022-12-07 01:37:47 | <geekosaur> | you can certainly manually set properties on a window, but that's just a more annoying way to manually shift them to the workspaces you want |
| 2022-12-07 01:38:01 | <nexilva[m]> | So this DynamicProperty, how might I detect for those consistently |
| 2022-12-07 01:38:46 | <geekosaur> | hypothetically a browser plugin could set properties for you, but you'd still need DynamicProperty to detect them as JS doesn't run until the window is mapped which is too late for the manageHook |
| 2022-12-07 01:39:29 | <nexilva[m]> | https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Hooks-DynamicProperty.html |
| 2022-12-07 01:39:56 | <nexilva[m]> | Ok, I got that part. |
| 2022-12-07 01:42:13 | <nexilva[m]> | How would a browser plugin do this? open a new tab on each window and set the window title, which I can then detect with dynamic property |
| 2022-12-07 01:42:17 | <nexilva[m]> | Something like that? |
| 2022-12-07 01:42:54 | <geekosaur> | or possibly set an X11 property, if it has access (but I doubt it does) |
| 2022-12-07 01:43:17 | <geekosaur> | tampermonkey or similar should be able to do something xmonad could catch |
| 2022-12-07 01:44:14 | <nexilva[m]> | I looked at that a few ways to set xprop custom vars but that's when launching the program or something but we're launching chrome once and getting 4 windows. |
| 2022-12-07 01:44:55 | <nexilva[m]> | Or, if I can make sure that only TAB #1 on every window is default selected, then that's consistent and I can detect that. |
| 2022-12-07 01:52:07 | <nexilva[m]> | https://www.reddit.com/r/xmonad/comments/6mf6zb/comment/dk2ywl8/ |
| 2022-12-07 01:59:58 | → | sagax joins (~sagax_nb@user/sagax) |
| 2022-12-07 02:09:56 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds) |
| 2022-12-07 02:10:45 | × | bla quits (~bla@83.24.151.50.ipv4.supernova.orange.pl) (Ping timeout: 265 seconds) |
| 2022-12-07 02:11:21 | → | blaa joins (~bla@79.191.245.208.ipv4.supernova.orange.pl) |
| 2022-12-07 02:24:44 | → | HCB[m] joins (~hash@2001:470:69fc:105::1:19e2) |
| 2022-12-07 02:31:01 | × | HCB[m] quits (~hash@2001:470:69fc:105::1:19e2) (Quit: issued !quit command) |
| 2022-12-07 02:36:27 | ← | nexilva[m] parts (~nexilvama@2001:470:69fc:105::2:cf52) () |
| 2022-12-07 02:39:47 | × | lokesh1197 quits (~Thunderbi@14.139.128.52) (Ping timeout: 264 seconds) |
| 2022-12-07 02:40:43 | → | nexilva[m] joins (~nexilvama@2001:470:69fc:105::2:cf52) |
| 2022-12-07 03:03:32 | × | banc quits (banc@gateway/vpn/protonvpn/banc) (Ping timeout: 255 seconds) |
| 2022-12-07 03:24:19 | → | banc joins (banc@gateway/vpn/protonvpn/banc) |
| 2022-12-07 03:37:11 | → | lokesh1197 joins (~Thunderbi@14.139.128.10) |
| 2022-12-07 03:45:20 | × | td_ quits (~td@83.135.9.33) (Ping timeout: 260 seconds) |
| 2022-12-07 03:46:42 | → | td_ joins (~td@83.135.9.15) |
| 2022-12-07 04:37:09 | <AskYourself[m]> | I'm getting some strange behaviour. I switched my terminal from Alacritty to Wezterm. Now when I'm in a workspace, if I open Wezterm from rofi, it opens to the project dir, but if I open it with my terminal opening keybind, it opens to ~/. Any idea why that would be? |
| 2022-12-07 04:39:54 | <_Ity[m]> | AskYourself[m]: What behavior do you desire? |
| 2022-12-07 04:40:27 | <AskYourself[m]> | I want terminal to open to the project dir, if opened within the project dir via terminal keybind. |
| 2022-12-07 04:40:50 | <_Ity[m]> | Not sure I understand |
| 2022-12-07 04:41:02 | <_Ity[m]> | Opened within the project dir? |
| 2022-12-07 04:41:07 | <AskYourself[m]> | Yes. |
| 2022-12-07 04:41:13 | AskYourself[m] | sent a code block: https://libera.ems.host/_matrix/media/v3/download/libera.chat/2fb25a15f9bcab66f4bf9ac80c060835e0644eab |
| 2022-12-07 04:41:46 | <AskYourself[m]> | So there's a project. And the behaviour I should get (and which I was getting with Alacritty) is that if I spawn a terminal within the workspace, this terminal will be opened to the project dir. |
| 2022-12-07 04:41:55 | <AskYourself[m]> | But now it's not doing that unless I open it from rofi.. |
| 2022-12-07 04:41:59 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2022-12-07 04:42:11 | <_Ity[m]> | Ah, sorry, I am still new to xmonad, I can only help with generic Linux or ricing stuff |
| 2022-12-07 04:44:04 | <_Ity[m]> | With that said, a good idea would be to investigate what made alacritty spawn right |
| 2022-12-07 04:44:29 | <AskYourself[m]> | Ok now this is the really weird part. |
| 2022-12-07 04:44:29 | <_Ity[m]> | Oh |
| 2022-12-07 04:44:30 | <AskYourself[m]> | Now alacritty isn't doing it either. |
| 2022-12-07 04:44:30 | <AskYourself[m]> | Lol. |
| 2022-12-07 04:44:34 | <AskYourself[m]> | 🤦♂️ |
| 2022-12-07 04:44:37 | <AskYourself[m]> | Yeah, it's very weird. |
| 2022-12-07 04:44:37 | <_Ity[m]> | Those bugs are the worst |
| 2022-12-07 04:45:06 | <AskYourself[m]> | Yeah I really don't know what's going on. |
| 2022-12-07 04:45:54 | <_Ity[m]> | If you could describe what projects are, I might be able to help despite not knowing much Xmonad beyond the basics |
| 2022-12-07 04:46:20 | <_Ity[m]> | Just with generic advice |
| 2022-12-07 04:46:31 | <AskYourself[m]> | It's from Dynamic.Projects. |
| 2022-12-07 04:47:15 | <AskYourself[m]> | You can see my projects here in my dotfiles: |
| 2022-12-07 04:47:16 | <AskYourself[m]> | https://gitlab.com/IsaacBrown92/dotfiles/-/blob/main/modules/xmonad/xmonad.hs#L106 |
| 2022-12-07 04:47:29 | <_Ity[m]> | I know very little about Xmonad, what do projects do? |
| 2022-12-07 04:47:36 | <AskYourself[m]> | Basically it's a record composed of a project name, directory, and spawn command. |
All times are in UTC.