2024/04/25

Newest at the top

2024-04-25 11:58:09 +0200ChubaDuba(~ChubaDuba@5.166.233.254)
2024-04-25 11:57:24 +0200ChubaDuba(~ChubaDuba@5.166.233.254) (Client Quit)
2024-04-25 11:55:36 +0200 <[Leary]> "(`f` x)" is a funny way to spell "flip f x", use whatever you think is prettier.
2024-04-25 11:54:30 +0200 <[Leary]> I know it's not needed, if you /want/ to tie xmonad reconfiguration to system reconfiguration, which is questionable. When you're making quick changes and testing the resulting behaviour, it will really slow down your feedback loop. In any case, the issue is the absense of the unconfigured xmonad binary on PATH, which provides some auxilliary functionality.
2024-04-25 11:53:37 +0200ChubaDuba(~ChubaDuba@5.166.233.254)
2024-04-25 11:53:16 +0200ChubaDuba(~ChubaDuba@5.166.233.254) (Quit: WeeChat 4.2.1)
2024-04-25 11:52:39 +0200 <acidbong> it this syntax still fresh? (the commit i'm seeing this in is from 2021)
2024-04-25 11:51:50 +0200 <acidbong> I've also seen this example: (`launch` dirs) . docks . ewmh $ config
2024-04-25 11:48:16 +0200 <acidbong> welp, with NixOS recompile is not needed (compilation is done by nix), and they suggest `restart "xmonad" True` over `spawn "xmonad --restart"` (and I don't need --version flag tbh)
2024-04-25 11:45:20 +0200 <[Leary]> Also, I use NixOS and contest the recommendation to use `launch` as an entrypoint. IIRC, the NixOS module will replace the standar xmonad binary in PATH with your configured version, which will be unable to process helpful command line arguments such as `--version`, `--recompile` or `--restart`. This is not really how xmonad is supposed to be used.
2024-04-25 11:44:09 +0200 <[Leary]> It's provided by the Prelude, so it will be in scope.
2024-04-25 11:43:51 +0200 <acidbong> i mean, not a part of an external package (dunno the exact haskell slang)
2024-04-25 11:43:33 +0200ChubaDuba(~ChubaDuba@5.166.233.254)
2024-04-25 11:43:11 +0200ChubaDuba(~ChubaDuba@5.166.233.254) (Client Quit)
2024-04-25 11:42:47 +0200ChubaDuba(~ChubaDuba@5.166.233.254)
2024-04-25 11:42:22 +0200 <[Leary]> (nope)
2024-04-25 11:42:14 +0200 <lambdabot> flip f x y = f y x
2024-04-25 11:42:14 +0200 <[Leary]> @src flip
2024-04-25 11:42:10 +0200ChubaDuba(~ChubaDuba@5.166.233.254) (Quit: WeeChat 4.2.1)
2024-04-25 11:42:05 +0200 <acidbong> is flip a builtin function?
2024-04-25 11:39:24 +0200 <[Leary]> acidbong: The correct /syntax/ is to enclose the config argument in brackets: `launch (def { ... } `additionalKeysP` [ ... ]) dirs`, but this tends to ugliness. Using a separate binding is a fine solution. One other approach is: `flip launch dirs def {...} ...`
2024-04-25 11:34:56 +0200 <acidbong> I'm trying to configure xmonad on NixOS, and their docs recommend `launch` as an entry function instead of `xmonad`. This is what my config looks like at the moment (https://termbin.com/g6jh) (i'm writing it from scratch), so a bit of a syntax question: if I don't define `myConfig` separately, how do I append `dirs` to the original `launch $ def {...}`?
2024-04-25 11:34:56 +0200 <acidbong> hi there, hello
2024-04-25 11:21:38 +0200acidbong(6e5528b381@198.108.77.243)
2024-04-25 11:15:02 +0200srk(~sorki@user/srk) (Quit: ZNC 1.8.1 - https://znc.in)
2024-04-25 11:14:56 +0200mekeor(~user@2001:4ca0:0:f238:861d:9aef:5de5:a573) (Ping timeout: 260 seconds)
2024-04-25 10:49:53 +0200mekeor(~user@2001:4ca0:0:f238:861d:9aef:5de5:a573)
2024-04-25 10:48:08 +0200[Leary](~Leary]@user/Leary/x-0910699)
2024-04-25 10:10:37 +0200ChubaDuba(~ChubaDuba@5.166.233.254)
2024-04-25 10:09:37 +0200yaslam(~yaslam@user/yaslam) (Quit: ZNC 1.8.2+deb3.1 - https://znc.in)
2024-04-25 10:08:47 +0200ChubaDuba(~ChubaDuba@5.166.233.254) (Quit: WeeChat 4.2.1)
2024-04-25 10:02:48 +0200defjam(~defjam@2a02:c7e:2807:b900:5019:fef0:ccd9:aba0)
2024-04-25 10:02:05 +0200ChubaDuba(~ChubaDuba@5.166.233.254)
2024-04-25 10:01:28 +0200ChubaDuba(~ChubaDuba@5.166.233.254) (Client Quit)
2024-04-25 10:01:12 +0200ChubaDuba(~ChubaDuba@5.166.233.254)
2024-04-25 10:00:38 +0200ChubaDuba(~ChubaDuba@5.166.233.254) (Client Quit)
2024-04-25 10:00:22 +0200ChubaDuba(~ChubaDuba@5.166.233.254)
2024-04-25 09:59:49 +0200ChubaDuba(~ChubaDuba@5.166.233.254) (Client Quit)
2024-04-25 09:59:41 +0200ChubaDuba(~ChubaDuba@5.166.233.254)
2024-04-25 09:59:07 +0200defjam(~defjam@2a02:c7e:2807:b900:5019:fef0:ccd9:aba0) (Ping timeout: 260 seconds)
2024-04-25 09:59:07 +0200ChubaDuba(~ChubaDuba@5.166.233.254) (Client Quit)
2024-04-25 09:58:31 +0200ChubaDuba(~ChubaDuba@5.166.233.254)
2024-04-25 09:58:00 +0200ChubaDuba(~ChubaDuba@5.166.233.254) (Quit: WeeChat 4.2.1)
2024-04-25 09:53:17 +0200defjam(~defjam@2a02:c7e:2807:b900:5019:fef0:ccd9:aba0)
2024-04-25 09:42:08 +0200defjam(~defjam@2a02:c7e:2807:b900:5019:fef0:ccd9:aba0) (Ping timeout: 256 seconds)
2024-04-25 09:36:09 +0200defjam(~defjam@2a02:c7e:2807:b900:5019:fef0:ccd9:aba0)
2024-04-25 09:33:44 +0200 <yaslam> hi
2024-04-25 09:33:36 +0200yaslam(~yaslam@user/yaslam)
2024-04-25 09:24:51 +0200L29Ah(~L29Ah@wikipedia/L29Ah)
2024-04-25 09:24:05 +0200defjam(~defjam@2a02:c7e:2807:b900:5019:fef0:ccd9:aba0) (Ping timeout: 245 seconds)