2021/10/16

2021-10-16 00:23:43 +0000ectospasm(~ectospasm@user/ectospasm) (Quit: WeeChat 3.3)
2021-10-16 00:36:57 +0000ectospasm(~ectospasm@user/ectospasm)
2021-10-16 00:37:29 +0000ectospasm(~ectospasm@user/ectospasm) (Client Quit)
2021-10-16 00:39:57 +0000ectospasm(~ectospasm@user/ectospasm)
2021-10-16 02:03:30 +0000banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 265 seconds)
2021-10-16 02:08:08 +0000pl(sid98063@id-98063.helmsley.irccloud.com) (Ping timeout: 246 seconds)
2021-10-16 02:09:28 +0000pl(sid98063@helmsley.irccloud.com)
2021-10-16 02:21:23 +0000rundown(~eb0t@90.197.81.245) (Ping timeout: 264 seconds)
2021-10-16 02:23:00 +0000rundown(~eb0t@90.194.34.18)
2021-10-16 02:24:22 +0000banc(banc@gateway/vpn/airvpn/banc)
2021-10-16 02:45:09 +0000eyenx(~m-5paiux@eyenx.ch) (Remote host closed the connection)
2021-10-16 02:45:26 +0000eyenx(~m-5paiux@eyenx.ch)
2021-10-16 02:47:49 +0000td_(~td@muedsl-82-207-238-175.citykom.de) (Ping timeout: 252 seconds)
2021-10-16 03:21:32 +0000rundown(~eb0t@90.194.34.18) (Ping timeout: 268 seconds)
2021-10-16 03:23:17 +0000rundown(~eb0t@90.194.37.187)
2021-10-16 03:32:48 +0000HashOpenSores
2021-10-16 05:26:22 +0000abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-10-16 05:43:39 +0000OpenSoresHash
2021-10-16 06:00:01 +0000rundown(~eb0t@90.194.37.187) (Ping timeout: 268 seconds)
2021-10-16 07:39:13 +0000wonko(~wjc@62.115.229.50)
2021-10-16 07:46:21 +0000cfricke(~cfricke@user/cfricke)
2021-10-16 08:04:34 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 252 seconds)
2021-10-16 08:36:57 +0000Solidwonders if it's worth defining "proper" versions of <&&> and <||> at this point
2021-10-16 08:37:16 +0000 <liskin> proper as in short-circuiting?
2021-10-16 08:37:26 +0000 <Solid> I've seen them used more and more lately (maybe that's just my impression) and I really don't like that they're strict on both arguments
2021-10-16 08:37:28 +0000 <Solid> yes
2021-10-16 08:37:59 +0000 <Solid> s/ on / in /
2021-10-16 08:38:08 +0000 <liskin> it'd be a breaking change but I'd say it might be worth it
2021-10-16 08:43:35 +0000wonko(~wjc@62.115.229.50) (Ping timeout: 264 seconds)
2021-10-16 09:12:17 +0000ranmacar(~ranmacar@2001:16b8:5c51:6500:2a39:26ff:fe02:85bb)
2021-10-16 09:13:07 +0000 <ranmacar> Hello! What could be the problem if mod+q doesn't work?
2021-10-16 09:14:20 +0000 <Solid> does `xmonad --recompile' in a terminal work?
2021-10-16 09:15:18 +0000 <ranmacar> yes, but doesn't apply the changes
2021-10-16 09:16:14 +0000 <ranmacar> just prints "XMonad will use ghc to recompile, because "/home/ranmacar/.xmonad/build" does not exist.
2021-10-16 09:16:15 +0000 <ranmacar> XMonad recompilation process exited with success!"
2021-10-16 09:18:56 +0000 <Solid> `xmonad --recompile && xmonad --restart' will apply the changes
2021-10-16 09:19:03 +0000 <Solid> (M-q does not actually do much more than that)
2021-10-16 09:19:16 +0000 <Solid> do you have xmessage installed? it should print an error in case anything goes wrong
2021-10-16 09:21:13 +0000 <ranmacar> i have, and it does show an error when there is a typo in the config on --recompile
2021-10-16 09:21:30 +0000 <ranmacar> but mod+q doesn't do anything
2021-10-16 09:22:18 +0000 <ranmacar> with --restart it worked, thanks
2021-10-16 09:23:22 +0000 <ranmacar> any idea what would break the mod+q?
2021-10-16 09:23:28 +0000 <ranmacar> my config is just
2021-10-16 09:23:30 +0000 <ranmacar> import XMonad
2021-10-16 09:23:30 +0000 <ranmacar> main = xmonad defaultConfig
2021-10-16 09:23:31 +0000 <ranmacar> { modMask = mod4Mask -- Use Super instead of Alt
2021-10-16 09:23:31 +0000 <ranmacar> , terminal = "alacritty"
2021-10-16 09:23:32 +0000 <ranmacar> }
2021-10-16 09:23:40 +0000 <Solid> are you pressing the right mod key?
2021-10-16 09:23:59 +0000 <Solid> are you on an exotic system like nixos where there could be path problems with finding both xmonad and xmessage?
2021-10-16 09:24:32 +0000 <ranmacar> i am on arch, installed xmonad with ghcup / cabal
2021-10-16 09:26:14 +0000 <ranmacar> where does mod+q source the path from?
2021-10-16 09:28:12 +0000 <ranmacar> i am starting it with a .desktop in xsessions, with just exec xmonad
2021-10-16 09:30:50 +0000 <ranmacar> s+mod+q, and other default bindings do work
2021-10-16 09:31:00 +0000 <Solid> it just looks in $PATH
2021-10-16 09:31:13 +0000 <Solid> What M-q essentially does is `/bin/sh -c "if type xmonad; then xmonad --recompile && xmonad --restart; else xmessage xmonad not in $PATH: \"$PATH\"; fi"'
2021-10-16 09:32:50 +0000rundown(~eb0t@90.212.144.152)
2021-10-16 09:33:17 +0000 <ranmacar> maybe /bin/sh doesnt see the path for xmonad and xmessage then?
2021-10-16 09:33:39 +0000 <Solid> one one way to find out :)
2021-10-16 09:34:22 +0000seschwar(~seschwar@user/seschwar)
2021-10-16 09:34:44 +0000 <ranmacar> i'm a bit lost in paths and shells atm, think this install defaults to fish :)
2021-10-16 09:35:21 +0000 <Solid> I doubt /bin/sh is actually bound to fish
2021-10-16 09:35:41 +0000 <Solid> but you can probably just copy that line above and see if it runs on your system
2021-10-16 09:37:28 +0000 <ranmacar> yeah, works. if i run bin/sh it sees xmonad, but maybe mod+q gets the path before it gets set?
2021-10-16 09:39:31 +0000mc47(~mc47@xmonad/TheMC47)
2021-10-16 09:39:59 +0000rundown(~eb0t@90.212.144.152) (Ping timeout: 264 seconds)
2021-10-16 09:40:40 +0000 <Solid> Oo
2021-10-16 09:40:57 +0000 <Solid> well I'm out of ideas :) is there anything in ~/.xsession-erros (or an equivalent file)?
2021-10-16 09:41:07 +0000rundown(~eb0t@90.210.94.119)
2021-10-16 09:42:34 +0000 <ranmacar> dont see anything like that
2021-10-16 09:42:45 +0000 <Solid> how are you starting X?
2021-10-16 09:43:49 +0000 <ranmacar> not sure, the session starts from /xsessions
2021-10-16 09:45:51 +0000 <tomsmeding> where are you putting the path to where xmonad lives in your PATH? Perhaps in your shell config?
2021-10-16 09:46:12 +0000 <Solid> I mean something along the line of are you using a login manager/startx/something else?
2021-10-16 09:46:24 +0000 <FOSSHuman[m]> How would I combine two spawn functions??
2021-10-16 09:46:52 +0000 <ranmacar> yeah, login manager, with xmonad.desktop that starts with exec=xmonad
2021-10-16 09:48:52 +0000 <ranmacar> tomsmeding i've tried various places to set the path, /etc/profile /xinitrc fish config
2021-10-16 09:48:57 +0000 <Solid> FOSSHuman[m]: spawn "..." >> spawn "..."
2021-10-16 09:49:13 +0000 <ranmacar> where would be best to set it?
2021-10-16 09:49:21 +0000 <tomsmeding> ranmacar: fish config probably doesn't work because the login manager only gets the global profile; I would've expected /etc/profile to work (after a reboot)
2021-10-16 09:49:31 +0000 <Solid> indeed
2021-10-16 09:49:45 +0000 <FOSSHuman[m]> Solid: Nice! Thanks..
2021-10-16 09:53:08 +0000 <ranmacar> didnt seem to work in /etc/profile. any tips where it could?
2021-10-16 09:54:43 +0000 <ranmacar> or would setting the binding mod+q to --recompile && --restart manually work? :)
2021-10-16 09:54:49 +0000 <tomsmeding> get xmonad to print the shell environment somehow (i.e. the output of `env`)
2021-10-16 09:55:10 +0000 <tomsmeding> ranmacar: yes, but you probably have to add an absolute path to xmonad
2021-10-16 09:56:08 +0000 <ranmacar> i have it in ~/.cabal/bin/xmonad
2021-10-16 09:57:50 +0000 <ranmacar> how can i print the env?
2021-10-16 09:58:24 +0000 <tomsmeding> execute the 'env' executable somehow and make sure you get the output; perhaps run 'env >/home/ranmacar/envstuff.txt' in a binding
2021-10-16 09:58:28 +0000tomsmedingdoesn't actually know xmonad
2021-10-16 10:00:04 +0000 <ranmacar> it probably is a more general linux issue :)
2021-10-16 10:00:59 +0000rundown(~eb0t@90.210.94.119) (Ping timeout: 264 seconds)
2021-10-16 10:01:19 +0000 <tomsmeding> feels like it, but I wouldn't know how to make xmonad run something :p
2021-10-16 10:02:05 +0000 <Solid> you can just do `spawn "env"' as a keybinding (this will print to stdout, so make sure you know where that goes :))
2021-10-16 10:02:23 +0000rundown(~eb0t@90.196.142.168)
2021-10-16 10:14:32 +0000 <ranmacar> where does it go? :)
2021-10-16 10:16:37 +0000 <mc47> depends
2021-10-16 10:16:41 +0000 <Solid> that entirely depends on your login manager, so I can't help you there, sorry
2021-10-16 10:17:05 +0000 <Solid> (I start X with `exec launchx >& ~/.xsession.log' and so goes to ~/.xsession.log for me, though ~/.xsession-errors is somewhat more common for a lot of distros)
2021-10-16 10:17:40 +0000 <mc47> for me, it goes to ~/.local/share/sddm/xorg-session.log
2021-10-16 10:17:55 +0000 <FOSSHuman[m]> <Solid> "you can just do `spawn "env"' as..." <- Maybe `spawn "env >> example.txt"`??
2021-10-16 10:18:59 +0000 <Solid> oh right, POSIX shell is an actual language :)
2021-10-16 10:19:15 +0000 <Solid> probably need to make that an absolute path though
2021-10-16 10:21:12 +0000 <liskin> ranmacar: xargs -0 -n1 </proc/$(pidof xmonad-x86_64-linux)/environ | grep ^PATH
2021-10-16 10:21:24 +0000 <liskin> prints the env of the running xmonad instance
2021-10-16 10:22:10 +0000 <ranmacar> import XMonad
2021-10-16 10:22:10 +0000 <ranmacar> import XMonad.Util.EZConfig
2021-10-16 10:22:11 +0000 <ranmacar> main :: IO ()
2021-10-16 10:22:11 +0000 <ranmacar> main = xmonad $ def
2021-10-16 10:22:12 +0000 <ranmacar> { modMask = mod4Mask -- Rebind Mod to the Super key
2021-10-16 10:22:12 +0000 <ranmacar> , terminal = "alacritty"
2021-10-16 10:22:13 +0000 <ranmacar> }
2021-10-16 10:22:13 +0000 <ranmacar> `additionalKeysP`
2021-10-16 10:22:14 +0000 <ranmacar> [ ("M-a", spawn "env >> /home/ranmacar/xmonad.env")]
2021-10-16 10:22:54 +0000 <ranmacar> this worked, and printed the env, but the path seems to be ok
2021-10-16 10:23:06 +0000 <ranmacar> PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:~/.cabal/bin:~/.local/bin:/home/ranmacar/.cabal/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
2021-10-16 10:26:50 +0000 <liskin> what display manager do you use?
2021-10-16 10:27:14 +0000 <liskin> we need to see logs. if you have gdm, it'll probably be in the systemd journal, if not, then maybe .xsession-errors or something
2021-10-16 10:27:18 +0000 <liskin> but it has to be somewhere
2021-10-16 10:27:35 +0000 <liskin> ls -la /proc/$(pidof xmonad-x86_64-linux)/fd
2021-10-16 10:27:41 +0000 <liskin> that will tell us where
2021-10-16 10:28:21 +0000 <liskin> ls -la /proc/$(pidof xmonad-x86_64-linux)/fd/{1,2}
2021-10-16 10:31:50 +0000 <ranmacar> sddm :)
2021-10-16 10:31:53 +0000 <ranmacar> xmonad: ghc: runProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
2021-10-16 10:32:43 +0000 <liskin> where's your ghc binary?
2021-10-16 10:33:28 +0000 <ranmacar> in ghcup, not in path :)
2021-10-16 10:33:32 +0000 <tomsmeding> yay
2021-10-16 10:33:39 +0000 <liskin> but why
2021-10-16 10:33:57 +0000 <liskin> how do you build xmonad then?
2021-10-16 10:34:14 +0000 <tomsmeding> liskin: people add stuff to their path in their shell profiles
2021-10-16 10:34:30 +0000 <tomsmeding> login managers don't care about that and only read /etc/profile
2021-10-16 10:34:34 +0000 <ranmacar> i installed ghcup from the website, then xmonad with cabal
2021-10-16 10:34:58 +0000 <liskin> ranmacar: you just said there's no ghc on your path
2021-10-16 10:35:05 +0000 <liskin> does ghcup only put cabal on path?
2021-10-16 10:35:11 +0000 <liskin> that seems rather hard to believe tbh
2021-10-16 10:35:37 +0000 <tomsmeding> liskin: ghcup definitely puts ghc in your path, but it does that by modifying your shell rc file
2021-10-16 10:35:45 +0000 <tomsmeding> login managers don't care about shell rc files :p
2021-10-16 10:36:18 +0000 <ranmacar> it gets added somewhere, but the env printed from xmonad doesnt have it
2021-10-16 10:36:27 +0000 <liskin> okay let me try to put it another way
2021-10-16 10:36:30 +0000 <liskin> $ which ghc
2021-10-16 10:36:34 +0000 <liskin> what does this give?
2021-10-16 10:36:43 +0000 <Solid> ghcup seems to create ~/.ghcup/bin and put executables there
2021-10-16 10:36:52 +0000 <tomsmeding> liskin: in their normal shell, that will give a ghc
2021-10-16 10:37:07 +0000 <tomsmeding> because their .bashrc or their .config/fish/config.fish or whatever adds that
2021-10-16 10:37:12 +0000 <Solid> and I can't see that in the above $PATH
2021-10-16 10:37:28 +0000 <liskin> tomsmeding: I don't want to be rude, man, but what I want is specific stuff, not some vague "something does something"
2021-10-16 10:37:40 +0000 <liskin> I want to see their specific ghc location
2021-10-16 10:37:47 +0000 <liskin> I want to see their specific $PATH in a shell
2021-10-16 10:37:57 +0000 <liskin> and I want to see their specific $PATH in the xmonad process
2021-10-16 10:38:06 +0000 <liskin> specific shit.
2021-10-16 10:38:12 +0000 <liskin> only then can we do something about the problem.
2021-10-16 10:38:46 +0000 <ranmacar> ~/.ghcup/bin
2021-10-16 10:38:54 +0000 <tomsmeding> you're right I was being the rude person here, kind of, because you clearly know your shit. It's just that I think I already know what the problem is (which ghc gives ~/.ghcup/bin/ghc which is in .bashrc but not in /etc/profile etc., but I shouldn't presume and that's exactly what I was doing!)
2021-10-16 10:38:58 +0000 <liskin> (and, I believe, only by actually seeing specific shit can one get some understanding)
2021-10-16 10:39:22 +0000 <liskin> 12:23 <ranmacar> PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:~/.cabal/bin:~/.local/bin:/home/ranmacar/.cabal/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
2021-10-16 10:39:28 +0000 <liskin> ranmacar: ^^ see, no ~/.ghcup/bin in there
2021-10-16 10:40:04 +0000 <ranmacar> yeah, i noticed :)
2021-10-16 10:40:23 +0000 <ranmacar> thanks, adding that to /etc/profile
2021-10-16 10:42:27 +0000ranmacar(~ranmacar@2001:16b8:5c51:6500:2a39:26ff:fe02:85bb) (Quit: Client closed)
2021-10-16 10:43:02 +0000 <Solid> why would login managers not read shell rc files
2021-10-16 10:43:18 +0000 <Solid> that seems insane
2021-10-16 10:43:46 +0000 <liskin> some of them read .xsessionrc (it's probably more complicated than that, some may read that, some may invoke Xsession which sources that)
2021-10-16 10:44:26 +0000ranmacar(~ranmacar@88.130.159.133)
2021-10-16 10:44:43 +0000 <tomsmeding> Solid: how would a login manager like gdm know how to read my fish config file?
2021-10-16 10:45:21 +0000 <liskin> but .bashrc really is meant for interactive shell (actually just bash, as tomsmeding correctly says) sessions only, so dms don't read that
2021-10-16 10:46:26 +0000 <liskin> I just tried googling for how to set env vars with sddm and didn't really get an answer
2021-10-16 10:46:37 +0000 <liskin> how the hell are less experienced people supposed to do that :-/
2021-10-16 10:48:13 +0000 <liskin> (oh and there's also ~/.pam_environment which should just work for all sessions, but I bet that thing doesn't expand tildes and $vars)
2021-10-16 10:49:24 +0000 <liskin> and for added fun, every distro does it differently, so arch seems to have ~/.xprofile instead of ~/.xsessionrc: https://wiki.archlinux.org/title/xprofile
2021-10-16 10:49:26 +0000 <liskin> :-D
2021-10-16 10:49:33 +0000 <ranmacar> etc/profile didnt help :(
2021-10-16 10:49:54 +0000 <ranmacar> maybe xprofile :D
2021-10-16 10:50:01 +0000 <liskin> yeah, try xprofile and xsessionrc
2021-10-16 10:50:12 +0000 <ranmacar> yay linuxes :)
2021-10-16 10:50:28 +0000 <liskin> maybe add XXX=xprofile and XXX=xsessionrc respectively so that you can then check which one actually worked :-)
2021-10-16 10:51:35 +0000 <ranmacar> should .xprofile be there already?
2021-10-16 10:52:31 +0000 <liskin> probably not
2021-10-16 10:52:39 +0000 <liskin> but it would be nice wouldn't it? :-)
2021-10-16 10:53:10 +0000 <liskin> instead of randomly googling shit, distros could actually put these files in /etc/skel so a new user just looks around for a bit and knows where goes what
2021-10-16 10:54:00 +0000 <ranmacar> along with the particular brand of outdated syntax they chose to expect there :D
2021-10-16 10:59:53 +0000ranmacar(~ranmacar@88.130.159.133) (Quit: Client closed)
2021-10-16 11:00:27 +0000ranmacar(~ranmacar@2001:16b8:5c51:6500:2a39:26ff:fe02:85bb)
2021-10-16 11:11:37 +0000benin(~benin@183.82.25.86)
2021-10-16 11:18:20 +0000cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.3)
2021-10-16 11:53:33 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2021-10-16 12:18:23 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 264 seconds)
2021-10-16 12:27:42 +0000ranmacar(~ranmacar@2001:16b8:5c51:6500:2a39:26ff:fe02:85bb) (Quit: Client closed)
2021-10-16 12:30:56 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2021-10-16 12:32:18 +0000mestre(~mestre@191.177.175.57)
2021-10-16 12:40:16 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
2021-10-16 12:44:57 +0000mestre(~mestre@191.177.175.57) (Quit: leaving)
2021-10-16 12:45:28 +0000cyr4x3(~cyr4x3@139.47.115.87)
2021-10-16 12:47:15 +0000eqw(~eqw@31.134.178.99)
2021-10-16 12:58:58 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-10-16 13:00:56 +0000geekosaur(~geekosaur@xmonad/geekosaur)
2021-10-16 15:46:18 +0000cyr4x3(~cyr4x3@139.47.115.87) (Quit: WeeChat 2.3)
2021-10-16 16:29:35 +0000wonko(~wjc@62.115.229.50)
2021-10-16 16:29:58 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-10-16 16:31:48 +0000geekosaur(~geekosaur@xmonad/geekosaur)
2021-10-16 16:54:42 +0000alternateved(~user@194.177.28.164)
2021-10-16 17:14:24 +0000mestre(~mestre@191.177.175.57)
2021-10-16 17:38:47 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-10-16 18:14:16 +0000benin(~benin@183.82.25.86) (Ping timeout: 245 seconds)
2021-10-16 18:48:55 +0000AndrewYu(~andrew@user/andrewyu) (Remote host closed the connection)
2021-10-16 18:49:39 +0000AndrewYu(~andrew@user/andrewyu)
2021-10-16 18:50:07 +0000humky(~humky@user/humky) (Quit: Leaving)
2021-10-16 19:12:34 +0000 <alternateved> Hello! It may be a silly question, but what are different kinds of comments in Haskell?
2021-10-16 19:12:57 +0000 <alternateved> I know about block comments and single line comments
2021-10-16 19:13:24 +0000 <geekosaur> those are it
2021-10-16 19:13:26 +0000 <alternateved> But what is the difference in meaning of comments between simple `--` and `-- |`
2021-10-16 19:13:40 +0000 <geekosaur> oh. that's a comment with haddock markup in it
2021-10-16 19:13:56 +0000 <geekosaur> you can read the haddock manual to see the kinds of markup it supports
2021-10-16 19:14:23 +0000 <alternateved> Oh, I should do so. Thank you for pointing me in correct direction
2021-10-16 19:14:53 +0000 <geekosaur> (sorry, I rarely use haddock in my own stuff so I never remember what all the kinds of markup mean)
2021-10-16 19:15:31 +0000 <alternateved> It's okay. I can easily check now what is the meaning of those
2021-10-16 21:36:30 +0000Guest68(~Guest68@103.151.184.198)
2021-10-16 21:36:49 +0000Guest68(~Guest68@103.151.184.198) (Client Quit)
2021-10-16 21:38:28 +0000mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2021-10-16 22:14:21 +0000wonko(~wjc@62.115.229.50) (Ping timeout: 268 seconds)
2021-10-16 22:33:04 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2021-10-16 22:33:13 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Client Quit)
2021-10-16 22:44:30 +0000alternateved(~user@194.177.28.164) (Ping timeout: 260 seconds)
2021-10-16 22:50:54 +0000seschwar(~seschwar@user/seschwar) (Quit: :wq)
2021-10-16 23:24:30 +0000rekahsoft(~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com)
2021-10-16 23:44:12 +0000 <davve> hey, this is my layout hook https://paste.ofcode.org/wNDqTY4q8S3EsrCgVJcZS3 it works as i want except for that i dont want to avoid struts for Full, how would someone haskell savvy do it differently?
2021-10-16 23:44:33 +0000 <davve> s/differently//
2021-10-16 23:46:42 +0000 <davve> s/savvy/knowledgable/
2021-10-16 23:47:19 +0000 <geekosaur> thi is slightly weird since you have spacing in there twice
2021-10-16 23:47:33 +0000 <davve> oh
2021-10-16 23:47:41 +0000 <davve> i didnt realize that :)
2021-10-16 23:47:46 +0000 <geekosaur> but that actually shows you how to do it, since you use tiled on both the cases you also want avoidStruts on
2021-10-16 23:48:16 +0000 <geekosaur> then noBorders Full becomes (noBorders . avoidStrutsOn []) Full
2021-10-16 23:48:52 +0000 <geekosaur> and you also want smartBorders in the definition of tiled rather than outside, since you want the noBorders instead on the Full
2021-10-16 23:49:56 +0000 <davve> thank you, just taking a few minutes to digest
2021-10-16 23:57:47 +0000 <davve> think i misspoke. i actually want to Not avoid struts
2021-10-16 23:58:48 +0000 <davve> -_-
2021-10-16 23:59:55 +0000 <davve> which is what makes it more difficult, since i have (what i thought was nicely defined!) general definition of the layout
2021-10-16 23:59:59 +0000 <geekosaur> that's why it's avoidStrutsOnb []