2023/08/09

2023-08-09 02:04:41 +0200hightower3(~hightower@141-136-199-12.dsl.iskon.hr)
2023-08-09 02:06:55 +0200hightower2(~hightower@43-215.dsl.iskon.hr) (Ping timeout: 240 seconds)
2023-08-09 02:29:58 +0200 <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"
2023-08-09 02:40:37 +0200Rydwxz(~rw@cpe-75-82-51-90.socal.res.rr.com)
2023-08-09 02:41:53 +0200 <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
2023-08-09 02:41:59 +0200 <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.
2023-08-09 02:43:33 +0200 <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?
2023-08-09 02:43:55 +0200 <geekosaur> it has to go via `stack exec` for that to work
2023-08-09 02:44:10 +0200 <Rydwxz> when I refresh xmonad with my old config, that was working before the debale began, it simply fails to run xmobar.
2023-08-09 02:46:35 +0200 <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!!
2023-08-09 02:46:53 +0200 <Rydwxz> I cannot get used to not using tabs, lol
2023-08-09 02:47:54 +0200 <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\
2023-08-09 02:49:20 +0200 <geekosaur[c]> Somewhere in there it has "xmobar", change that to "stack exec xmobar"
2023-08-09 02:49:32 +0200 <geekosaur[c]> As a string
2023-08-09 02:49:54 +0200 <Rydwxz> i see. that makes sense and is easy to do
2023-08-09 02:50:33 +0200 <Rydwxz> thanks a lot! hopefully that's all I need
2023-08-09 02:51:55 +0200 <Rydwxz> side note, how effective is deleting ~/.cabal ? will it have added any external paths that I don't know about?
2023-08-09 02:52:34 +0200 <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?
2023-08-09 02:54:36 +0200 <Rydwxz> or does that even matter?
2023-08-09 03:34:23 +0200 <geekosaur> `stack exec` should prefer its own, but you can point to ~/.local/bin/xmobar to be certain
2023-08-09 03:34:31 +0200 <geekosaur> I don't think it will matter
2023-08-09 03:35:06 +0200womp(~womp@h-46-59-56-27.A444.priv.bahnhof.se)
2023-08-09 03:39:58 +0200 <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?
2023-08-09 03:57:34 +0200 <Rydwxz> you could use allDesktops = True in the config
2023-08-09 03:58:11 +0200 <womp> Aha, great!! I will try that!
2023-08-09 03:59:13 +0200 <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
2023-08-09 03:59:49 +0200 <Rydwxz> I am beginner as well :)
2023-08-09 04:00:53 +0200 <womp> Anywhere in the config? Or under main?
2023-08-09 04:02:42 +0200 <Rydwxz> it's an option set in .xmobarrc
2023-08-09 04:02:48 +0200 <Rydwxz> https://codeberg.org/xmobar/xmobar/src/branch/master/etc/xmobar.hs here is an example
2023-08-09 04:03:10 +0200 <Rydwxz> it's on line 50 there
2023-08-09 04:03:46 +0200 <womp> And if I don't have my xmobar configured in haskell?
2023-08-09 04:03:57 +0200 <Rydwxz> it works the same in xmobarrc
2023-08-09 04:06:14 +0200 <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
2023-08-09 04:06:58 +0200 <Rydwxz> you should be able to integrate shell scripts in there, too, haven't got there myself yet
2023-08-09 04:09:03 +0200 <womp> Did not work. Xmobar stops showing.
2023-08-09 04:09:40 +0200 <Rydwxz> womp womp
2023-08-09 04:14:32 +0200 <womp> Tried top of config and bottom of config. It does not seem to work.
2023-08-09 04:22:03 +0200 <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)-
2023-08-09 04:23:20 +0200 <womp> Xmobar is probably the numer one window manager but this should not be difficult.
2023-08-09 04:23:34 +0200womp(~womp@h-46-59-56-27.A444.priv.bahnhof.se) (Quit: Client closed)
2023-08-09 04:32:14 +0200td_(~td@i53870913.versanet.de) (Ping timeout: 260 seconds)
2023-08-09 04:34:02 +0200td_(~td@i53870903.versanet.de)
2023-08-09 06:10:25 +0200 <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
2023-08-09 07:45:50 +0200[Leary](~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
2023-08-09 07:46:05 +0200[Leary](~Leary]@user/Leary/x-0910699)
2023-08-09 09:32:44 +0200 <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'
2023-08-09 10:11:55 +0200Rydwxz(~rw@cpe-75-82-51-90.socal.res.rr.com) (Ping timeout: 240 seconds)
2023-08-09 10:19:32 +0200cfricke(~cfricke@user/cfricke)
2023-08-09 11:05:05 +0200 <geekosaur> you need a `stack.yaml` in that directory telling stack to expose it
2023-08-09 11:05:11 +0200 <geekosaur> oh, they left
2023-08-09 11:06:48 +0200mc47(~mc47@xmonad/TheMC47)
2023-08-09 11:24:51 +0200ft(~ft@p3e9bcd02.dip0.t-ipconnect.de) (Quit: leaving)
2023-08-09 11:58:01 +0200fizzie(irc@selene.zem.fi) (Ping timeout: 244 seconds)
2023-08-09 12:13:08 +0200fizzie(~irc@selene.zem.fi)
2023-08-09 12:24:48 +0200thyriaen(~thyriaen@2a01:aea0:dd4:6b33:6245:cbff:fe9f:48b1)
2023-08-09 13:26:14 +0200womp(~womp@h-46-59-56-27.A444.priv.bahnhof.se)
2023-08-09 13:28:07 +0200hightower3(~hightower@141-136-199-12.dsl.iskon.hr) (Ping timeout: 246 seconds)
2023-08-09 13:56:40 +0200mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2023-08-09 13:57:32 +0200womp(~womp@h-46-59-56-27.A444.priv.bahnhof.se) (Quit: Client closed)
2023-08-09 14:05:19 +0200incertia(~incertia@209.122.71.127) (*.net *.split)
2023-08-09 14:05:19 +0200joshproehl(~quassel@user/joshproehl) (*.net *.split)
2023-08-09 14:05:19 +0200ghormoon(~ghormoon@ghorland.net) (*.net *.split)
2023-08-09 14:05:19 +0200bsima(~bsima@143.198.118.179) (*.net *.split)
2023-08-09 14:05:19 +0200pl(sid98063@id-98063.helmsley.irccloud.com) (*.net *.split)
2023-08-09 14:05:20 +0200dexter1(dexter@2a01:7e00::f03c:91ff:fe86:59ec) (*.net *.split)
2023-08-09 14:05:39 +0200incertia(~incertia@209.122.71.127)
2023-08-09 14:05:39 +0200joshproehl(~quassel@user/joshproehl)
2023-08-09 14:05:39 +0200ghormoon(~ghormoon@ghorland.net)
2023-08-09 14:05:39 +0200bsima(~bsima@143.198.118.179)
2023-08-09 14:05:39 +0200pl(sid98063@id-98063.helmsley.irccloud.com)
2023-08-09 14:05:39 +0200dexter1(dexter@2a01:7e00::f03c:91ff:fe86:59ec)
2023-08-09 14:15:02 +0200fizzie(~irc@selene.zem.fi) (Ping timeout: 260 seconds)
2023-08-09 14:32:24 +0200fizzie(~irc@selene.zem.fi)
2023-08-09 14:44:09 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 260 seconds)
2023-08-09 14:58:54 +0200hightower2(~hightower@85.94.71.188)
2023-08-09 16:30:27 +0200cfricke(~cfricke@user/cfricke)
2023-08-09 18:11:41 +0200Rydwxz(~rw@cpe-75-82-51-90.socal.res.rr.com)
2023-08-09 18:31:42 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 246 seconds)
2023-08-09 18:38:21 +0200Rydwxz(~rw@cpe-75-82-51-90.socal.res.rr.com) (Ping timeout: 246 seconds)
2023-08-09 19:05:24 +0200jeeeun(~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
2023-08-09 19:08:02 +0200jeeeun(~jeeeun@78.40.148.178)
2023-08-09 19:29:30 +0200jeeeun(~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
2023-08-09 19:34:43 +0200jeeeun(~jeeeun@78.40.148.178)
2023-08-09 20:14:41 +0200telser(~quassel@user/telser)
2023-08-09 20:35:37 +0200 <thyriaen> is A $ B $ C $ D the same as A ( B ( C ( D ))) ?
2023-08-09 20:44:23 +0200 <geekosaur> yes
2023-08-09 20:45:14 +0200 <thyriaen> thanks
2023-08-09 20:46:46 +0200 <thyriaen> is A . B . C $ D identical to A $ B $ C D ?
2023-08-09 20:48:06 +0200 <geekosaur> yes
2023-08-09 20:49:07 +0200 <thyriaen> ok
2023-08-09 20:49:17 +0200 <thyriaen> i think i still don't understand, even though i kinda do :p
2023-08-09 20:49:56 +0200 <geekosaur> the first one is the primary identity of $. the second works because of partial application
2023-08-09 20:51:03 +0200 <thyriaen> doesn't make it better, i am sorry
2023-08-09 20:52:10 +0200 <geekosaur> play with it a bit
2023-08-09 21:18:15 +0200 <thyriaen> what is the keyword NS in xmonad scratchpads ?
2023-08-09 21:19:41 +0200womp(~womp@h-46-59-56-27.A444.priv.bahnhof.se)
2023-08-09 21:21:07 +0200 <geekosaur> it's not a keyword, it's just a constructor
2023-08-09 21:21:33 +0200 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Util-NamedScratchpad.html#t:…
2023-08-09 21:23:16 +0200 <thyriaen> ah ok thanks
2023-08-09 21:40:28 +0200 <thyriaen> geekosaur, how can i compile / restart xmonad even though no types have changed ?
2023-08-09 21:42:02 +0200 <geekosaur[c]> Yes, but you may need to mod-shift-space afterwards
2023-08-09 21:46:11 +0200ft(~ft@p3e9bcd02.dip0.t-ipconnect.de)
2023-08-09 21:47:23 +0200 <thyriaen> i don't have the original keybindings anymore
2023-08-09 21:47:26 +0200 <thyriaen> i'd need the commands :p
2023-08-09 21:49:45 +0200 <geekosaur> asks (layout . config) >>= setLayout
2023-08-09 21:53:40 +0200 <thyriaen> thanks
2023-08-09 22:21:21 +0200womp(~womp@h-46-59-56-27.A444.priv.bahnhof.se) (Quit: Client closed)
2023-08-09 23:11:54 +0200hightower2(~hightower@85.94.71.188) (Ping timeout: 246 seconds)
2023-08-09 23:18:27 +0200cfricke(~cfricke@user/cfricke)
2023-08-09 23:24:05 +0200b-jazz(~jasmerb@63.155.58.52) (Ping timeout: 246 seconds)
2023-08-09 23:26:49 +0200b-jazz(~jasmerb@63.155.104.170)