Logs on 2023-06-01 (liberachat/#xmonad)
| 00:13:37 | → | blue-velvet[m] joins (~kobalinus@2001:470:69fc:105::f8eb) |
| 00:13:37 | → | jish[m] joins (~jbggsmatr@2001:470:69fc:105::2:995f) |
| 00:13:37 | → | mc47[m] joins (~mc47matri@2001:470:69fc:105::733) |
| 01:11:18 | × | horzion quits (~horzion@ProtonDB/horzion) (Quit: Off praying to the Omnissiah) |
| 01:36:10 | → | nasrudin__ joins (~nasrudin_@2600:381:a92c:bfec:3d54:17f:e28c:6712) |
| 01:43:10 | → | Guest52 joins (~Guest52@2600:387:15:131b::1) |
| 01:43:22 | × | nasrudin__ quits (~nasrudin_@2600:381:a92c:bfec:3d54:17f:e28c:6712) (Quit: Leaving) |
| 01:44:28 | <Guest52> | got a question about XMonad.Layout.SubLayouts |
| 01:45:13 | <Guest52> | basically I want to write a function to send all windows in the sublayout group with the currently focused window to another workspace |
| 01:45:14 | → | unclechu joins (~unclechu@2001:470:69fc:105::354) |
| 01:45:53 | <Guest52> | https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Layout-SubLayouts.html#v:onGroup |
| 01:45:57 | <Guest52> | kinda looks right |
| 01:46:13 | <Guest52> | except all the functions I can think of using to do this are impure |
| 01:46:43 | <Guest52> | the other direction I can think of would be to use SubMessage |
| 01:47:38 | <Guest52> | but I don't really understand what https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Config-Prime.html#t:SomeMessage is or what you can do with it |
| 01:48:47 | <Guest52> | Anyone have a suggestion for an example config (or docs or forum threads) explaining what you can do with Messages? |
| 01:55:34 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 02:46:54 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 02:47:05 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 02:57:29 | × | td_ quits (~td@i53870935.versanet.de) (Ping timeout: 250 seconds) |
| 02:59:31 | → | td_ joins (~td@i5387091E.versanet.de) |
| 03:45:59 | → | haasn` joins (~nand@haasn.dev) |
| 03:50:10 | × | Guest52 quits (~Guest52@2600:387:15:131b::1) (Quit: Client closed) |
| 04:13:14 | × | [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection) |
| 04:21:21 | → | [Leary] joins (~Leary]@user/Leary/x-0910699) |
| 05:23:16 | → | chomwitt joins (~chomwitt@2a02:587:7a16:6700:1ac0:4dff:fedb:a3f1) |
| 05:24:59 | → | Guest52 joins (~Guest52@ip72-197-77-4.sd.sd.cox.net) |
| 05:35:51 | → | Maeda joins (~Maeda@91-161-10-149.subs.proxad.net) |
| 06:00:02 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 265 seconds) |
| 06:01:49 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 06:11:29 | → | mncheck joins (~mncheck@193.224.205.254) |
| 06:26:47 | × | Guest52 quits (~Guest52@ip72-197-77-4.sd.sd.cox.net) (Quit: Client closed) |
| 06:47:25 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 06:47:41 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 07:36:05 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 07:40:45 | × | Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: leaving) |
| 07:42:12 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 08:12:48 | → | cfricke joins (~cfricke@user/cfricke) |
| 08:51:31 | × | m5zs7k quits (aquares@web10.mydevil.net) (Ping timeout: 240 seconds) |
| 08:52:11 | → | m5zs7k joins (aquares@web10.mydevil.net) |
| 09:20:09 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 09:38:30 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 09:43:01 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 09:46:18 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 09:49:37 | × | chomwitt quits (~chomwitt@2a02:587:7a16:6700:1ac0:4dff:fedb:a3f1) (Ping timeout: 265 seconds) |
| 09:54:07 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 09:57:22 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 10:00:01 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 10:09:11 | × | ft quits (~ft@p4fc2a88b.dip0.t-ipconnect.de) (Quit: leaving) |
| 10:19:20 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 10:23:25 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 10:23:48 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 10:23:48 | × | _qw quits (~eqw@31.134.178.99) (Ping timeout: 240 seconds) |
| 10:26:07 | → | _qw joins (~eqw@31.134.178.99) |
| 10:41:07 | × | _qw quits (~eqw@31.134.178.99) (Ping timeout: 240 seconds) |
| 10:41:59 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 10:44:07 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 11:00:45 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 11:02:52 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 11:13:39 | → | _qw joins (~eqw@31.134.178.99) |
| 11:51:54 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 11:51:57 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 12:02:30 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 12:08:25 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 12:10:24 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 12:16:02 | × | redgloboli quits (~redglobol@user/redgloboli) (Quit: ...enter the matrix...) |
| 12:16:30 | → | redgloboli joins (~redglobol@user/redgloboli) |
| 12:16:37 | × | redgloboli quits (~redglobol@user/redgloboli) (Remote host closed the connection) |
| 12:17:45 | → | redgloboli joins (~redglobol@user/redgloboli) |
| 12:31:40 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 13:08:40 | → | chomwitt joins (~chomwitt@ppp-94-67-203-168.home.otenet.gr) |
| 13:59:31 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 13:59:41 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 14:10:20 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 14:13:52 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 14:50:58 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.8) |
| 14:52:20 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 14:52:31 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 14:59:04 | × | thunderrd quits (~thunderrd@183.182.110.206) (Remote host closed the connection) |
| 15:26:58 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 15:41:03 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 15:41:05 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 15:50:21 | → | deepy joins (deepy@user/deepy) |
| 15:54:17 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 15:56:09 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 16:02:08 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 16:13:28 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 16:15:55 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 16:18:38 | → | hightower3 joins (~hightower@cm-2185.cable.globalnet.hr) |
| 16:21:07 | × | hightower2 quits (~hightower@213.149.61.64) (Ping timeout: 240 seconds) |
| 16:29:14 | × | scardinal quits (~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Quit: leaving) |
| 16:29:15 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 16:48:01 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 16:53:09 | → | scardinal joins (~supreme@customer-212-237-101-39.ip4.gigabit.dk) |
| 17:01:07 | × | scardinal quits (~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Ping timeout: 240 seconds) |
| 17:03:17 | → | scardinal joins (~supreme@87.61.100.169) |
| 17:25:40 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 17:32:49 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 17:34:44 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 17:53:19 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 17:58:07 | → | vanvik joins (~vanvik@78.156.11.181) |
| 17:59:29 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 18:04:35 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 18:05:15 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 18:07:44 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 18:26:39 | <dminuoso> | Mmm. So Im using xmonad from nixos. Ive been pondering a bit about the environment. |
| 18:27:13 | <dminuoso> | My question is: How do I control PATH for the purpose of calling some external program via `spawn` |
| 19:48:28 | → | ft joins (~ft@p4fc2a88b.dip0.t-ipconnect.de) |
| 20:01:06 | <[Leary]> | dminuoso: I think the NixOS way would be to either nixify the program and include it in an active profile, or invoke the binary with its full path. But if you do want to mess with PATH directly, one of .bash_profile, .zprofile, etc probably works. Otherwise, you can use `getEnv` and `setEnv` before `xmonad` in your config `main`. If you want to isolate the change to `spawn`, you can write your own variant like `mySpawn c = spawn ("PATH=\"/path/to/my/b |
| 20:01:06 | <[Leary]> | ins:$PATH\"; " ++ c)`. |
| 20:04:53 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 20:24:29 | <geekosaur> | isn't home-manager supposed to deal with this for you? |
| 20:24:44 | geekosaur | doesn't know that much about nixos |
| 20:25:37 | <geekosaur> | personally I dropped it into the standard X session, but (a) single-user hack (b) for debian/ubuntu only |
| 20:27:30 | × | chomwitt quits (~chomwitt@ppp-94-67-203-168.home.otenet.gr) (Remote host closed the connection) |
| 20:39:25 | → | Guest52 joins (~Guest52@2001:579:e224:17:b293:446e:deac:2f99) |
| 20:41:36 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 20:44:24 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 20:45:22 | <Guest52> | @ dminuoso - to add to the options [Leary] mentioned |
| 20:46:26 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 20:47:19 | <Guest52> | if you aren't using home manager, would prefer to change the system-wide path, or just want something that will work for the time being |
| 20:47:38 | <Guest52> | you could put in your configuration.nix something like |
| 20:48:03 | <Guest52> | ``` |
| 20:48:03 | <Guest52> | environment.shellInit = '' |
| 20:48:04 | <Guest52> | export PATH=$PATH:/home/dminuoso/your/path/here |
| 20:48:04 | <Guest52> | ''; |
| 20:48:05 | <Guest52> | ``` |
| 20:49:22 | <Guest52> | depending on how you have xmonad installed and configured, this may also be the path of least resistance |
| 21:26:42 | × | yaslam0 quits (~yaslam0@user/yaslam) (Quit: -a- Connection Timed Out) |
| 21:26:54 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 21:57:29 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 22:04:37 | × | jeeeun quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat) |
| 22:06:54 | → | jeeeun joins (~jeeeun@78.40.148.178) |
| 22:40:50 | × | Guest52 quits (~Guest52@2001:579:e224:17:b293:446e:deac:2f99) (Quit: Client closed) |
| 22:55:40 | → | yaslam0 joins (~yaslam0@user/yaslam) |
| 22:56:51 | × | yaslam0 quits (~yaslam0@user/yaslam) (Read error: Connection reset by peer) |
| 23:05:01 | × | mncheck quits (~mncheck@193.224.205.254) (Ping timeout: 256 seconds) |
| 23:10:10 | → | enick_838 joins (~niggerius@2001:470:69fc:105::3:660c) |
| 23:14:18 | × | haskl quits (~haskl@user/haskl) (Ping timeout: 250 seconds) |
| 23:14:24 | → | haskl[error] joins (~haskl@user/haskl) |
| 23:14:44 | × | jsoo quits (~znc@irc.refl.club) (Ping timeout: 250 seconds) |
| 23:14:58 | → | jsoo_ joins (~znc@irc.refl.club) |
All times are in UTC on 2023-06-01.