Logs: liberachat/#xmonad
| 2022-08-07 19:52:38 | <zim0369[m]> | geekosaur: do i give up? |
| 2022-08-07 19:54:16 | <geekosaur> | I have no idea what is going on. if nobody else here does then not sure what else you can do. (I also noticed you asked on #haskell:matrix.org) |
| 2022-08-07 19:55:29 | <zim0369[m]> | I tried to comment out stuff from my file but no success. |
| 2022-08-07 19:55:43 | <zim0369[m]> | I'm deleting configuration and following the docs again and again |
| 2022-08-07 19:55:50 | <zim0369[m]> | but still no luck |
| 2022-08-07 20:15:14 | <zim0369[m]> | umm... geekosaur there's one part I don't understand |
| 2022-08-07 20:15:20 | <zim0369[m]> | can you check if that has a problem |
| 2022-08-07 20:15:57 | <zim0369[m]> | https://paste.tomsmeding.com/vdUNowwy |
| 2022-08-07 20:19:23 | <geekosaur[m]> | If what has a problem? I'm missing some context |
| 2022-08-07 20:20:53 | <zim0369[m]> | umm.... I've checked all of the code |
| 2022-08-07 20:20:59 | <zim0369[m]> | config* |
| 2022-08-07 20:21:09 | <zim0369[m]> | commented out stuff other than vanilla configuration |
| 2022-08-07 20:21:38 | <zim0369[m]> | this part about hooks and stuff is the only one that I don't know how to comment out so that my config also compiles |
| 2022-08-07 20:21:53 | <zim0369[m]> | i suspect that this part might have some problem |
| 2022-08-07 20:23:26 | <zim0369[m]> | okay i commented out even that |
| 2022-08-07 20:23:28 | <zim0369[m]> | all of it |
| 2022-08-07 20:23:41 | <zim0369[m]> | nothing |
| 2022-08-07 20:23:49 | <geekosaur> | oh, that link didn;t make it to my phone matrix instance for some reason |
| 2022-08-07 20:24:03 | <geekosaur> | I've been seeing some dropouts on matrix, sadly |
| 2022-08-07 20:24:33 | <zim0369[m]> | it's okay |
| 2022-08-07 20:24:50 | <geekosaur> | that's correct as far as it goes, byt myEasySB adds a few more hooks |
| 2022-08-07 20:25:37 | <geekosaur> | sorry withEasySB |
| 2022-08-07 20:26:40 | <zim0369[m]> | i replaced that with `xmobarProp` that didn't work |
| 2022-08-07 20:26:41 | <geekosaur> | it should be okay to comment out the hooks although you may lose some other things |
| 2022-08-07 20:27:18 | <zim0369[m]> | yes, at the moment most of the stuff i customized has been commented out. it's pretty close to vanilla except for the keybindings |
| 2022-08-07 20:27:48 | <zim0369[m]> | https://paste.tomsmeding.com/px6Z7GD4 |
| 2022-08-07 20:27:57 | <zim0369[m]> | what else should i comment out? |
| 2022-08-07 20:28:53 | <zim0369[m]> | i've rearranged the file. main function at the bottom. I'll also try that config on my other machine |
| 2022-08-07 20:32:19 | <geekosaur> | commenting out docks and avoidStruts can only break things worse, xmobar would be covered up by any other window |
| 2022-08-07 20:37:14 | <zim0369[m]> | uncommented them |
| 2022-08-07 20:37:19 | <zim0369[m]> | still same |
| 2022-08-07 20:43:57 | <geekosaur> | https://paste.tomsmeding.com/fesccPQb is a really minimal config that should work with xmobar |
| 2022-08-07 20:44:18 | <geekosaur> | I ignored the avoidStruts for now since no windows would be opened by it |
| 2022-08-07 20:45:15 | <geekosaur> | https://paste.tomsmeding.com/ycuTbThn with the avoidStruts |
| 2022-08-07 20:45:26 | <geekosaur> | if this doesn't work then you really have a problem somewhere |
| 2022-08-07 20:45:49 | <geekosaur> | but that somewhere won't be xmonad because there's nothing to go wrong there |
| 2022-08-07 20:48:23 | <zim0369[m]> | geekosaur: do you want me to change those lines or edit those lines in my file accordingly? |
| 2022-08-07 20:49:06 | <geekosaur> | that is a complete xmonad.hs. copy your existing one somewhere and use that file as your xmonad.hs |
| 2022-08-07 20:49:23 | <geekosaur> | it's very minimal so there should be nothing to go wrong |
| 2022-08-07 20:49:25 | <zim0369[m]> | no need |
| 2022-08-07 20:49:35 | <geekosaur> | aside from possibly a PATH issue finding xmobar |
| 2022-08-07 20:49:44 | <zim0369[m]> | I probably mentioned it to you that |
| 2022-08-07 20:49:48 | <zim0369[m]> | my xmobar works with my old config |
| 2022-08-07 20:49:53 | <zim0369[m]> | but not with the new one |
| 2022-08-07 20:50:20 | <zim0369[m]> | but now i have an interesting find |
| 2022-08-07 20:50:21 | <zim0369[m]> | on my another machine |
| 2022-08-07 20:50:25 | <zim0369[m]> | the commented out config i sent you works |
| 2022-08-07 20:50:49 | <zim0369[m]> | I'm going to check my full new config again and brb with the results |
| 2022-08-07 21:15:21 | × | coco quits (~coco@212-51-146-199.fiber7.init7.net) (Quit: WeeChat 3.5) |
| 2022-08-07 21:26:40 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2022-08-07 21:29:47 | <zim0369[m]> | geekosaur: problem solved |
| 2022-08-07 21:29:59 | <zim0369[m]> | There's something wrong with my system itslef |
| 2022-08-07 21:30:04 | <zim0369[m]> | itself* |
| 2022-08-07 21:30:23 | <zim0369[m]> | I tried my xmonad config on my other machine with packages from aur |
| 2022-08-07 21:30:47 | <zim0369[m]> | and it worked |
| 2022-08-07 21:31:21 | <zim0369[m]> | now on my problematic machine i removed all the git xmonad stuff and installed from aur as i did on my other machine but still no success |
| 2022-08-07 21:32:12 | <zim0369[m]> | so i will reinstall my arch |
| 2022-08-07 21:32:27 | <zim0369[m]> | or rather install endeavorOS to not have to go through all the hassle |
| 2022-08-07 21:32:53 | <zim0369[m]> | Thankyou geekosaur you've helped me a lot. A lot! |
| 2022-08-07 21:33:00 | <zim0369[m]> | now I have a really amazing config |
| 2022-08-07 21:33:05 | <zim0369[m]> | thanks to you guys |
| 2022-08-07 21:33:38 | <zim0369[m]> | btw, the only thing i crave is jumping to layouts without having to cycle through them. hope we get to see that in xmonad soon. |
| 2022-08-07 21:34:45 | <geekosaur> | in what sense not cycling through them? JumpToLayout still cycles through them but you don';t see it |
| 2022-08-07 21:34:57 | <geekosaur> | sendMessage $ JumpToLayout "Full" |
| 2022-08-07 21:35:32 | <geekosaur> | just make sure to use the layout description as shown by xmobar, or use X.L.Renamed to name the layout so you know what it is |
| 2022-08-07 21:36:26 | <geekosaur> | if you're on 0.17 or later then you can just import XMonad.Layout.LayoutHelpers to get it; on 0.15 and earlier there's a hoop to jump through |
| 2022-08-07 21:37:16 | <zim0369[m]> | I mean suppose |
| 2022-08-07 21:37:21 | <zim0369[m]> | I have 3 layouts |
| 2022-08-07 21:38:02 | <zim0369[m]> | Full, tiled and 3col |
| 2022-08-07 21:38:11 | <zim0369[m]> | And i have a binding mod+space that cycles through myLayouts |
| 2022-08-07 21:38:43 | <geekosaur> | right, so then you could have a binding to sendMessage $ JumpToLayout "ThreeColumn" |
| 2022-08-07 21:38:45 | <zim0369[m]> | I want to put only two layouts in myLayouts -> tiled and 3col |
| 2022-08-07 21:39:10 | <zim0369[m]> | While i want to switch to full layout directly with mod+f |
| 2022-08-07 21:39:16 | <zim0369[m]> | That possible? |
| 2022-08-07 21:39:19 | <geekosaur> | alternately you can assign layouts to workspaces (see X.L.PerWorkspace) |
| 2022-08-07 21:39:42 | <geekosaur> | you still need it in the layout. why not just put it at the end and JumpToLayout it? |
| 2022-08-07 21:40:34 | <[Leary]> | It's annoying to have layout cycling pass through layouts you don't want it to. |
| 2022-08-07 21:40:37 | <zim0369[m]> | So if i have to switch from 3col to tiled |
| 2022-08-07 21:40:53 | <zim0369[m]> | Then ill have to cycle through full |
| 2022-08-07 21:41:09 | <zim0369[m]> | Annoying |
| 2022-08-07 21:41:46 | <geekosaur> | looking at the code, `setLayout $ Layout Full` *might* work. problem there is you necessarily lose the other layouts because you've just overwritten them |
| 2022-08-07 21:41:50 | × | logzet quits (~quassel@2001:9e8:e503:e800:dabb:c1ff:fed3:a1b9) (Ping timeout: 240 seconds) |
| 2022-08-07 21:41:57 | <geekosaur> | what magic did you expect that would undo it for you? |
| 2022-08-07 21:42:59 | <zim0369[m]> | I think it's a necessary feat. |
| 2022-08-07 21:43:03 | <geekosaur> | cabal repl likes it here |
| 2022-08-07 21:43:33 | <geekosaur> | so it sould have a magic place to save your layout so it should somehow know without being told that you want a different layout instead |
| 2022-08-07 21:43:48 | <zim0369[m]> | Btw geekosaur @geekosaur:libera.chat: have u tried instantwm? |
| 2022-08-07 21:44:51 | <geekosaur> | haven't run anything but xmonad since 2006 |
| 2022-08-07 21:44:53 | <zim0369[m]> | It is a wm from instantOS. You should take a look once. |
| 2022-08-07 21:45:14 | <zim0369[m]> | Btw, night geekosaur |
| 2022-08-07 21:45:23 | <zim0369[m]> | Im exhausted today |
| 2022-08-07 21:45:30 | <geekosaur> | so under what conditions is xmonad supposed to know to pull out the old list of layouts that you forcibly overwrote with setLayout? |
| 2022-08-07 21:46:43 | <geekosaur> | it would be possible to define a key sequence to force the layout back to its original shape. there is no way to have mod-space do that *and* cycle between layouts |
| 2022-08-07 21:46:59 | <geekosaur> | becuase it would never proceed past the first layout. |
| 2022-08-07 21:47:37 | <geekosaur> | maybe you could hack something up with ExtensibleState to know when you've forced Full and that it should unforce it instead of cycling |
| 2022-08-07 21:49:37 | <[Leary]> | No need to hack around; might as well just write the layout combinator. |
| 2022-08-07 21:50:33 | <geekosaur> | ToggleLayouts exists, I think. I'm just not sure it's what he(?) wants |
| 2022-08-07 21:50:45 | <geekosaur> | also MultiToggle |
| 2022-08-07 21:52:44 | <geekosaur> | I'm also not sure PerWorkspace or similar isn't a better solution |
| 2022-08-07 21:55:52 | <[Leary]> | I'm fairly sure they just want to toggle to and from an alternative layout without it cramping their regular layout cycling. I didn't know about X.L.ToggleLayouts; that's probably it. |
All times are in UTC.