Home liberachat/#xmonad: Logs Calendar

Logs on 2023-08-09 (liberachat/#xmonad)

00:04:41 hightower3 joins (~hightower@141-136-199-12.dsl.iskon.hr)
00:06:55 × hightower2 quits (~hightower@43-215.dsl.iskon.hr) (Ping timeout: 240 seconds)
00:29:58 <geekosaur> from matrix: "hello, I've been hacking at a script to display an image of my used keys for xmonad shortcuts (because I wanted to know what keys I still have xD). I'm curious to know if anyone else finds this helpful, if you do, it's here: https://github.com/iogrt/xmonadkeymap"
00:40:37 Rydwxz joins (~rw@cpe-75-82-51-90.socal.res.rr.com)
00:41:53 <Rydwxz> hello xmonad enthusiasts, I am an Arch and Xmonad newbie and I've gotten into trouble with compiler packages. I installed xmonad with stack as explained in the docs but due to getting mildly confused in the config tutorial, I installed xmobar with cabal-install. that was OK until, it seems, an arch update broke ghc and I discovered this after trying unsuccessfully to compile a custom, haskell-only version
00:41:59 <Rydwxz> of xmobar. Now, I am down to only stack installed, deleted ~/.cabal and pacman -R ghc. Xmobar has been reinstalled thru stack, but it's not able to find the compiler.
00:43:33 <Rydwxz> that is, when I try to run xmobar from the command line, I get xmobar: ghc: runProcess: exec: does not exist (No such file or directory) , but I thought stack would internally choose the correct compiler version for me?
00:43:55 <geekosaur> it has to go via `stack exec` for that to work
00:44:10 <Rydwxz> when I refresh xmonad with my old config, that was working before the debale began, it simply fails to run xmobar.
00:46:35 <Rydwxz> !thanks for that tip geekosaur, you're correct, that command gave me much more intesting results, errors related to the bad syntax I wrote in the config file!!
00:46:53 <Rydwxz> I cannot get used to not using tabs, lol
00:47:54 <Rydwxz> but how can I ensure that xmonad will call it thru stack like this? I am using withEasySB and statusBarProp as shown in the config\
00:49:20 <geekosaur[c]> Somewhere in there it has "xmobar", change that to "stack exec xmobar"
00:49:32 <geekosaur[c]> As a string
00:49:54 <Rydwxz> i see. that makes sense and is easy to do
00:50:33 <Rydwxz> thanks a lot! hopefully that's all I need
00:51:55 <Rydwxz> side note, how effective is deleting ~/.cabal ? will it have added any external paths that I don't know about?
00:52:34 <Rydwxz> is there a way to be certain that I'm calling the version of xmobar that was compiled by stack, not one that cabal left lying around?
00:54:36 <Rydwxz> or does that even matter?
01:34:23 <geekosaur> `stack exec` should prefer its own, but you can point to ~/.local/bin/xmobar to be certain
01:34:31 <geekosaur> I don't think it will matter
01:35:06 womp joins (~womp@h-46-59-56-27.A444.priv.bahnhof.se)
01:39:58 <womp> Hi. Beginner here. Have followed the "config-tut" now and managed to add some more (named.scratchpad and layouts). As a start it's working great! Finally I also have a question: How do I make xmobar appear on my second screen?
01:57:34 <Rydwxz> you could use allDesktops = True in the config
01:58:11 <womp> Aha, great!! I will try that!
01:59:13 <Rydwxz> i think that will work? may not be the exact behavior you're looking for. it's possible to have two instances displaying different things but I don't think that will do that
01:59:49 <Rydwxz> I am beginner as well :)
02:00:53 <womp> Anywhere in the config? Or under main?
02:02:42 <Rydwxz> it's an option set in .xmobarrc
02:02:48 <Rydwxz> https://codeberg.org/xmobar/xmobar/src/branch/master/etc/xmobar.hs here is an example
02:03:10 <Rydwxz> it's on line 50 there
02:03:46 <womp> And if I don't have my xmobar configured in haskell?
02:03:57 <Rydwxz> it works the same in xmobarrc
02:06:14 <Rydwxz> the only difference in using xmobar.hs is that you can add in new haskell libraries or write functions right in the file, and it'll get compiled automagically when xmobar runs
02:06:58 <Rydwxz> you should be able to integrate shell scripts in there, too, haven't got there myself yet
02:09:03 <womp> Did not work. Xmobar stops showing.
02:09:40 <Rydwxz> womp womp
02:14:32 <womp> Tried top of config and bottom of config. It does not seem to work.
02:22:03 <womp> I have searched alot for an answer to this. In the config-tut. xmobar is started withEasySB (statusBarProp) but everywhere I look on the net its xmproc (with 2 xmobarrc`s)-
02:23:20 <womp> Xmobar is probably the numer one window manager but this should not be difficult.
02:23:34 × womp quits (~womp@h-46-59-56-27.A444.priv.bahnhof.se) (Quit: Client closed)
02:32:14 × td_ quits (~td@i53870913.versanet.de) (Ping timeout: 260 seconds)
02:34:02 td_ joins (~td@i53870903.versanet.de)
04:10:25 <xmonadtrack> xmonad-contrib Tony Zorman * v0.17.1-170-g348df92b: X.U.Run: Fix definitions of >&&> and >||> (3 minutes ago, 1 file, 2+ 5-) https://github.com/xmonad/xmonad-contrib/commit/348df92b8933
05:45:50 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
05:46:05 [Leary] joins (~Leary]@user/Leary/x-0910699)
07:32:44 <Rydwxz> my linking woes are not over. I can run xmobar again, via stack exec, but trying to pass it a very simple xmobar.hs gives the apparently nonsensical error "could not find module 'Xmobar'
08:11:55 × Rydwxz quits (~rw@cpe-75-82-51-90.socal.res.rr.com) (Ping timeout: 240 seconds)
08:19:32 cfricke joins (~cfricke@user/cfricke)
09:05:05 <geekosaur> you need a `stack.yaml` in that directory telling stack to expose it
09:05:11 <geekosaur> oh, they left
09:06:48 mc47 joins (~mc47@xmonad/TheMC47)
09:24:51 × ft quits (~ft@p3e9bcd02.dip0.t-ipconnect.de) (Quit: leaving)
09:58:01 × fizzie quits (irc@selene.zem.fi) (Ping timeout: 244 seconds)
10:13:08 fizzie joins (~irc@selene.zem.fi)
10:24:48 thyriaen joins (~thyriaen@2a01:aea0:dd4:6b33:6245:cbff:fe9f:48b1)
11:26:14 womp joins (~womp@h-46-59-56-27.A444.priv.bahnhof.se)
11:28:07 × hightower3 quits (~hightower@141-136-199-12.dsl.iskon.hr) (Ping timeout: 246 seconds)
11:56:40 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
11:57:32 × womp quits (~womp@h-46-59-56-27.A444.priv.bahnhof.se) (Quit: Client closed)
12:05:19 × incertia quits (~incertia@209.122.71.127) (*.net *.split)
12:05:19 × joshproehl quits (~quassel@user/joshproehl) (*.net *.split)
12:05:19 × ghormoon quits (~ghormoon@ghorland.net) (*.net *.split)
12:05:19 × bsima quits (~bsima@143.198.118.179) (*.net *.split)
12:05:19 × pl quits (sid98063@id-98063.helmsley.irccloud.com) (*.net *.split)
12:05:20 × dexter1 quits (dexter@2a01:7e00::f03c:91ff:fe86:59ec) (*.net *.split)
12:05:39 incertia joins (~incertia@209.122.71.127)
12:05:39 joshproehl joins (~quassel@user/joshproehl)
12:05:39 ghormoon joins (~ghormoon@ghorland.net)
12:05:39 bsima joins (~bsima@143.198.118.179)
12:05:39 pl joins (sid98063@id-98063.helmsley.irccloud.com)
12:05:39 dexter1 joins (dexter@2a01:7e00::f03c:91ff:fe86:59ec)
12:15:02 × fizzie quits (~irc@selene.zem.fi) (Ping timeout: 260 seconds)
12:32:24 fizzie joins (~irc@selene.zem.fi)
12:44:09 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 260 seconds)
12:58:54 hightower2 joins (~hightower@85.94.71.188)
14:30:27 cfricke joins (~cfricke@user/cfricke)
16:11:41 Rydwxz joins (~rw@cpe-75-82-51-90.socal.res.rr.com)
16:31:42 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 246 seconds)
16:38:21 × Rydwxz quits (~rw@cpe-75-82-51-90.socal.res.rr.com) (Ping timeout: 246 seconds)
17:05:24 × jeeeun quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
17:08:02 jeeeun joins (~jeeeun@78.40.148.178)
17:29:30 × jeeeun quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
17:34:43 jeeeun joins (~jeeeun@78.40.148.178)
18:14:41 telser joins (~quassel@user/telser)
18:35:37 <thyriaen> is A $ B $ C $ D the same as A ( B ( C ( D ))) ?
18:44:23 <geekosaur> yes
18:45:14 <thyriaen> thanks
18:46:46 <thyriaen> is A . B . C $ D identical to A $ B $ C D ?
18:48:06 <geekosaur> yes
18:49:07 <thyriaen> ok
18:49:17 <thyriaen> i think i still don't understand, even though i kinda do :p
18:49:56 <geekosaur> the first one is the primary identity of $. the second works because of partial application
18:51:03 <thyriaen> doesn't make it better, i am sorry
18:52:10 <geekosaur> play with it a bit
19:18:15 <thyriaen> what is the keyword NS in xmonad scratchpads ?
19:19:41 womp joins (~womp@h-46-59-56-27.A444.priv.bahnhof.se)
19:21:07 <geekosaur> it's not a keyword, it's just a constructor
19:21:33 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Util-NamedScratchpad.html#t:NamedScratchpad
19:23:16 <thyriaen> ah ok thanks
19:40:28 <thyriaen> geekosaur, how can i compile / restart xmonad even though no types have changed ?
19:42:02 <geekosaur[c]> Yes, but you may need to mod-shift-space afterwards
19:46:11 ft joins (~ft@p3e9bcd02.dip0.t-ipconnect.de)
19:47:23 <thyriaen> i don't have the original keybindings anymore
19:47:26 <thyriaen> i'd need the commands :p
19:49:45 <geekosaur> asks (layout . config) >>= setLayout
19:53:40 <thyriaen> thanks
20:21:21 × womp quits (~womp@h-46-59-56-27.A444.priv.bahnhof.se) (Quit: Client closed)
21:11:54 × hightower2 quits (~hightower@85.94.71.188) (Ping timeout: 246 seconds)
21:18:27 cfricke joins (~cfricke@user/cfricke)
21:24:05 × b-jazz quits (~jasmerb@63.155.58.52) (Ping timeout: 246 seconds)
21:26:49 b-jazz joins (~jasmerb@63.155.104.170)
22:08:27 × thyriaen quits (~thyriaen@2a01:aea0:dd4:6b33:6245:cbff:fe9f:48b1) (Quit: Leaving)
22:38:10 hightower2 joins (~hightower@141-136-199-12.dsl.iskon.hr)
23:51:32 × tv quits (~tv@user/tv) (Ping timeout: 260 seconds)

All times are in UTC on 2023-08-09.