Logs: liberachat/#xmonad
| 2022-08-15 19:37:49 | <geekosaur> | ok, so that shouldn't collide |
| 2022-08-15 19:38:12 | isaacthekind[m] | uploaded an image: (123KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/LJkqjFyWFUrlzpTVIzAGJpNX/image.png > |
| 2022-08-15 19:38:14 | <isaacthekind[m]> | this is my dir structure |
| 2022-08-15 19:38:20 | <isaacthekind[m]> | then this is how i call it in xmonad.hs |
| 2022-08-15 19:38:38 | isaacthekind[m] | uploaded an image: (515KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/JTEKSvsALonfVkTZulZgizDg/image.png > |
| 2022-08-15 19:38:41 | <isaacthekind[m]> | code is a bit cluttered atm |
| 2022-08-15 19:39:17 | <geekosaur> | directory structure doesn't really matter here, the questions are (a) is it actually getting rebuilt? (b) where is the executable getting put? |
| 2022-08-15 19:40:27 | <isaacthekind[m]> | yeah i'm not sure how to approach those questions |
| 2022-08-15 19:40:39 | <isaacthekind[m]> | aside from just spending a bunch of time learning cabal (which i do intend to do at some point) |
| 2022-08-15 19:44:46 | <geekosaur> | when you make changes to your xmobar.hs, do you do anything else afterward? |
| 2022-08-15 19:45:33 | <isaacthekind[m]> | not consistently, cause i can't figure out what works. i've tried building after, installing, updating, recompiling and restarting xmonad |
| 2022-08-15 19:45:38 | <isaacthekind[m]> | none of those seemed to do it |
| 2022-08-15 19:45:51 | <geekosaur> | "cabal install" in the same directory as your xmobar.hs |
| 2022-08-15 19:46:02 | <geekosaur> | (no package name) |
| 2022-08-15 19:48:36 | <geekosaur> | after that, presuming you're using `withEasySB`, you press `mod-q` to restart xmonad and xmobar/xmobad |
| 2022-08-15 19:52:03 | <geekosaur> | hm, XMonadLog. so you're doing it the old way with a pipe? then `mod-q` should work. but if you're using `withEasySB` you probably aren't using a pipe to communicate with xmobad and things won't work well |
| 2022-08-15 19:53:51 | <isaacthekind[m]> | hmm |
| 2022-08-15 19:53:54 | <isaacthekind[m]> | no effect |
| 2022-08-15 19:54:18 | <isaacthekind[m]> | idx about pipe, i haven't been able to play with it at all yet cause i can't get it to respond to config changes |
| 2022-08-15 19:54:32 | <isaacthekind[m]> | s/idx/idk/ |
| 2022-08-15 20:04:54 | <isaacthekind[m]> | also one separate q wrt xmonad. i notice i have a case where i can use ++ or ^++^, i've never seen the latter before, and i can't find any docs on it. could someone explain what that is |
| 2022-08-15 20:07:40 | <geekosaur> | I have no idea, it's not a standard operator or one we define? |
| 2022-08-15 20:08:17 | <isaacthekind[m]> | https://github.com/altercation/dotfiles-tilingwm/blob/master/.xmonad/xmonad.hs |
| 2022-08-15 20:08:26 | <isaacthekind[m]> | check line 1204 |
| 2022-08-15 20:08:37 | <isaacthekind[m]> | he uses a bunch of them around there |
| 2022-08-15 20:13:09 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-NamedActions.html#v:-94--43--43--94- |
| 2022-08-15 20:13:20 | <geekosaur> | it apparently combines named keymaps |
| 2022-08-15 20:13:40 | <isaacthekind[m]> | ohh i see |
| 2022-08-15 20:13:42 | <geekosaur> | (the `Submap "name here" (` things) |
| 2022-08-15 20:14:27 | <isaacthekind[m]> | i bet the list it's producing is actually not of the right type when i use the normal concat |
| 2022-08-15 20:14:28 | <isaacthekind[m]> | thank you for finding that |
| 2022-08-15 20:14:55 | × | Forkk_ quits (~forkk@li926-228.members.linode.com) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
| 2022-08-15 20:15:00 | <geekosaur> | it's a wrapped list that has to be combined specially, I think |
| 2022-08-15 20:18:05 | → | Forkk joins (~forkk@li926-228.members.linode.com) |
| 2022-08-15 20:20:50 | <isaacthekind[m]> | ok noted |
| 2022-08-15 20:21:35 | → | noex joins (~null@user/noex) |
| 2022-08-15 20:42:39 | × | logzet quits (~quassel@2001:9e8:e518:c800:dabb:c1ff:fed3:a1b9) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 2022-08-15 20:58:39 | × | noex quits (~null@user/noex) (Quit: :q!) |
| 2022-08-15 21:06:07 | × | diep quits (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) (Remote host closed the connection) |
| 2022-08-15 21:08:28 | <isaacthekind[m]> | Solid: if you're around later today to answer a q or two about using a haskell xmobar config, that would be killer. |
| 2022-08-15 22:16:33 | → | sagax joins (~sagax_nb@user/sagax) |
| 2022-08-15 22:39:31 | × | steve_ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 248 seconds) |
| 2022-08-15 22:46:50 | → | noex joins (~null@user/noex) |
| 2022-08-15 22:50:26 | → | h7x4[m] joins (~h7x4naniw@2001:470:69fc:105::1:f33d) |
| 2022-08-15 23:25:47 | × | noex quits (~null@user/noex) (Quit: :q!) |
| 2022-08-15 23:57:28 | → | tikosh joins (~tikosh@2601:201:301:c5e0::a254) |
| 2022-08-15 23:58:43 | <tikosh> | I attempt to have three instances of xmobar on my xmonad system. but every time I compile i get variable not in scope xmproc |
| 2022-08-15 23:59:11 | <tikosh> | I feel like an idiot sometimes interacting to make haskell code especially as a novice |
| 2022-08-16 00:03:29 | <tikosh> | here is the xmonad.hs https://dpaste.com/GPZ8RUDDW |
| 2022-08-16 00:10:19 | <geekosaur> | you can't refer to `xmproc0` inside of `myConfig` unless you pass it in as a parameter |
| 2022-08-16 00:10:38 | <tikosh> | so change it to default? |
| 2022-08-16 00:10:49 | <geekosaur> | also, why are you using both the old (`xmproc <- ...`) and new (`withEasySB`) ways at the same time? |
| 2022-08-16 00:11:10 | <tikosh> | I guess i wanted to have def toggle struts key too |
| 2022-08-16 00:11:48 | <geekosaur> | you're going to end up with 4 xmobars running all on top of each other |
| 2022-08-16 00:11:56 | <tikosh> | yea |
| 2022-08-16 00:11:56 | <geekosaur> | this doesn't make a whole lot of sense |
| 2022-08-16 00:12:00 | <tikosh> | i know |
| 2022-08-16 00:12:05 | <tikosh> | sorry about that |
| 2022-08-16 00:12:23 | <tikosh> | I don't know, okay? I'm a noob |
| 2022-08-16 00:13:08 | <geekosaur> | https://paste.tomsmeding.com/KfH4fNn2 |
| 2022-08-16 00:13:58 | <tikosh> | what does the xmp do? |
| 2022-08-16 00:14:07 | <geekosaur> | personally I'd get rid of the xmproc-s and such and let withEasySB do it |
| 2022-08-16 00:14:43 | <geekosaur> | if you look at line 30, I'm passing `xmproc0` to `myConfig`. `xmp` is what it's called inside `myConfig` |
| 2022-08-16 00:17:21 | <geekosaur> | https://paste.tomsmeding.com/ibtgg0sr this should do just as well and gets rid of the need to create xmproc? explicitly and/or pass it around; withEasySB deals with it |
| 2022-08-16 00:18:41 | <isaacthekind[m]> | i'm trying to set backgrounds on multiple displays. so far i've tried nitrogen, but i was only able to set one display with it. it looks like there is a xmonad package for wallpapers, but it seems the wallpapers are associted with workspaces, which i don't want, i want them associated with physical monitors. if someone can give me a sense of best practice here, that would be awesome. |
| 2022-08-16 00:19:14 | <geekosaur> | if you later want more bars (say, on other screens) then you can use `withSB` to create them |
| 2022-08-16 00:19:55 | → | twiclo1 joins (~twiclo@mail.twil.cx) |
| 2022-08-16 00:20:01 | <tikosh> | okay |
| 2022-08-16 00:22:41 | <geekosaur> | isaacthekind[m], https://www.reddit.com/r/unixporn/comments/6c7nlx/question_how_to_assign_dual_monitor_wallpapers/ first answer here |
| 2022-08-16 00:23:04 | <geekosaur> | basically list one background for each monitor you have |
| 2022-08-16 00:23:24 | <isaacthekind[m]> | oh wow, that looks really straightforward |
| 2022-08-16 00:23:26 | <isaacthekind[m]> | thank you |
| 2022-08-16 00:28:41 | <tikosh> | i got issues with the sbloghook in the do curly brace thing under do https://dpaste.com/F9QYGQ64L |
| 2022-08-16 00:31:15 | <geekosaur> | I have no idea what it's supposed to be |
| 2022-08-16 00:31:35 | <tikosh> | okay |
| 2022-08-16 00:32:09 | <geekosaur> | perhaps just remove it; I would guess that it was supposed to mean "statusbar" but `withEasySB` deals with that already |
| 2022-08-16 00:35:16 | <tikosh> | i got it working. now, to get three instances of xmobar on three separate monitors, i attempt to use xmproc originally. I thought I could used the IndependentScreen import but I am still a noob. the documentation is fine to an extent, but I am a complete noob to it. |
| 2022-08-16 00:35:42 | <tikosh> | wanna see the working hs file? |
| 2022-08-16 00:36:00 | <geekosaur[m]> | IndependentScreens is fairly complicated |
| 2022-08-16 00:36:37 | <tikosh> | yea, I guess my ego got the best of me. there is allot I don't know. I want to put the func in FuncShui my desktop |
| 2022-08-16 00:38:08 | <geekosaur[m]> | Hooking it into xmobar is even more complicated and I would have to defer to Solid on that |
| 2022-08-16 00:38:43 | <tikosh> | wanna see a working xmonad.hs with polybar? i can share it if you like |
| 2022-08-16 00:38:52 | <tikosh> | it's only for one screen |
| 2022-08-16 00:39:04 | <tikosh> | since i have a laptop. |
| 2022-08-16 00:39:48 | <tikosh> | https://github.com/Ochoartu/dotfiles/blob/main/xmonad/xmonad-polybar.hs |
| 2022-08-16 00:41:24 | <tikosh> | other solutions tried to import qualified dbus and other things and found it too disorienting to me. I RTFMd the xmonad config tutorial and got great results. I wanted to be like DT from youtube. since, he is the Monad master, on xmonad |
| 2022-08-16 00:43:20 | <tikosh> | the version of xmonad this code runs for is 0.17. i was on 0.15 when the tutorial came out this year |
| 2022-08-16 01:00:53 | × | tikosh quits (~tikosh@2601:201:301:c5e0::a254) (Quit: Client closed) |
| 2022-08-16 01:16:23 | × | catman quits (~catman@user/catman) (Ping timeout: 256 seconds) |
| 2022-08-16 01:18:18 | → | catman joins (~catman@user/catman) |
| 2022-08-16 01:24:23 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.6) |
| 2022-08-16 01:27:38 | → | catman joins (~catman@user/catman) |
| 2022-08-16 01:48:51 | × | chomwitt quits (~chomwitt@2a02:587:dc15:5e00:ece7:3fb3:7c32:eccf) (Ping timeout: 248 seconds) |
| 2022-08-16 02:05:06 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 268 seconds) |
| 2022-08-16 02:06:48 | → | tikosh joins (~tikosh@2601:201:301:c5e0::dd98) |
| 2022-08-16 02:08:43 | <tikosh> | i finally got three xmoabar running on three separate monitor https://dpaste.com/EXJN3HB3D |
| 2022-08-16 02:09:25 | <tikosh> | i gotta thank geekosaur and the others for their help |
| 2022-08-16 02:10:10 | <tikosh> | also this link that helped me as well https://xmonad.github.io/xmonad-docs/xmonad-contrib/XMonad-Hooks-StatusBar.html |
| 2022-08-16 02:12:35 | <tikosh> | the xmproc crap was a bit disorienting and the line for the separate is much more digestible to understand |
| 2022-08-16 02:13:14 | <tikosh> | any book recommendations on Haskell for the latest year? |
All times are in UTC.