2020/12/22

2020-12-22 00:22:48 +0100typetetris(sid275937@gateway/web/irccloud.com/x-msdsoshziggpwxpy) (Ping timeout: 260 seconds)
2020-12-22 00:22:50 +0100srhb(sid400352@NixOS/user/srhb) (Ping timeout: 264 seconds)
2020-12-22 00:23:23 +0100jmct(sid160793@gateway/web/irccloud.com/x-twiiawxsjpxjzpsa) (Ping timeout: 260 seconds)
2020-12-22 00:24:49 +0100ddellacosta(dd@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 264 seconds)
2020-12-22 00:39:04 +0100notis(~notis@185.51.134.229) (Ping timeout: 258 seconds)
2020-12-22 00:51:59 +0100al3x27(~plovs@85.254.75.83) (Ping timeout: 260 seconds)
2020-12-22 00:58:45 +0100xaltsc(~xaltsc@unaffiliated/xaltsc) (Read error: Connection reset by peer)
2020-12-22 00:58:52 +0100xaltsc_(~xaltsc@unaffiliated/xaltsc)
2020-12-22 01:04:43 +0100seschwar(~seschwar@unaffiliated/seschwar) (Quit: :wq)
2020-12-22 01:11:27 +0100 <annihilannic> I've seen mention and screenshots of a 'default' status bar for xmonad using dzen2, but I don't seem to have one. What's the quickest way to enable this? Is it Xmobar, or is that an enhanced one?
2020-12-22 01:46:25 +0100wonko7(~wonko7@lns-bzn-55-82-255-183-4.adsl.proxad.net) (Ping timeout: 264 seconds)
2020-12-22 02:06:30 +0100sgibber2018(~arch-gibb@208.85.237.137)
2020-12-22 02:11:04 +0100sgibber2018(~arch-gibb@208.85.237.137) (Quit: WeeChat 3.0)
2020-12-22 03:52:07 +0100growpotk-(~growpotki@130-45-30-154.dyn.grandenetworks.net)
2020-12-22 04:01:16 +0100xaltsc_(~xaltsc@unaffiliated/xaltsc) (Ping timeout: 240 seconds)
2020-12-22 04:07:43 +0100nova(~novasenco@gateway/tor-sasl/novasenco)
2020-12-22 04:14:21 +0100theDon(~td@muedsl-82-207-238-191.citykom.de) (Read error: Connection reset by peer)
2020-12-22 04:16:18 +0100theDon(~td@muedsl-82-207-238-252.citykom.de)
2020-12-22 04:20:12 +0100davemq(~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net) (Quit: ZNC 1.8.2 - https://znc.in)
2020-12-22 04:21:20 +0100davemq(~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net)
2020-12-22 04:27:24 +0100nova(~novasenco@gateway/tor-sasl/novasenco) (Quit: nova)
2020-12-22 04:33:16 +0100growpotk-(~growpotki@130-45-30-154.dyn.grandenetworks.net) (Ping timeout: 240 seconds)
2020-12-22 06:21:49 +0100ADG1089__(~aditya@122.163.166.13)
2020-12-22 06:41:44 +0100materiyolo(~materiyol@112.204.171.225)
2020-12-22 06:42:55 +0100al3x27(~plovs@85.254.75.83)
2020-12-22 07:04:12 +0100materiyolo(~materiyol@112.204.171.225) (Ping timeout: 268 seconds)
2020-12-22 07:12:21 +0100growpotkin(~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in)
2020-12-22 07:12:49 +0100ADG1089__(~aditya@122.163.166.13) (Remote host closed the connection)
2020-12-22 07:37:09 +0100palo1(~weechat@c-base/crew/palo)
2020-12-22 07:40:34 +0100palo(~weechat@c-base/crew/palo) (Ping timeout: 272 seconds)
2020-12-22 07:40:34 +0100palo1palo
2020-12-22 07:57:26 +0100berberman(~berberman@unaffiliated/berberman)
2020-12-22 07:58:23 +0100berberman_(~berberman@unaffiliated/berberman) (Ping timeout: 260 seconds)
2020-12-22 08:16:24 +0100cfricke(~cfricke@unaffiliated/cfricke)
2020-12-22 08:20:33 +0100cfricke(~cfricke@unaffiliated/cfricke) (Client Quit)
2020-12-22 08:22:50 +0100cfricke(~cfricke@unaffiliated/cfricke)
2020-12-22 08:27:12 +0100 <dminuoso> annihilannic: What do you mean by "default" exactly?
2020-12-22 08:34:28 +0100ADG1089__(~aditya@122.163.166.13)
2020-12-22 08:53:26 +0100RaderH2O(02b03581@2.176.53.129)
2020-12-22 08:53:44 +0100 <RaderH2O> Hello!
2020-12-22 08:54:05 +0100 <RaderH2O> Guys would this :import XMonadimport Data.Defaultmain = xmonad def { modMask = mod4Mask -- Use Super instead of Alt , terminal = "alacritty" -- more changes }Work for XMonad?
2020-12-22 08:54:18 +0100 <RaderH2O> Oh you can't paste code?
2020-12-22 08:56:19 +0100 <annihilannic> dminuoso: never mind, I seem to have xmobar working to some degree via cabal install, so I'm happy for the moment ;-)
2020-12-22 08:57:01 +0100 <dminuoso> RaderH2O: Sure you can, but most irc clients dont behave nicely when pasting large inputs. Also its considered bad style for the noice it creates
2020-12-22 08:57:11 +0100 <dminuoso> RaderH2O: Use —
2020-12-22 08:57:13 +0100 <dminuoso> https://paste.tomsmeding.com/
2020-12-22 08:57:28 +0100 <annihilannic> RaderH2O: Have you tried it? Not working for you?
2020-12-22 08:57:34 +0100 <RaderH2O> Oh I see, I did it in hastebin , my question is , would this configuration work for XMonad ? https://hastebin.com/tebuvuqive.swift
2020-12-22 08:57:45 +0100 <RaderH2O> I tried some configurations
2020-12-22 08:58:10 +0100 <RaderH2O> But I had black screen and I couldn't even do basic keybindings , tho I'm aware that by default the xmonad's bg is black
2020-12-22 08:58:54 +0100 <RaderH2O> I just didn't want to go through the pain of the black screen again
2020-12-22 08:58:55 +0100 <dminuoso> RaderH2O: xmonad does not manage background information at all
2020-12-22 08:58:57 +0100 <annihilannic> RaderH20: that is all you get, super-shift-enter to open a terminal, super-p to run applications via dzen prompt
2020-12-22 08:59:11 +0100 <RaderH2O> Ah , so that config works rn?
2020-12-22 08:59:20 +0100 <RaderH2O> Should work*
2020-12-22 08:59:26 +0100 <dminuoso> Id import def from XMonad.Config rather, but sure
2020-12-22 08:59:36 +0100 <RaderH2O> Ah okay , mb XD
2020-12-22 08:59:56 +0100 <annihilannic> RaderH2O: I'm using 'xsetbg' from the 'xview' package to set a background
2020-12-22 09:00:03 +0100 <dminuoso> Or in fact, it's re-exported from XMonad.
2020-12-22 09:00:08 +0100 <RaderH2O> I can use Nitrogen , or Feh for bg
2020-12-22 09:00:15 +0100 <dminuoso> Sure, that works.
2020-12-22 09:00:30 +0100 <RaderH2O> So uhh .. import def from XMonad.Config?
2020-12-22 09:00:40 +0100 <annihilannic> RaderH2O: Indeed, although setting a background is almost useless for a tiling wm, except for that first time it loads or you switch to a blank workspace... unless you use transparency
2020-12-22 09:01:03 +0100 <RaderH2O> Yeah , I use picom , and it would be good having a bg
2020-12-22 09:01:38 +0100 <dminuoso> RaderH2O: `import XMonad.Config` would suffice
2020-12-22 09:01:52 +0100 <dminuoso> Or `import XMonad.Config (Default(def))` if you wanted to be explicit about the import
2020-12-22 09:02:06 +0100 <RaderH2O> Oh okay , thanks lemme try it
2020-12-22 09:02:37 +0100 <RaderH2O> k imma log out and login to XMonad
2020-12-22 09:02:49 +0100 <RaderH2O> Should I recompile tho?
2020-12-22 09:02:59 +0100 <RaderH2O> `xmonad --recompile` I meant
2020-12-22 09:04:27 +0100RaderH2O(02b03581@2.176.53.129) (Remote host closed the connection)
2020-12-22 09:10:32 +0100RaderH2O(02b03581@2.176.53.129)
2020-12-22 09:10:39 +0100 <RaderH2O> Okay , still black screen
2020-12-22 09:11:16 +0100 <RaderH2O> idk why , doing `xmonad --recompile` wouldn't give any errors at all , and the `~/.xmonad/xmonad.errors` is blank too
2020-12-22 09:11:54 +0100 <RaderH2O> I have to kill the session with `loginctl` every time , so I get back to my normal session
2020-12-22 09:12:09 +0100 <RaderH2O> If XMonad is not gonna work , idk if I'm gonna stick with i3 or no
2020-12-22 09:14:08 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0)
2020-12-22 09:16:44 +0100RaderH2O(02b03581@2.176.53.129) (Remote host closed the connection)
2020-12-22 09:42:36 +0100cfricke(~cfricke@unaffiliated/cfricke)
2020-12-22 09:44:02 +0100xaltsc_(~xaltsc@unaffiliated/xaltsc)
2020-12-22 10:08:56 +0100wonko7(~wonko7@2a01:e35:2ffb:7040:4535:f480:7dff:b3b5)
2020-12-22 10:23:09 +0100thc202(~thc202@unaffiliated/thc202)
2020-12-22 10:25:37 +0100notis(~notis@45.134.22.12)
2020-12-22 10:43:16 +0100ADG1089__(~aditya@122.163.166.13) (Remote host closed the connection)
2020-12-22 10:43:42 +0100ADG1089__(~aditya@122.163.166.13)
2020-12-22 11:28:24 +0100jmct(sid160793@gateway/web/irccloud.com/x-coqphnvwmjrwutaz)
2020-12-22 11:30:59 +0100srhb(sid400352@NixOS/user/srhb)
2020-12-22 11:34:20 +0100typetetris(sid275937@gateway/web/irccloud.com/x-wukxokdildxlsinc)
2020-12-22 11:44:36 +0100ADG1089__(~aditya@122.163.166.13) (Quit: Konversation terminated!)
2020-12-22 12:05:56 +0100byorgey(~byorgey@155.138.238.211) (Ping timeout: 240 seconds)
2020-12-22 12:06:18 +0100byorgey(~byorgey@155.138.238.211)
2020-12-22 13:38:44 +0100rabliatu(~quassel@23.83.129.166) (Read error: Connection reset by peer)
2020-12-22 13:39:20 +0100rabliatu(~quassel@23.83.129.166)
2020-12-22 13:44:01 +0100geekosaur(ac3a5304@172.58.83.4)
2020-12-22 14:10:10 +0100ADG1089__(~aditya@122.163.166.13)
2020-12-22 14:36:00 +0100annihilannic(~anni@galaxy4.net) (Quit: leaving)
2020-12-22 14:42:36 +0100ADG1089__(~aditya@122.163.166.13) (Remote host closed the connection)
2020-12-22 14:43:01 +0100ADG1089__(~aditya@122.163.166.13)
2020-12-22 14:59:33 +0100ADG1089__(~aditya@122.163.166.13) (Remote host closed the connection)
2020-12-22 15:39:38 +0100geekosaur(ac3a5304@172.58.83.4) (Remote host closed the connection)
2020-12-22 16:04:37 +0100_ashbreeze_(~mark@184-157-32-85.dyn.centurytel.net) (Ping timeout: 260 seconds)
2020-12-22 16:05:17 +0100_ashbreeze_(~mark@64.85.214.234.reverse.socket.net)
2020-12-22 16:32:09 +0100al3x27(~plovs@85.254.75.83) (Ping timeout: 268 seconds)
2020-12-22 16:47:27 +0100mc47(~yecinem@89.246.239.190)
2020-12-22 17:17:37 +0100de-vri-es(~de-vri-es@voyager.de-vri.es) (Read error: Connection reset by peer)
2020-12-22 17:24:30 +0100al3x27(~plovs@85.254.75.83)
2020-12-22 17:26:01 +0100ddellacosta(dd@gateway/vpn/mullvad/ddellacosta)
2020-12-22 17:51:27 +0100growpotkin(~growpotki@130-45-30-154.dyn.grandenetworks.net)
2020-12-22 17:55:36 +0100growpotkin(~growpotki@130-45-30-154.dyn.grandenetworks.net) (Ping timeout: 240 seconds)
2020-12-22 17:58:22 +0100growpotkin(~growpotki@130-45-30-154.dyn.grandenetworks.net)
2020-12-22 18:00:25 +0100geekosaur(42d52137@66.213.33.55)
2020-12-22 18:01:53 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0)
2020-12-22 18:06:49 +0100samiamsam(~d@zukertort.childrenofmay.org) (Ping timeout: 264 seconds)
2020-12-22 18:07:07 +0100samiamsam(~d@zukertort.childrenofmay.org)
2020-12-22 18:09:48 +0100 <ectospasm> Uh, by default XMonad has a blank screen. You could probably do mod+shift+q to exit out of XMonad. But they left so they won't see these words of wisdom.
2020-12-22 18:21:07 +0100de-vri-es(~de-vri-es@voyager.de-vri.es)
2020-12-22 18:21:17 +0100de-vri-es(~de-vri-es@voyager.de-vri.es) (Client Quit)
2020-12-22 18:21:34 +0100de-vri-es(~de-vri-es@voyager.de-vri.es)
2020-12-22 18:44:27 +0100 <benley> you have to admit, xmonad doesn't have the friendliest new user experience, what with the default black screen and all
2020-12-22 18:52:51 +0100 <dminuoso> benley: Do you have a proposal what it should have instead?
2020-12-22 18:52:55 +0100 <ectospasm> it just means someone didn't read or understand the documentation.
2020-12-22 18:53:18 +0100 <dminuoso> I mean we could have a welcome screen on the first time it starts..
2020-12-22 18:53:24 +0100 <ectospasm> It's been so long since I first used XMonad, that I don't remember if I asked about it, too.
2020-12-22 18:53:37 +0100 <dminuoso> Is i3 any different with that regard?
2020-12-22 18:53:44 +0100 <ectospasm> I had a coworker encourage me to use it.
2020-12-22 18:54:10 +0100dminuosojust uses xmonad since he's a full time haskell developer anyway - it made sense to use a fully programmable WM inside his comfort zone
2020-12-22 18:54:31 +0100 <ectospasm> heh, I don't understand Haskell well enough
2020-12-22 18:54:50 +0100 <ectospasm> I don't use it regularly, so i have to relearn just enough to get something working.
2020-12-22 18:55:16 +0100 <ectospasm> The last time that happened, it was a lot less painful than I was expecting.
2020-12-22 18:55:35 +0100 <dminuoso> Yeah, my setup is a bit more elaborate than just setting default options.. :-)
2020-12-22 18:55:40 +0100dminuosotreats xmonad as a WM library
2020-12-22 18:55:41 +0100 <ectospasm> But granted, I wasn't trying to do anything fancy. Just set up the default gridselect
2020-12-22 18:57:49 +0100 <dminuoso> ectospasm: At times I really do wonder how non-Haskellers get by.
2020-12-22 18:58:06 +0100 <dminuoso> But it seems xmonad-contrib is plug-and-play enough without much Haskell
2020-12-22 18:59:08 +0100 <ectospasm> dimestop: here's my xmonad.hs that I've developed over the last 10-12 years: https://git.eldon.me/trey/XMonad
2020-12-22 18:59:32 +0100 <ectospasm> I've got too much blood, sweat, and tears built into it to ever go anywhere else.
2020-12-22 19:00:03 +0100 <ectospasm> Don't be too critical of that config, most of it was done trying to get certain things working.
2020-12-22 19:00:47 +0100 <dminuoso> Nothing to be critical about, if it works for you it works for you.
2020-12-22 19:00:59 +0100 <dminuoso> If you're not in my Haskell team, I have no reason to critize you for it. :)
2020-12-22 19:16:29 +0100 <ectospasm> I just like that if xmonad compiles, it won't crash. Getting it to compile is the hard part.
2020-12-22 19:40:59 +0100 <benley> dminuoso: oops sorry for starting that and then getting distracted - I think I would propose something pretty minimal, like if you start xmonad without a config it pops up a xmessage or xterm showing a "welcome to xmonad, here's a link to the documentation and the default keybindings..." message
2020-12-22 19:41:36 +0100 <benley> Even as someone who has run xmonad on and off for ~10 years, I still find myself confused by the blank screen on new installs from time to time.
2020-12-22 19:48:54 +0100evanjs(~evanjs@075-129-098-007.res.spectrum.com) (Ping timeout: 272 seconds)
2020-12-22 20:03:25 +0100geekosaur(42d52137@66.213.33.55) (Ping timeout: 245 seconds)
2020-12-22 20:03:33 +0100berberman_(~berberman@unaffiliated/berberman)
2020-12-22 20:04:01 +0100berberman(~berberman@unaffiliated/berberman) (Ping timeout: 258 seconds)
2020-12-22 20:14:47 +0100ADG1089__(~aditya@223.235.77.1)
2020-12-22 20:19:10 +0100mc47(~yecinem@89.246.239.190) (Remote host closed the connection)
2020-12-22 20:21:39 +0100geekosaur(42d52137@66.213.33.55)
2020-12-22 20:23:42 +0100 <benley> also I definitely mean this as constructive feedback, not a complaint. Xmonad's great, it was my onramp to learning Haskell in general.
2020-12-22 20:24:21 +0100_ashbreeze_(~mark@64.85.214.234.reverse.socket.net) (Remote host closed the connection)
2020-12-22 20:25:11 +0100 <geekosaur> we do already have mod-shift-slash (mod-?) which puts up a help screen. I could see us putting that up on the first time xmonad is run, perhaps
2020-12-22 20:25:52 +0100_ashbreeze_(~mark@64.85.214.234.reverse.socket.net)
2020-12-22 20:27:23 +0100 <benley> That would be quite helpful! Pretty much anything at all other than a blank screen would be better for first-time users, imho.
2020-12-22 20:45:32 +0100 <vrs> blank screen with an xmonad logo in the lower right
2020-12-22 20:53:27 +0100evanjs(~evanjs@075-129-098-007.res.spectrum.com)
2020-12-22 20:54:58 +0100ADG1089__(~aditya@223.235.77.1) (Remote host closed the connection)
2020-12-22 20:55:22 +0100ADG1089__(~aditya@223.235.77.1)
2020-12-22 20:57:23 +0100ADG1089__(~aditya@223.235.77.1) (Remote host closed the connection)
2020-12-22 20:57:45 +0100ADG1089__(~aditya@223.235.77.1)
2020-12-22 21:00:37 +0100 <benley> I've been somewhat tempted to bring something like taffybar or xmobar inside my xmonad config, even though it's probably a terrible idea for stability and sanity
2020-12-22 21:00:56 +0100ADG1089__(~aditya@223.235.77.1) (Remote host closed the connection)
2020-12-22 21:01:18 +0100ADG1089__(~aditya@223.235.77.1)
2020-12-22 21:01:37 +0100 <ectospasm> why is that a terrible idea? I use dzen2 in a few places.
2020-12-22 21:03:29 +0100 <benley> oh I mean running them inside the xmonad process
2020-12-22 21:04:09 +0100 <ectospasm> Well, they will be child processes of xmonad, the way I have it configured.
2020-12-22 21:04:52 +0100 <benley> Aye, that is sensible. I was just thinking like, xmobar and taffybar are already in haskell, what if I used one of them as a library instead of a subprocess?
2020-12-22 21:05:08 +0100 <ADG1089__> why does it say that "xmonad not found in path"? it's in both zshrc & bashrc
2020-12-22 21:05:10 +0100 <benley> But I'm not sure if there is a good reason to do it
2020-12-22 21:05:14 +0100 <geekosaur> running them inside won't work well as long as xmonad uses X11's event loop instead of its own
2020-12-22 21:05:30 +0100 <geekosaur> ADG1089__, I tried to answer that the other day but you missed it
2020-12-22 21:05:43 +0100 <geekosaur> those files only apply to shells run in terminals, not to the X11 session itself
2020-12-22 21:06:02 +0100 <geekosaur> (except on debian, which pays a small price for reading them as part of the session)
2020-12-22 21:06:02 +0100wonko7(~wonko7@2a01:e35:2ffb:7040:4535:f480:7dff:b3b5) (Ping timeout: 264 seconds)
2020-12-22 21:06:27 +0100 <geekosaur> your easiest solution is to symlink xmonad into /usr/bin
2020-12-22 21:06:45 +0100 <ADG1089__> i tried symlink but it doesn't restart with mod-q
2020-12-22 21:07:53 +0100 <geekosaur> that sounds like you made the symlink incorrectly, since /usr/bin should be in the default PATH
2020-12-22 21:08:03 +0100 <ADG1089__> it works everything fine
2020-12-22 21:08:06 +0100 <ADG1089__> with symlink
2020-12-22 21:08:24 +0100 <ADG1089__> just i have to start a terminal and run "xmonad --recompile && xmonad --restart"
2020-12-22 21:08:35 +0100 <ADG1089__> and mod-q doesn't do anything
2020-12-22 21:09:02 +0100 <ADG1089__> without symlinking it works too but mod-q says not in path
2020-12-22 21:09:54 +0100 <geekosaur> what does "doesn't do anything" mean here? what were you expecting to see happen, and what did you change?
2020-12-22 21:10:52 +0100 <ADG1089__> making any changes to config and mod-q should work atleast
2020-12-22 21:11:02 +0100 <ADG1089__> it works with manually restart
2020-12-22 21:11:43 +0100 <ADG1089__> so basically this <<< spawn "if type xmonad; then xmonad --recompile && xmonad --restart; else xmessage xmonad not in \\$PATH: \"$PATH\"; fi">>> is not working
2020-12-22 21:11:45 +0100 <geekosaur> some layout changes do not apply automatically, you need to mod-shift-space to apply them and you will lose e.g. chanegs to master windows
2020-12-22 21:12:29 +0100 <dminuoso> geekosaur: Technically, how would we implement such a welcome screen elegantly? Create a .has_run file on first run, and draw a help screen if it doesn't exist on start-up?
2020-12-22 21:13:00 +0100 <dminuoso> I guess such a check could be part of the xmonad config as well, such that you could override the check.
2020-12-22 21:13:15 +0100 <geekosaur> that was my thought, just run the same code as for mod-shift-slash if the .has_run file doesn't exist
2020-12-22 21:13:36 +0100evanjs(~evanjs@075-129-098-007.res.spectrum.com) (Ping timeout: 240 seconds)
2020-12-22 21:13:48 +0100evanjs-(~evanjs@075-129-098-007.res.spectrum.com)
2020-12-22 21:13:56 +0100 <geekosaur> might skip it if there's a config since it'll be wrong anyway (it's hardcoded with the default config, there's no way to find out what keys are bound to dynamically)
2020-12-22 21:14:32 +0100 <dminuoso> Might it make sense to unconditionally draw it if there is no config? It's reasonable that a user will want to customize a thing or two anyway.
2020-12-22 21:14:53 +0100 <dminuoso> I dont know whether there are users that would use xmonad at its default settings.
2020-12-22 21:15:35 +0100 <ADG1089__> for testing I added a xmessage to my config, mod-q did nothing but manually running "xmonad --recompile && xmonad --restart" showed me xmessage
2020-12-22 21:15:51 +0100 <geekosaur> not at its current defaults, at least. I keep mentioning that I think ewmh should find its way into the core at some point
2020-12-22 21:16:19 +0100 <ADG1089__> and yes i am using default keybinds with super key so it isnt a problem
2020-12-22 21:16:43 +0100 <geekosaur> ADG1089__, that's odd because mod-q just does those. it sounds like it's not recompiling for some reason
2020-12-22 21:18:27 +0100 <ADG1089__> got it
2020-12-22 21:18:31 +0100 <ADG1089__> thanks!
2020-12-22 21:18:42 +0100 <ADG1089__> i linked xmonad & xmobar but ghc
2020-12-22 21:19:09 +0100 <ADG1089__> sudo ln -s ~/.ghcup/bin/ghc /usr/bin/ghc fixed it
2020-12-22 21:20:52 +0100ADG1089__(~aditya@223.235.77.1) (Remote host closed the connection)
2020-12-22 21:21:19 +0100ADG1089__(~aditya@223.235.77.1)
2020-12-22 21:22:19 +0100wonko7(~wonko7@lns-bzn-55-82-255-183-4.adsl.proxad.net)
2020-12-22 21:23:25 +0100 <dminuoso> geekosaur: Mmm. To some degree I favour how emacs deals with this. You get a splash screen, which offers controls to toggle it off - which would modify your ~/.emacs file to be loaded on next startup. For xmonad the user could just chose "Do not show this message again", or perhaps chose to be remembered every time xmonad is started?
2020-12-22 21:24:06 +0100 <dminuoso> Does X11 come with some facility that has a binary option, say two buttons and a message?
2020-12-22 21:24:20 +0100 <dminuoso> Oh hold on, we could use xmessage no?
2020-12-22 21:24:21 +0100 <geekosaur> xmessage can do that
2020-12-22 21:24:56 +0100 <geekosaur> one hidden problem with this is all the distros that install xmonad without xmessage, so none of this will work anyway
2020-12-22 21:26:14 +0100 <dminuoso> What does mod-shift-slash end up doing? spawn xmessage?
2020-12-22 21:26:20 +0100 <geekosaur> yes
2020-12-22 21:27:03 +0100 <ADG1089__> i think there is a calcprompt
2020-12-22 21:27:10 +0100 <dminuoso> Well, I'd say it's better than nothing. If we have no facility to portably render a welcome screen, then it doesn't matter if we can't offer a choice to not display a screen you're not getting.. :-)
2020-12-22 21:28:41 +0100 <dminuoso> We could also surgically split XMonad.Prompt
2020-12-22 21:29:21 +0100 <dminuoso> And move the basic facilities to xmonad core, that way we'd have a portable way of displaying arbitrary content on screen, and ask for a choice.
2020-12-22 21:29:43 +0100 <geekosaur> there's also some stuff in XMonad.Util that might be moved to core
2020-12-22 21:30:25 +0100 <dminuoso> Ah that would suffice, and it seems much more lightweight than the prompt code.
2020-12-22 21:30:48 +0100 <dminuoso> What's the motivation for moving it into core? Display compilation errors without xmessage?
2020-12-22 21:31:45 +0100 <ectospasm> That's been something I've been trying to fix for a long time. It doesn't look like the XMonad.Prompt accepts the font I want to use for it.
2020-12-22 21:32:25 +0100 <geekosaur> did you build xmonad-contrib with use_xft set?
2020-12-22 21:32:40 +0100 <ectospasm> Here's my xmonad.hs: https://git.eldon.me/trey/XMonad/src/branch/master/xmonad.hs
2020-12-22 21:33:30 +0100 <ectospasm> geekosaur: I don't know if use_xft was compiled in, I got xmonad-contrib from the Arch community or extra repository (wherever it lives)
2020-12-22 21:33:40 +0100 <ectospasm> Is there a way I can check?
2020-12-22 21:34:22 +0100 <dminuoso> ectospasm: Don't use the arch haskell supplied packages and deal with it yourself?
2020-12-22 21:34:49 +0100 <ectospasm> dminuoso: that would require extra work right now
2020-12-22 21:35:02 +0100 <geekosaur> even with use_xft set, that font name needs "xft:" prepended
2020-12-22 21:35:13 +0100 <ectospasm> Ah, OK
2020-12-22 21:35:15 +0100 <geekosaur> otherwise it looks for a server-side font
2020-12-22 21:36:06 +0100 <dminuoso> ectospasm: Out of curiosity, why do you feel like it'd be extra work?
2020-12-22 21:38:49 +0100 <ectospasm> dminuoso: anything more than `pacman -Syu` is extra work, and I'd have to pay attention separately for updates/upgrades.
2020-12-22 21:39:10 +0100 <ectospasm> geekosaur: that was quite simple, thanks. It worked!
2020-12-22 21:41:09 +0100 <dminuoso> ectospasm: That's fair enough. Just know, that we have a minimal effort tool `ghcup` to provide `ghc` and `cabal-install` these days.
2020-12-22 21:41:32 +0100 <dminuoso> Tools that most likely don't ever need updating themselves. :)
2020-12-22 21:41:50 +0100 <dminuoso> Even more so, if you're not Haskell developer yourself.
2020-12-22 21:42:09 +0100 <dminuoso> But, I say too much. Not trying to sway you away from pacman.
2020-12-22 21:42:52 +0100 <ectospasm> dminuoso: then I have to maintain my XMonad with cabal-install. That was painful the last time I tried it. Using the Arch packages has been much cleaner, now that they're in the official repos. And it's pretty straightforward. I'll see the maintainers update the package, and all I have to do is an `xmonad --recompile` when it's finished.
2020-12-22 21:44:24 +0100 <dminuoso> ectospasm: Perhaps it is a bit more confusing if you're not used to the tooling. Once ghc/cabal-install are on your system, it should be as simple as `cabal v1-update; cabal v1-install xmonad xmonad-contrib`, and then you can re-compile as you're used to it. :)
2020-12-22 21:45:57 +0100 <ectospasm> It's been a while since I used cabal-install. I remember having issues with it, but I can't talk about specifics as it's been several years.
2020-12-22 21:46:19 +0100 <dminuoso> But yeah, this is probably just in-experience with the tooling. The fact that xmonad not just imposes haskell but a haskell toolchain on you is quite punishing. Even more so when you're on Arch.
2020-12-22 21:51:51 +0100 <ectospasm> I can't remember the last time xmonad was broken on Arch. Most of the time that's just because I forgot to recompile XMonad.
2020-12-22 21:52:18 +0100 <ectospasm> whoever the maintainers of the haskell and xmonad packages are, they're pretty good at what they do.
2020-12-22 21:52:38 +0100 <geekosaur> as long as xmonad is all you care about
2020-12-22 21:53:39 +0100 <geekosaur> fact is, all Arch haskell packages are pretty broken for anything other than building Arch packages. and I have to assume they patch "-dynamic" into xmonad or you'd need to do more work to build a config
2020-12-22 21:57:47 +0100sam_d(~sam@unaffiliated/sam-d/x-1905598) (Ping timeout: 265 seconds)
2020-12-22 21:59:28 +0100 <dminuoso> ectospasm: The ultimate example of how badly broken arch packages is, is pandoc.
2020-12-22 21:59:41 +0100 <dminuoso> Oh sorry. I meant arch haskell packages.
2020-12-22 22:06:23 +0100sam_d(~sam@unaffiliated/sam-d/x-1905598)
2020-12-22 22:10:40 +0100sam_d(~sam@unaffiliated/sam-d/x-1905598) (Ping timeout: 246 seconds)
2020-12-22 22:15:55 +0100geekosaur(42d52137@66.213.33.55) (Ping timeout: 245 seconds)
2020-12-22 22:30:51 +0100geekosaur(42d52137@66.213.33.55)
2020-12-22 22:37:01 +0100notis(~notis@45.134.22.12) (Read error: Connection reset by peer)
2020-12-22 22:40:58 +0100notis(~notis@85.203.44.161)
2020-12-22 22:46:22 +0100SpiderPi1(~matt@047-132-233-190.res.spectrum.com) (Quit: Lost terminal)
2020-12-22 22:48:56 +0100notis(~notis@85.203.44.161) (Ping timeout: 240 seconds)
2020-12-22 22:49:47 +0100SpiderPig(~matt@047-132-233-190.res.spectrum.com)
2020-12-22 22:50:34 +0100geekosaur(42d52137@66.213.33.55) (Remote host closed the connection)
2020-12-22 22:51:18 +0100notis(~notis@85.203.44.161)
2020-12-22 23:10:29 +0100ADG1089__(~aditya@223.235.77.1) (Remote host closed the connection)
2020-12-22 23:39:26 +0100 <ectospasm> Ah, I see. I don't know if I use any other Haskell packages besides XMonad. I have hledger installed, but I don't use it.