2024/02/14

2024-02-14 04:29:53 +0100td_(~td@i5387092A.versanet.de) (Ping timeout: 252 seconds)
2024-02-14 04:31:28 +0100td_(~td@i5387092F.versanet.de)
2024-02-14 05:56:05 +0100amenonsen(~amenonsen@pitta.toroid.org) (Ping timeout: 240 seconds)
2024-02-14 06:10:09 +0100amenonsen(~amenonsen@pitta.toroid.org)
2024-02-14 08:39:34 +0100derfflinger(~derffling@user/derfflinger)
2024-02-14 09:04:11 +0100derfflinger(~derffling@user/derfflinger) (Ping timeout: 264 seconds)
2024-02-14 09:29:03 +0100derfflinger(~derffling@user/derfflinger)
2024-02-14 10:31:11 +0100derfflinger(~derffling@user/derfflinger) (Ping timeout: 264 seconds)
2024-02-14 10:33:54 +0100ft(~ft@p508db2e6.dip0.t-ipconnect.de) (Quit: leaving)
2024-02-14 10:38:08 +0100derfflinger(~derffling@user/derfflinger)
2024-02-14 11:30:35 +0100derfflinger(~derffling@user/derfflinger) (Ping timeout: 264 seconds)
2024-02-14 11:36:44 +0100derfflinger(~derffling@user/derfflinger)
2024-02-14 12:14:07 +0100derfflinger(~derffling@user/derfflinger) (Ping timeout: 255 seconds)
2024-02-14 12:17:23 +0100derfflinger(~derffling@user/derfflinger)
2024-02-14 13:29:43 +0100derfflinger(~derffling@user/derfflinger) (Read error: Connection reset by peer)
2024-02-14 14:28:02 +0100rieper(~riepernet@2a03:4000:6:f1d6:6885:6fff:fe5a:8933) (Remote host closed the connection)
2024-02-14 14:29:55 +0100rieper(~riepernet@2a03:4000:6:f1d6:6885:6fff:fe5a:8933)
2024-02-14 14:54:51 +0100rieper(~riepernet@2a03:4000:6:f1d6:6885:6fff:fe5a:8933) (Ping timeout: 272 seconds)
2024-02-14 15:02:36 +0100rieper(~riepernet@2a03:4000:6:f1d6:6885:6fff:fe5a:8933)
2024-02-14 15:43:07 +0100rieper(~riepernet@2a03:4000:6:f1d6:6885:6fff:fe5a:8933) (Quit: No Ping reply in 180 seconds.)
2024-02-14 15:44:16 +0100rieper(~riepernet@2a03:4000:6:f1d6:6885:6fff:fe5a:8933)
2024-02-14 16:32:35 +0100scardinal(~supreme@0x573d64a9.static.cust.fastspeed.dk) (Ping timeout: 252 seconds)
2024-02-14 16:34:07 +0100scardinal(~supreme@0x573d64a9.static.cust.fastspeed.dk)
2024-02-14 17:22:48 +0100MrElendig(~Urist@archlinux/op/MrElendig) (Quit: exterminate exterminate exterminate)
2024-02-14 17:24:05 +0100MrElendig(~Urist@archlinux/op/MrElendig)
2024-02-14 18:11:32 +0100L29Ah(~L29Ah@wikipedia/L29Ah) ()
2024-02-14 19:34:19 +0100jeeeun8(~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
2024-02-14 19:57:42 +0100L29Ah(~L29Ah@wikipedia/L29Ah)
2024-02-14 20:39:27 +0100todi(~todi@pd9571068.dip0.t-ipconnect.de)
2024-02-14 20:57:30 +0100ft(~ft@p508db2e6.dip0.t-ipconnect.de)
2024-02-14 22:05:02 +0100nickstwist(~nickstwis@cpc140418-slou6-2-0-cust78.17-4.cable.virginm.net)
2024-02-14 22:06:54 +0100 <nickstwist> hi there, i am having a bit of trouble with Xmobar. it's basically that i'd like to use an xmobarColor for xmobarBorder. i keep getting an error when this happens (unfortunately i cannot read this error because of a rendering issue with xmessage)
2024-02-14 22:07:47 +0100 <nickstwist> i can post the function of myXmobarPP if that would help? if anyone could point me in the right direction, i would really appreciate it :)
2024-02-14 22:07:49 +0100 <nickstwist> thanks very much
2024-02-14 22:09:32 +0100 <geekosaur> it should also be in xmonad.error
2024-02-14 22:09:59 +0100 <geekosaur> er, xmonad.errors
2024-02-14 22:10:25 +0100 <geekosaur> with XDG it's ~/.local/share/xmonad/xmonad.errors, otherwise ~/.xmonad/xmonad.errors
2024-02-14 22:11:32 +0100 <nickstwist> ah right. thank you, found it. that will help a lot going forward :)
2024-02-14 22:12:03 +0100 <nickstwist> i got this error
2024-02-14 22:12:10 +0100 <nickstwist> xmonad.hs:64:72: error: [GHC-83865]
2024-02-14 22:12:10 +0100 <nickstwist>     • Couldn't match type: String -> String
2024-02-14 22:12:11 +0100 <nickstwist>                      with: [Char]
2024-02-14 22:12:11 +0100 <nickstwist>       Expected: String
2024-02-14 22:12:12 +0100 <nickstwist>         Actual: String -> String
2024-02-14 22:12:12 +0100 <nickstwist>     • Probable cause: ‘magenta’ is applied to too few arguments
2024-02-14 22:12:13 +0100 <nickstwist>       In the second argument of ‘xmobarBorder’, namely ‘magenta’
2024-02-14 22:12:13 +0100 <nickstwist>       In the second argument of ‘(.)’, namely
2024-02-14 22:12:14 +0100 <nickstwist>         ‘xmobarBorder "Bottom" magenta 2’
2024-02-14 22:12:14 +0100 <nickstwist>       In the expression:
2024-02-14 22:12:15 +0100 <nickstwist>         wrap " [ " " ] " . xmobarBorder "Bottom" magenta 2
2024-02-14 22:12:15 +0100 <nickstwist>    |
2024-02-14 22:12:16 +0100 <nickstwist> 64 |     ,   ppVisible           = wrap " [ " " ] " . xmobarBorder "Bottom" magenta 2
2024-02-14 22:12:16 +0100 <nickstwist>    |                                                                        ^^^^^^^
2024-02-14 22:12:31 +0100 <nickstwist> whoops, the carets at the bottom are in the wrong place. they should be pointing at magenta.
2024-02-14 22:12:47 +0100 <nickstwist> replacing magenta with a string like "#ffffff" works
2024-02-14 22:12:57 +0100 <geekosaur> please use a pastebin next time
2024-02-14 22:13:00 +0100 <geekosaur> @where paste
2024-02-14 22:13:00 +0100 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2024-02-14 22:13:11 +0100 <nickstwist> oh right. my mistake, sorry about that
2024-02-14 22:13:36 +0100 <nickstwist> https://paste.tomsmeding.com/OI2jcpjv
2024-02-14 22:16:07 +0100 <geekosaur> I think you want the string "magenta", not a value (which appears to be a function)
2024-02-14 22:18:07 +0100 <nickstwist> unfortunately, using "magenta" will default to (i am guessing) xmonad's default definition for magenta. for instance, renaming the xmobarColor to foobar renders the element white instead of its intended light pink
2024-02-14 22:18:35 +0100 <nickstwist> https://paste.tomsmeding.com/sWnujXpd
2024-02-14 22:18:38 +0100 <nickstwist> this is the whole function
2024-02-14 22:21:01 +0100 <geekosaur> yes, "foobar" is not a color in X11's rgb.txt so it gets defaulted
2024-02-14 22:21:08 +0100 <geekosaur> a string is not a function
2024-02-14 22:25:30 +0100 <nickstwist> oh. right, i see. is there a way to pass the values assigned at the bottom to xmobarBorder?
2024-02-14 22:31:08 +0100 <nickstwist> sorry, i am a bit new to this
2024-02-14 22:36:56 +0100 <geekosaur> you need to use the string inside it, for example for foobar you want "#ff79c6"
2024-02-14 22:37:28 +0100 <geekosaur> you can't use foobar directly, it's not a color, it's a function which takes a string and wraps that in a color-setting xmobar command
2024-02-14 22:38:50 +0100 <nickstwist> ah i see. i was hoping there might have been a way to use the colours at the bottom as i wanted to dynamically change them with something like pywal
2024-02-14 22:39:21 +0100 <nickstwist> and thereby change the colours being used on xmobar based on the wallpaper set
2024-02-14 22:39:28 +0100 <geekosaur> I don't think xmobar lets you dynamically change them
2024-02-14 22:40:17 +0100 <nickstwist> sorry i meant something like the bottom of this file
2024-02-14 22:40:20 +0100 <nickstwist> https://github.com/unsafe-andrew/dotfiles/blob/master/xmonad.hs
2024-02-14 22:41:11 +0100 <nickstwist> where the colours are appended to the bottom of the file and then invoked elsewhere. i guess what i am doing currently is not quite that but rather wrapping the colour in a command, as you said
2024-02-14 22:42:32 +0100 <geekosaur> I would use `foobarColor = "ff79c6"` and then use `foobarColor` to define both `foobar` and the anonymous function for `ppVisible`
2024-02-14 22:50:53 +0100wlhn(~wenzel@ip-87-108-38-187.customer.academica.fi)
2024-02-14 22:51:15 +0100nickstwist(~nickstwis@cpc140418-slou6-2-0-cust78.17-4.cable.virginm.net) (Quit: Client closed)
2024-02-14 22:51:49 +0100nickstwist(~nickstwis@cpc140418-slou6-2-0-cust78.17-4.cable.virginm.net)
2024-02-14 22:53:15 +0100 <nickstwist> sorry, i am a little bit confused by what you meant geekosaur. i did the following which worked
2024-02-14 22:53:16 +0100 <nickstwist> https://paste.tomsmeding.com/hfVgC8nU
2024-02-14 22:54:14 +0100 <nickstwist> but did not quite understand what you meant by defining foobar, or the anonymous function
2024-02-14 22:54:48 +0100 <geekosaur> you (re)defined foobar there
2024-02-14 22:55:14 +0100 <geekosaur> the anonymous function is the value of ppVisible (and ppCurrent is another one)
2024-02-14 22:56:21 +0100 <nickstwist> oh i see what you mean now. sorry for the misunderstanding and thank you very much for your help :)
2024-02-14 22:56:54 +0100 <geekosaur> Haskell takes some gettin used to unless you have experience in another ML-family language
2024-02-14 22:57:19 +0100 <nickstwist> i do not, unfortunately. i picked up xmonad to learn haskell. it's very fun so far, but a bit different to get my head around
2024-02-14 23:29:52 +0100nickstwist(~nickstwis@cpc140418-slou6-2-0-cust78.17-4.cable.virginm.net) ()