2021/10/15

2021-10-15 00:00:47 +0200seschwar(~seschwar@user/seschwar) (Quit: :wq)
2021-10-15 00:03:40 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Quit: Leaving)
2021-10-15 00:05:07 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2021-10-15 00:40:28 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
2021-10-15 00:48:49 +0200alternateved(~user@staticline-31-183-147-179.toya.net.pl) (Quit: Fading out...)
2021-10-15 00:50:27 +0200 <jakefromstatefar> I've found that to be completely unreliable as well...
2021-10-15 01:19:25 +0200banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 252 seconds)
2021-10-15 01:26:56 +0200Forkk(~forkk@li926-228.members.linode.com) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
2021-10-15 01:27:15 +0200Forkk(~forkk@li926-228.members.linode.com)
2021-10-15 01:58:25 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-10-15 03:01:20 +0200trillp(~trillp@69.233.98.238)
2021-10-15 03:40:13 +0200trillp(~trillp@69.233.98.238) (Ping timeout: 252 seconds)
2021-10-15 03:40:56 +0200catman(~catman@user/catman) (Ping timeout: 265 seconds)
2021-10-15 03:47:14 +0200trillp(~trillp@69.233.98.238)
2021-10-15 03:55:39 +0200catman(~catman@user/catman)
2021-10-15 04:00:34 +0200catman(~catman@user/catman) (Ping timeout: 252 seconds)
2021-10-15 04:01:43 +0200catman(~catman@user/catman)
2021-10-15 04:15:39 +0200trillp(~trillp@69.233.98.238) (Quit: nyaa~)
2021-10-15 04:28:17 +0200 <abhixec> I am trying to understand the drawer layout I tried the code snippet that is provided in the doc but it doesn't yield the desired result or atleast what I think is desired result!
2021-10-15 04:28:57 +0200 <abhixec> when I move to the layout rhythmbox still opens as a pane in a normal tall layout, shouldn't it be on top according to the document?
2021-10-15 04:34:18 +0200 <jakefromstatefar> I don't use that, but I previewed that, and yes, it should...
2021-10-15 04:35:12 +0200 <jakefromstatefar> mc47: in your xmonad config, where you pipe things to xmobar: `#2E3440:0` is used as the bg color, if I add `:0` to a color, it doesn't appear transparent...
2021-10-15 04:35:24 +0200 <jakefromstatefar> Is this how you achieve your transparent xmobar approach?
2021-10-15 04:35:30 +0200 <jakefromstatefar> Or, is that somewhere else?
2021-10-15 04:35:45 +0200 <jakefromstatefar> I know that you also use an xpm icon, is that crucial?
2021-10-15 04:39:55 +0200steve__(~steve@ool-182c2aa4.dyn.optonline.net) (Ping timeout: 250 seconds)
2021-10-15 04:47:52 +0200td_(~td@94.134.91.160) (Ping timeout: 252 seconds)
2021-10-15 04:49:36 +0200td_(~td@muedsl-82-207-238-175.citykom.de)
2021-10-15 05:52:55 +0200humky(~humky@user/humky) (Remote host closed the connection)
2021-10-15 05:53:14 +0200humky(~humky@user/humky)
2021-10-15 07:42:34 +0200g90[m](~mitsukage@2001:470:69fc:105::b657)
2021-10-15 07:50:26 +0200steve__(~steve@ool-182c2aa4.dyn.optonline.net)
2021-10-15 08:00:50 +0200qbt(~qbt@user/edun)
2021-10-15 08:26:42 +0200benin(~benin@183.82.206.194)
2021-10-15 08:34:21 +0200Armoletti^(~armoletti@dyn70-177.yok.fi)
2021-10-15 08:34:54 +0200Armoletti(~armoletti@dyn70-177.yok.fi) (Ping timeout: 245 seconds)
2021-10-15 08:34:54 +0200joshproehl(~quassel@user/joshproehl) (Ping timeout: 245 seconds)
2021-10-15 08:35:38 +0200joshproehl(~quassel@user/joshproehl)
2021-10-15 08:44:54 +0200 <mc47[m]> jakefromstatefarm I don't have transparency, it's completely broken in xmobar. I'm just matching the color of the background, and the xpm icon is just to achieve the rounded edges
2021-10-15 08:57:40 +0200 <Solid> FOSSHuman[m]: if you use the git version, you could look at https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.16.999/XMonad-Util-Hacks.html#v:trayAbovePan…
2021-10-15 08:58:00 +0200 <Solid> it says that its for trayer but you can supply an arbitrary `Query' for the tray
2021-10-15 09:14:05 +0200mc47(~mc47@xmonad/TheMC47)
2021-10-15 09:27:29 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 265 seconds)
2021-10-15 09:31:42 +0200 <liskin> it also says that it requires both to lower themselves reliably
2021-10-15 09:32:14 +0200 <liskin> so I'm afraid it won't work, but it may perhaps be used as a starting point of a different solution for this
2021-10-15 09:32:35 +0200 <liskin> also worth noting that manageHook won't fire for overrideredirect windows, so doLower in manageHook won't work either
2021-10-15 09:32:40 +0200 <FOSSHuman[m]> <Solid> "FOSS Human: if you use the git..." <- Just added this to my config along with setting `lowerOnStart`, `overrideRedirect` in the XMobar config and setting `window_layer = bottom` in the stalonetray config file, same thing is happening...
2021-10-15 09:32:42 +0200 <liskin> looks like a bug in stalonetray though
2021-10-15 09:33:18 +0200 <liskin> or a misconfiguration thereof
2021-10-15 09:34:07 +0200 <Solid> perhaps it also has an `-l` option, like trayer?
2021-10-15 09:35:47 +0200 <liskin> there's only --window-layer, which won't work in xmonad
2021-10-15 09:35:49 +0200cfricke(~cfricke@user/cfricke)
2021-10-15 09:36:35 +0200 <liskin> but we could add a hack to X.U.Hacks that calls lowerWindow for EWMH bottom layer :-)
2021-10-15 09:38:01 +0200 <FOSSHuman[m]> stalonetray xprop output: https://pastebin.com/JSatDTqq
2021-10-15 09:41:27 +0200 <liskin> oh, that may not be an overrideredirect window, it's probably just doIgnored by manageDocks, so a doLower managehook may actually work
2021-10-15 09:43:25 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2021-10-15 09:44:56 +0200abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Remote host closed the connection)
2021-10-15 09:50:55 +0200catman(~catman@user/catman) (Ping timeout: 252 seconds)
2021-10-15 10:03:37 +0200srk(~sorki@user/srk) (Ping timeout: 252 seconds)
2021-10-15 10:03:59 +0200srk(~sorki@user/srk)
2021-10-15 10:17:42 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-10-15 10:17:49 +0200allbery_b(~geekosaur@xmonad/geekosaur)
2021-10-15 10:17:52 +0200allbery_bgeekosaur
2021-10-15 10:24:31 +0200 <Solid> liskin: emacs tells me to ping you about #605
2021-10-15 11:26:29 +0200alternateved(~user@staticline-31-183-147-179.toya.net.pl)
2021-10-15 11:40:18 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
2021-10-15 12:33:58 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-10-15 12:38:19 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2021-10-15 13:05:42 +0200niemand(~niemand@p2e52f8e7.dip0.t-ipconnect.de)
2021-10-15 13:19:42 +0200lisq(~quassel@lis.moe) (Quit: lisq)
2021-10-15 13:20:55 +0200Guest60(~Guest60@83.234.98.90)
2021-10-15 13:21:23 +0200 <Guest60> hi, how to unmap all key bindings in xmonad?
2021-10-15 13:21:56 +0200lis(~quassel@lis.moe)
2021-10-15 13:22:03 +0200 <geekosaur> xmonad { … , keys = fromList [], … }
2021-10-15 13:23:10 +0200 <geekosaur> actually hold on a moment
2021-10-15 13:23:17 +0200 <Guest60> thanks, i will try!
2021-10-15 13:24:04 +0200 <geekosaur> rightm it's actually const (fromList [])
2021-10-15 13:24:41 +0200 <geekosaur> forgot it gets passed a copy of the config so it can retrieve the current modMask
2021-10-15 13:25:31 +0200 <Guest60> oh
2021-10-15 13:25:32 +0200 <Guest60> xmonad.hs:38:29: error:
2021-10-15 13:25:33 +0200 <Guest60> Variable not in scope:
2021-10-15 13:25:33 +0200 <Guest60> fromList
2021-10-15 13:25:34 +0200 <Guest60> :: [a0]
2021-10-15 13:25:34 +0200 <Guest60> -> XConfig Layout
2021-10-15 13:25:35 +0200 <Guest60> -> Data.Map.Internal.Map (ButtonMask, KeySym) (X ())
2021-10-15 13:25:35 +0200 <Guest60> |
2021-10-15 13:25:36 +0200 <Guest60> 38 | , keys = fromList []
2021-10-15 13:25:37 +0200 <Guest60> Please check the file for errors.
2021-10-15 13:26:11 +0200 <geekosaur> hm, no, Data.Map iusn't imported for you by default. you also need the const thing I just mentioned
2021-10-15 13:26:33 +0200 <geekosaur> impoirt qualified Data.Map as M, then it's const (M.fromList [])
2021-10-15 13:26:40 +0200 <geekosaur> *import
2021-10-15 13:28:15 +0200 <Solid> (obviously be careful starting xmonad in such a state :))
2021-10-15 13:29:09 +0200 <Guest60> xmonad.hs:41:30: error:
2021-10-15 13:29:09 +0200 <Guest60> • Couldn't match expected type: XConfig Layout
2021-10-15 13:29:10 +0200 <Guest60> -> M.Map (ButtonMask, KeySym) (X ())
2021-10-15 13:29:10 +0200 <Guest60> with actual type: M.Map k0 a0
2021-10-15 13:29:11 +0200 <Guest60> • Possible cause: ‘M.fromList’ is applied to too many arguments
2021-10-15 13:29:11 +0200 <Guest60> In the ‘keys’ field of a record
2021-10-15 13:29:12 +0200 <Guest60> In the second argument of ‘($)’, namely
2021-10-15 13:29:12 +0200 <Guest60> ‘def
2021-10-15 13:29:13 +0200 <Guest60> {modMask = myModMask, terminal = myTerminal,
2021-10-15 13:29:13 +0200 <Guest60> borderWidth = myBorderWidth, normalBorderColor = myNormColor,
2021-10-15 13:29:14 +0200 <Guest60> focusedBorderColor = myFocuColor, startupHook = myStartUpHook,
2021-10-15 13:29:14 +0200 <Guest60> keys = (M.fromList [])}’
2021-10-15 13:29:15 +0200 <Guest60> In the expression:
2021-10-15 13:29:15 +0200 <Guest60> xmonad
2021-10-15 13:29:16 +0200 <Guest60> $ def
2021-10-15 13:29:16 +0200 <Guest60> {modMask = myModMask, terminal = myTerminal,
2021-10-15 13:29:17 +0200 <Guest60> borderWidth = myBorderWidth, normalBorderColor = myNormColor,
2021-10-15 13:29:17 +0200 <Guest60> focusedBorderColor = myFocuColor, startupHook = myStartUpHook,
2021-10-15 13:29:26 +0200 <geekosaur> ok, so you ignored my adding const twice
2021-10-15 13:29:35 +0200 <geekosaur> also, please use a pastebin for large pastes
2021-10-15 13:29:39 +0200 <geekosaur> @where pastre
2021-10-15 13:29:39 +0200 <lambdabot> I know nothing about pastre.
2021-10-15 13:29:41 +0200 <geekosaur> bah
2021-10-15 13:29:46 +0200 <geekosaur> @where paste
2021-10-15 13:29:46 +0200 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2021-10-15 13:29:46 +0200 <Solid> :D
2021-10-15 13:30:00 +0200niemand(~niemand@p2e52f8e7.dip0.t-ipconnect.de) ()
2021-10-15 13:30:21 +0200 <geekosaur> const (M.fromList [])
2021-10-15 13:30:24 +0200 <Guest60> sorry, my english isn't so good, what means const?
2021-10-15 13:30:29 +0200 <geekosaur> the "const" is not decoration
2021-10-15 13:30:33 +0200 <geekosaur> it's a function
2021-10-15 13:30:36 +0200 <geekosaur> :t const
2021-10-15 13:30:37 +0200 <lambdabot> a -> b -> a
2021-10-15 13:31:01 +0200 <Guest60> wow, it works!
2021-10-15 13:31:04 +0200 <Guest60> thanks a lot
2021-10-15 13:31:06 +0200 <geekosaur> here it's shorthand for consuming and ignoring an additional argment
2021-10-15 13:33:55 +0200 <geekosaur> what problem are you having that you need to disable the default bindings? any you specify will override the ones provided by default, so normally they shouldn't be a problem
2021-10-15 13:35:07 +0200 <Guest60> i want to make custom bindings
2021-10-15 13:35:57 +0200 <Guest60> i think defaults are some illogical
2021-10-15 13:36:10 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.3)
2021-10-15 13:37:37 +0200 <geekosaur> the defaults are a bit eclectic, I think the core ones come from vi
2021-10-15 13:37:44 +0200 <geekosaur> hjkl
2021-10-15 13:39:18 +0200 <geekosaur> xmonad kinda started out as assuming the user was fairly proficient in unix and its idiosyncrasies, and we're gradually cleaning that up as its user base has changed
2021-10-15 13:39:50 +0200 <geekosaur> (sorry if I'm making you refer to a dictionary :)
2021-10-15 13:40:53 +0200 <Guest60> uuuf yes
2021-10-15 13:41:21 +0200 <Guest60> i don't know what mean eclectic in my language
2021-10-15 13:41:45 +0200 <alternateved> Btw. where in the source code could you find keybindings?
2021-10-15 13:41:51 +0200 <alternateved> Where are they defined?
2021-10-15 13:42:13 +0200 <geekosaur> https://github.com/xmonad/xmonad/blob/master/src/XMonad/Config.hs
2021-10-15 13:42:40 +0200 <alternateved> Thanks. I should've checked repo not docs then.
2021-10-15 13:43:12 +0200 <alternateved> Weirdly enough, I was also thinking about unbinding some of them, so thanks Guest60 for bringing that up.
2021-10-15 13:43:13 +0200 <Solid> If you want docs then just press M-?
2021-10-15 13:43:50 +0200 <geekosaur> alternateved, there's also `removeKeys` and `removeKeysP`
2021-10-15 13:44:03 +0200 <geekosaur> in XMonad.Util.EZConfig
2021-10-15 13:44:05 +0200 <Solid> yeah these are good for unbinding some of them
2021-10-15 13:44:42 +0200 <Guest60> geekosaur you advice helped omg
2021-10-15 13:44:56 +0200 <alternateved> Oh, yeah, that would be even better. I only need to unbind the default modm + h,l
2021-10-15 13:47:45 +0200 <liskin> Solid: https://www.phoronix.com/scan.php?page=news_item&px=X.Org-Server-21.1-RC2
2021-10-15 13:48:20 +0200 <liskin> so timing is still good I guess
2021-10-15 13:48:34 +0200 <Solid> awesome
2021-10-15 13:48:39 +0200 <liskin> Solid: thanks for the ping re #605, I'll work on it this afternoon
2021-10-15 13:48:52 +0200 <Solid> well let's get it out by... the end of mid October :)
2021-10-15 13:49:01 +0200 <liskin> (plants have survived, so I'm not as sad as I expected :-))
2021-10-15 13:49:08 +0200 <Solid> \o/
2021-10-15 13:49:45 +0200Guest60(~Guest60@83.234.98.90) (Quit: Client closed)
2021-10-15 13:52:17 +0200Guest43(~Guest43@83.234.98.90)
2021-10-15 13:53:23 +0200 <Solid> btw, any opinions on this https://github.com/xmonad/xmonad-web/pull/40 are most welcome (especially regarding the logo thingy)
2021-10-15 13:53:27 +0200Guest43(~Guest43@83.234.98.90) (Client Quit)
2021-10-15 13:54:06 +0200cfricke(~cfricke@user/cfricke)
2021-10-15 13:55:31 +0200berberman(~berberman@user/berberman) (Quit: ZNC 1.8.2 - https://znc.in)
2021-10-15 13:55:33 +0200 <liskin> it's still in my inbox, but I have no strong opinions on any of that, so I decided it'd be best if I focused elsewhere :-/
2021-10-15 13:55:51 +0200berberman(~berberman@user/berberman)
2021-10-15 13:56:42 +0200 <Solid> that's fair
2021-10-15 13:57:44 +0200Guest23(~Guest23@83.234.98.90)
2021-10-15 14:02:54 +0200redgloboli(~redglobol@user/redgloboli)
2021-10-15 14:21:47 +0200sagax(~sagax_nb@user/sagax) (Quit: Konversation terminated!)
2021-10-15 14:53:33 +0200 <Guest23> i need help
2021-10-15 14:53:35 +0200 <Guest23> again
2021-10-15 14:53:37 +0200 <Guest23> https://pastebin.com/8R4PeFWR
2021-10-15 14:54:50 +0200 <geekosaur> looks like you're missing a "qualified" on the import of XMonad.StackSet?
2021-10-15 14:57:34 +0200 <Guest23> how did you guess omg
2021-10-15 14:58:09 +0200 <geekosaur> because of your collision, and that it showed the StackSet import as "W" so you had that part right
2021-10-15 14:58:17 +0200 <geekosaur> so just missing the "qualified"
2021-10-15 14:58:39 +0200 <Guest23> thanks
2021-10-15 14:59:04 +0200 <geekosaur> it is not unusual for modules to have overlapping names in them, so for example StackSet and Data.Map are both designed to be imported qualified, since both have collisions with other functions
2021-10-15 14:59:32 +0200 <Guest23> intresting
2021-10-15 14:59:35 +0200 <geekosaur> (Data.Map has *lots* of collisions with the list functions in the Prelude)
2021-10-15 15:00:25 +0200 <geekosaur> the first thing everyone thinks of with that one is using abstraction to make the same functions work with Maps and lists, sadly that turns out to not work well *and* be fairly slow)
2021-10-15 15:13:17 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2021-10-15 15:26:04 +0200 <Guest23> how to make switching between workspaces?
2021-10-15 15:27:51 +0200 <geekosaur> are you the same one who asked how to clear your bindings earlier? this might be part of why we don't do that normally :)
2021-10-15 15:29:21 +0200 <geekosaur> https://github.com/xmonad/xmonad/blob/master/src/XMonad/Config.hs#L229-L233 is how it's defined by default, but it's phrased as a somewhat fancy list comprehension
2021-10-15 15:29:32 +0200 <Guest23> yyaaa thats me
2021-10-15 15:29:42 +0200 <geekosaur> W.view or W.greedyView are the functions you use
2021-10-15 15:29:46 +0200 <Guest23> i tried to make it like in basic conf
2021-10-15 15:29:50 +0200 <Guest23> but errors
2021-10-15 15:30:25 +0200 <geekosaur> there's also a fancier version in https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Actions/CycleWS.hs
2021-10-15 15:31:04 +0200 <geekosaur> (no, you don't need to run the git version to get that, it's unchanged)
2021-10-15 15:34:51 +0200 <Guest23> https://pastebin.com/qrGUWnDC
2021-10-15 15:35:07 +0200 <Guest23> i remove conf and i have another error
2021-10-15 15:36:57 +0200 <alternateved> You could just create your own list of workspaces.
2021-10-15 15:37:38 +0200 <Guest23> i made myWorkspaces = [1..9]
2021-10-15 15:38:15 +0200 <alternateved> | (i, k) <- zip myWorkspaces [xK_1 .. xK_9]
2021-10-15 15:38:30 +0200 <geekosaur> I think almost everything expects workspace tags to be String, not numbers
2021-10-15 15:38:37 +0200 <geekosaur> so map show [1..9]
2021-10-15 15:38:50 +0200 <alternateved> Ah, right
2021-10-15 15:39:06 +0200 <geekosaur> the conf error is because the default config builds the configuration separately so it can reference it like thta later
2021-10-15 15:39:07 +0200 <alternateved> myWorkspaces = map show [1..9]
2021-10-15 15:39:44 +0200 <geekosaur> *like that
2021-10-15 15:40:34 +0200 <alternateved> I think Guest23 that you would have much better time with EZConfig module
2021-10-15 15:41:01 +0200 <Guest23> i use EZConfig
2021-10-15 15:41:26 +0200seschwar(~seschwar@user/seschwar)
2021-10-15 15:41:39 +0200 <Guest23> i just don't know how to switch workspaces with EXConfig
2021-10-15 15:41:44 +0200 <geekosaur> alternatived, the list comprehension doesn't fit well with EZConfig
2021-10-15 15:42:05 +0200 <alternateved> Doesn't it?
2021-10-15 15:42:27 +0200 <geekosaur> you can do it but it's more painful imo
2021-10-15 15:42:35 +0200 <alternateved> https://pastebin.com/nnAF2d6K
2021-10-15 15:42:41 +0200 <alternateved> I use something like that
2021-10-15 15:43:02 +0200 <Guest23> https://pastebin.com/snK3dnfM
2021-10-15 15:43:59 +0200 <alternateved> Yeah, I guess that since you are using EZConfig, you might have some troubles with types there.
2021-10-15 15:44:14 +0200 <geekosaur> oki, that looks like you're already using EZConfig and you want alternateved's solution
2021-10-15 15:44:33 +0200 <geekosaur> not the (KeyMask,KeySym)-based one
2021-10-15 15:45:32 +0200 <alternateved> My solution only cares about workspaces order.
2021-10-15 15:46:11 +0200 <alternateved> So whatever you have in your workspaces, it should assign the respective keys
2021-10-15 15:48:35 +0200 <alternateved> I play with DynamicWorkspaces so that is why I have it setup like that
2021-10-15 15:53:01 +0200lislisq
2021-10-15 16:01:35 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 260 seconds)
2021-10-15 16:06:17 +0200Guest23(~Guest23@83.234.98.90) (Quit: Client closed)
2021-10-15 16:06:34 +0200qbt(~qbt@user/edun) ()
2021-10-15 16:33:06 +0200banc(banc@gateway/vpn/airvpn/banc)
2021-10-15 17:08:06 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 268 seconds)
2021-10-15 17:23:05 +0200catman(~catman@user/catman)
2021-10-15 17:35:07 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-10-15 18:00:28 +0200M0x604[m](~M0x604mat@2001:470:69fc:105::e21c) (Quit: You have been kicked for being idle)
2021-10-15 18:00:28 +0200nihilipster[m]1(~nihilipst@2001:470:69fc:105::720) (Quit: You have been kicked for being idle)
2021-10-15 18:16:42 +0200alternat`(~user@staticline-31-183-147-179.toya.net.pl)
2021-10-15 18:18:34 +0200alternateved(~user@staticline-31-183-147-179.toya.net.pl) (Ping timeout: 252 seconds)
2021-10-15 18:21:34 +0200catman(~catman@user/catman) (Ping timeout: 265 seconds)
2021-10-15 18:22:05 +0200catman(~catman@user/catman)
2021-10-15 18:24:32 +0200wonko(~wjc@62.115.229.50)
2021-10-15 18:55:04 +0200catman(~catman@user/catman) (Ping timeout: 265 seconds)
2021-10-15 18:55:32 +0200catman(~catman@user/catman)
2021-10-15 19:33:35 +0200benin(~benin@183.82.206.194) (Ping timeout: 265 seconds)
2021-10-15 19:47:06 +0200 <jakefromstatefar> Using some python, bash, and an xmobarrc + boxes, I made a vertical volume bar
2021-10-15 19:47:08 +0200jakefromstatefaruploaded an image: (1KiB) < https://libera.ems.host/_matrix/media/r0/download/jupiterbroadcasting.com/wqvIpZmjQUnjaNNQkvSiyINE… >
2021-10-15 19:59:47 +0200 <liskin> jakefromstatefar: doesn't xmobar support vertical bars out of the box?
2021-10-15 20:00:36 +0200 <liskin> "Variables that can be used with the -t/--template argument: volume, volumebar, volumevbar, volumeipat, dB, status, volumestatus"
2021-10-15 20:00:41 +0200 <liskin> > volumevbar
2021-10-15 20:00:43 +0200 <lambdabot> error: Variable not in scope: volumevbar
2021-10-15 20:11:14 +0200 <liskin> mc47[m]: just noticed that pprWindowSetXinerama is included in "Internal formatting functions" in X.H.S.PP, but it's really only used in dynamicLogXinerama and completely unrelated to the PP datatype and stuff, maybe it's worth moving it back there and then waiting whether people come screaming that we've deprecated something they use (as dynamicLogXinerama doesn't really have an equivalent in the
2021-10-15 20:11:16 +0200 <liskin> new framework)
2021-10-15 20:11:56 +0200 <liskin> not that I expect anyone to come, as dynamicLogXinerama only works if one actually pipes (as in literally having "xmonad | xmobar" in .xsession) it to xmobar
2021-10-15 20:15:37 +0200thunderrd(~thunderrd@183.182.110.52) (Remote host closed the connection)
2021-10-15 20:16:37 +0200thunderrd(~thunderrd@183.182.110.52)
2021-10-15 20:43:16 +0200 <mc47> liskin: yes let's move it to X.H.DynamicLog
2021-10-15 20:45:38 +0200cfricke(~cfricke@user/cfricke)
2021-10-15 20:50:26 +0200 <alternat`> Is there any way to debug xmonad crashes?
2021-10-15 20:52:26 +0200 <geekosaur> check its stdout which should be the session log, wherever your distro puts that (on the original vt if you use startx); if there's a core dump prepare for some fun time with gdb and the bug is almost certainly in the X11 bindings
2021-10-15 20:55:57 +0200HashLordOfThePings
2021-10-15 21:11:25 +0200 <jakefromstatefar> <liskin> "jakefromstatefarm: doesn't..." <- No, its bars are horizontal.
2021-10-15 21:15:11 +0200 <geekosaur> (tracing back the crash will only work up to a point and gdb might become very confused after the first few stack frames. might also have to install some debug symbols for X11 packages and potentially rebuild xmonad-contrib and its dependencies with -g/--debug)
2021-10-15 21:15:43 +0200 <alternat`> It might be the issue with the QueueReader
2021-10-15 21:16:27 +0200 <geekosaur> anyway I would be surprised if a crash originates within xmonad, all user code paths should trap exceptions and core dumps in Haskell code not involving FFI calls are almost always ghc bugs
2021-10-15 21:17:01 +0200 <geekosaur> FFI calls are much more likely
2021-10-15 21:17:30 +0200jakefromstatefaruploaded an image: (0KiB) < https://libera.ems.host/_matrix/media/r0/download/jupiterbroadcasting.com/hUyMiyigVhsfrnrwiVzoUoha… >
2021-10-15 21:17:49 +0200 <jakefromstatefar> There we go, I inverted it, using `[`, and the bg color as the bar, but from the top instead.
2021-10-15 21:18:56 +0200 <alternat`> Thanks geekosaur - my friend has some random crashes after incorporating xmobar into xmonad with QueueReader. I'll pass your advice.
2021-10-15 21:20:03 +0200 <geekosaur> and it's xmonad that's crashing, not xmobar?
2021-10-15 21:26:39 +0200 <alternat`> Yeah, it's seems that it's xmonad.
2021-10-15 21:27:18 +0200 <alternat`> One of his xmobars also seems to not refresh the time, so the TQueue setup might not be working.
2021-10-15 21:29:00 +0200 <mc47> Solid, liskin: since the DynamicLog seems to be taken care of, anything else I should take a look at?
2021-10-15 21:29:15 +0200 <mc47> (btw, I think we shouldn't include the prompt refactor in 0.17)
2021-10-15 21:30:00 +0200 <mc47> (we should hold off any big changes right now, and only accept bug fixes or new independent modules)
2021-10-15 21:30:51 +0200alternat`(~user@staticline-31-183-147-179.toya.net.pl) (Quit: Fading out...)
2021-10-15 21:31:08 +0200 <mc47> If nothing is pressing, I'll direct my efforts into coming up with a governance proposal
2021-10-15 21:31:49 +0200alternateved(~user@staticline-31-183-147-179.toya.net.pl)
2021-10-15 21:32:26 +0200 <mc47> (I'm gonna be bored to death this weekend since I have an oral project management exam next week after spending a whole week just studying project management each day... so yeah, I'll do something fun like working on xmonad when I want to take a break)
2021-10-15 21:38:47 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 264 seconds)
2021-10-15 21:43:36 +0200 <liskin> mc47: I'm going to post my review on #605 in the next hour or so
2021-10-15 21:44:09 +0200 <liskin> that might need your attention then, for another hour or something :-)
2021-10-15 21:45:54 +0200 <liskin> geekosaur: re these xmonad/xmobar crashes, some context you probably don't have: what these folks are doing is running xmobar as a thread in the xmonad process, passing data via STM instead of pipes/props
2021-10-15 21:46:29 +0200 <mc47> alrighty then
2021-10-15 21:47:14 +0200 <liskin> (I find it quite cool that it's technically possible to do something like that, and I know better than to comment on whether it's sane to do or not, it's probably just people having fun exploring what's possible)
2021-10-15 21:47:46 +0200 <alternateved> Yeah, pretty much.
2021-10-15 21:48:28 +0200 <liskin> mc47: what we possibly need a bit more than the governance docs is some update of README.md and CONTRIBUTING.md across our repos, if you need more ideas to choose from
2021-10-15 21:48:56 +0200 <liskin> and if everything goes well, I should start a very intense EWMH hackathon tomorrow :-)
2021-10-15 21:49:36 +0200 <mc47> Hmm, what about slashing `X.D.Developing` and just relying on CONTRIBUTING.md?
2021-10-15 21:50:32 +0200 <liskin> X.D.Developing has stuff that doesn't usually go into CONTRIBUTING.md
2021-10-15 21:50:47 +0200 <liskin> so if anything, you'd need to move half of it into ARCHITECTURE.md or something
2021-10-15 21:51:07 +0200 <liskin> CONTRIBUTING needs to be short enough for people to actually read it
2021-10-15 21:51:12 +0200cfricke(~cfricke@user/cfricke)
2021-10-15 21:51:42 +0200 <mc47[m]> Alright, convinced
2021-10-15 21:53:24 +0200 <liskin> (:-)
2021-10-15 21:53:33 +0200 <liskin> s/^\(//
2021-10-15 22:03:25 +0200 <geekosaur> ok, that makes a fairly big difference and indeed I'm not sure now whether we're uncovering bugs in STM or the crash is just in non-exception-managed code throwing an STM exception
2021-10-15 22:03:45 +0200 <geekosaur> gdb won't be helpful there, probably. profiling + -RTS -xc might
2021-10-15 22:09:15 +0200 <geekosaur> (have to admit I was wondering wtf QueueReader was, and was trying to search xmobar docs. which are now annoying because the README is no longer the whole manual and the only obvious replacement is now a quickstart doc)
2021-10-15 22:12:15 +0200 <Solid> plugins.org is where the plugins are documented now
2021-10-15 22:13:39 +0200 <liskin> hm, yeah, I also often swear when I need to look up something in xmobar docs :-/
2021-10-15 22:14:06 +0200 <liskin> a table of contents at the top of readme.org would probably help me a lot
2021-10-15 22:14:49 +0200 <alternateved> There is some table of contents on xmobar page
2021-10-15 22:15:00 +0200 <alternateved> *a table
2021-10-15 22:15:15 +0200 <geekosaur> yeh, it's there, somewhat down from the top and not entirely clear that gets you the whole old manual
2021-10-15 22:15:16 +0200 <liskin> xmobar.org is just showing an outdated readme I think
2021-10-15 22:15:42 +0200 <alternateved> Yeah, it is.
2021-10-15 22:21:13 +0200electr0n(~electr0n@about/security/founder/electr0n)
2021-10-15 22:24:49 +0200 <Solid> adding TOCs to the necessary files sounds reasonable though
2021-10-15 22:26:39 +0200kdecay(~user@2a02:8070:9991:bb00:1229:c2c4:1938:701a)
2021-10-15 22:27:39 +0200 <kdecay> Hello there
2021-10-15 22:27:45 +0200 <geekosaur> œ
2021-10-15 22:28:12 +0200 <kdecay> let me start by thanking you @geekosaur :D
2021-10-15 22:29:26 +0200 <geekosaur> you're welcome
2021-10-15 22:30:34 +0200 <alternateved> small disclaimer: kdecay is a friend that had a problem with the crashes
2021-10-15 22:31:14 +0200 <geekosaur> I'd wonder if there's some code path that needs a userdef around it to catch STM exceptions
2021-10-15 22:33:20 +0200 <geekosaur> even though, strictly speaking, it's not user-defined code
2021-10-15 22:33:26 +0200LordOfThePingsHash
2021-10-15 22:35:16 +0200 <liskin> I don't think there are that many code paths to think about
2021-10-15 22:35:38 +0200 <liskin> it's probably just logHook, unless they're doing something more interesting
2021-10-15 22:35:48 +0200 <kdecay> I'll try to debug my config and see if I can find something interesting. Could also very well be a user error by me. Is anyone of you using the TQueue for their xmobar?
2021-10-15 22:36:12 +0200 <liskin> (like e.g. a separate thread with a timer or something, which is what my setup would probably do if I was a Haskell programmer rather than a bash programmer, lol)
2021-10-15 22:37:21 +0200 <geekosaur> logHook should already be wrapped in userCode, I think; I'm suspecting some other path, possibly in the xmobar part, that needs to trap and recover from STM exceptions
2021-10-15 22:39:37 +0200 <liskin> xmobar quite likely just ignores any exceptions
2021-10-15 22:40:18 +0200 <liskin> everything runs in its own thread, started via https://hackage.haskell.org/package/async-2.2.4/docs/Control-Concurrent-Async.html#v:async, but not waited on, so exceptions aren't re-raised in the main thread
2021-10-15 22:40:38 +0200 <liskin> plugins like StdinReader explicitly exit(0)
2021-10-15 22:41:58 +0200 <liskin> (I'm not entirely sure the exception handling in the timer coalescing code I wrote is correct, though; it's a complicated mess; probably irrelevant though)
2021-10-15 22:46:40 +0200 <liskin> mc47[m]: do you (or anyone else) use haskell-language-server when hacking on xmonad(-contrib)? how do you deal with the library vs. test-suite ambiguity?
2021-10-15 22:48:22 +0200 <liskin> I use implicit-hie to generate the hie.yaml here and sometimes HLS thinks one module is part of the test suite and another is part of the library, so I need to reload the whole thing for it to pick up changes :-/
2021-10-15 23:00:26 +0200 <mc47> liskin it just works, without hie.yaml
2021-10-15 23:00:50 +0200 <mc47> I get a warning that I should consider creating a hie.yaml file if I get a Multi Cradle error
2021-10-15 23:01:39 +0200 <mc47> oh and I have a very weird error when I launch it the first time from emacs, and I need to restart emacs, then it works fine
2021-10-15 23:01:52 +0200 <mc47> haven't had the time to debug it properly
2021-10-15 23:02:51 +0200 <mc47> Not that happy with HLS if I'm being honest, but that's the option with the least overhead right now (dante.el isn't maintained anymore, and it was great)
2021-10-15 23:05:04 +0200 <liskin> hm, I wonder what happens behind the scenes without a hie.yaml
2021-10-15 23:05:23 +0200 <liskin> unfortunately it's not really an option for me as I don't use the stack.yaml from the repos
2021-10-15 23:05:46 +0200 <liskin> mc47: so when you're editing the tests, does hls still work for you?
2021-10-15 23:06:19 +0200 <geekosaur> I thought it used some hie-boot thing to generate an internal default one
2021-10-15 23:06:28 +0200 <geekosaur> but I'm not much for IDEs
2021-10-15 23:06:48 +0200 <mc47> liskin: yep, tried completion and jumping to definitions
2021-10-15 23:07:40 +0200 <liskin> geekosaur: it probably does, yeah
2021-10-15 23:08:55 +0200 <liskin> I'd be surprised if the autogenerated cradles were that much different than the ones I have here
2021-10-15 23:09:22 +0200 <liskin> we do have overlapping source paths, there's no going around that
2021-10-15 23:09:34 +0200rundown(~eb0t@90.213.43.87) (Ping timeout: 252 seconds)
2021-10-15 23:15:50 +0200kdecay(~user@2a02:8070:9991:bb00:1229:c2c4:1938:701a) (Remote host closed the connection)
2021-10-15 23:40:19 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 252 seconds)
2021-10-15 23:46:34 +0200Guest41(~Guest41@2001:16b8:5cf5:d900:2a39:26ff:fe02:85bb)
2021-10-15 23:47:00 +0200 <Guest41> Hi there!
2021-10-15 23:47:21 +0200 <Guest41> I'm having issues getting xmonad to recompile on arch
2021-10-15 23:48:14 +0200 <alternateved> Are you using package from AUR?
2021-10-15 23:49:01 +0200 <Guest41> I've installed it with ghcup / cabal
2021-10-15 23:49:36 +0200 <alternateved> What do you mean by issues?
2021-10-15 23:50:00 +0200 <Guest41> xmonad.hs:1:1: error:
2021-10-15 23:50:00 +0200 <Guest41> Could not find module ‘XMonad’
2021-10-15 23:50:01 +0200 <Guest41> Perhaps you meant DsMonad (needs flag -package-key ghc-8.10.4)
2021-10-15 23:50:01 +0200 <Guest41> Use -v (or `:set -v` in ghci) to see a list of the files searched for.
2021-10-15 23:50:02 +0200 <Guest41> |
2021-10-15 23:50:02 +0200 <Guest41> 1 | import XMonad
2021-10-15 23:50:03 +0200 <Guest41> | ^^^^^^^^^^^^^
2021-10-15 23:51:11 +0200 <FOSSHuman[m]> Guest41 You should read: https://github.com/xmonad/xmonad/blob/master/INSTALL.md
2021-10-15 23:52:10 +0200 <FOSSHuman[m]> Specifically: https://github.com/xmonad/xmonad/blob/master/INSTALL.md#build-xmonad
2021-10-15 23:55:02 +0200 <FOSSHuman[m]> There's also a TUTORIAL.md in the same repo
2021-10-15 23:55:18 +0200 <Guest41> i've tried to follow that, and it seemed to work for a while. But broke down somehow :/
2021-10-15 23:56:00 +0200 <FOSSHuman[m]> * same repo: https://github.com/xmonad/xmonad/blob/master/TUTORIAL.md
2021-10-15 23:58:23 +0200 <Guest41> does xmonad depend on specific versions of ghc? I've installed haskell for cardano (8.10.4), and wanted to also try out xmonad.