Logs: liberachat/#xmonad
| 2021-06-14 23:35:38 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2021-06-15 00:07:12 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 2021-06-15 00:08:42 | → | mohab joins (~mohab@156.223.87.230) |
| 2021-06-15 00:13:39 | → | Czernobog joins (~Czernobog@user/czernobog) |
| 2021-06-15 00:31:35 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2021-06-15 00:41:07 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 2021-06-15 01:03:13 | × | mohab quits (~mohab@156.223.87.230) (Remote host closed the connection) |
| 2021-06-15 01:24:18 | → | _jak joins (~jak@c-69-143-32-118.hsd1.md.comcast.net) |
| 2021-06-15 01:26:31 | <_jak> | Hey y'all! I rotate my monitor on a pretty regular basis, and I was wondering if there was some way of having a two sets of layouts, one for when the monitor is landscape, another for when it's in portrait? |
| 2021-06-15 01:28:26 | <_jak> | assuming there's a env var with the orientation |
| 2021-06-15 01:29:48 | <geekosaur> | https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Layout/PerScreen.hs |
| 2021-06-15 01:30:05 | <geekosaur> | doesn't need git version, that was just easier for me to dig out |
| 2021-06-15 01:33:21 | <_jak> | geekosaur: outstanding, thanks! |
| 2021-06-15 01:39:56 | → | berberman joins (~berberman@user/berberman) |
| 2021-06-15 01:41:31 | × | berberman_ quits (~berberman@user/berberman) (Ping timeout: 272 seconds) |
| 2021-06-15 01:53:59 | → | jg joins (~jrgiacone@47.149.222.98) |
| 2021-06-15 01:54:57 | <jg> | howdy yall, kinda a pointless question, but I switched from the 0.15 version to the github 16.99 version. I konw I'm on the github version because I can use all of the new hooks, however, my system still thinks its on 0.15 from the --version, it is on 16.99 via stack build, is this a simple fix |
| 2021-06-15 01:55:32 | <geekosaur> | probably someone forgot to update a version string somewhere |
| 2021-06-15 01:55:44 | <geekosaur> | it'snot generated from the repo version information |
| 2021-06-15 01:56:19 | <jg> | it's no worries, ahh, yea when I built fresh on my laptop it worked fine, appreciate the insight geekosaur! its nbd was just curious |
| 2021-06-15 01:56:30 | <jg> | how've you been? |
| 2021-06-15 01:57:49 | × | kajzer quits (~themainma@user/themainman) (Quit: WeeChat 3.1) |
| 2021-06-15 01:58:59 | <geekosaur> | I stand corrected, it's supposed to be autogenerated after all (it's from Paths_xmonad). did you update both xmonad and xmonad-contrib? |
| 2021-06-15 01:59:30 | <jg> | yes sir, both are up to date via git pull from 10 min ago |
| 2021-06-15 01:59:39 | <geekosaur> | also it's possible to get things out of sync such that the xmonad you initially run is one version but your config is based on a different version, mainly by having xmonad installed twice in different directories |
| 2021-06-15 01:59:49 | <geekosaur> | this is harmless but confusing |
| 2021-06-15 02:00:04 | <jg> | yea that is likely it, I uninstalled the arch repo one, but heres prob shit still lingering |
| 2021-06-15 02:04:23 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 268 seconds) |
| 2021-06-15 02:05:59 | × | td_ quits (~td@muedsl-82-207-238-233.citykom.de) (Ping timeout: 252 seconds) |
| 2021-06-15 02:07:41 | → | td_ joins (~td@muedsl-82-207-238-227.citykom.de) |
| 2021-06-15 02:11:14 | × | jg quits (~jrgiacone@47.149.222.98) (Ping timeout: 272 seconds) |
| 2021-06-15 02:20:48 | × | _jak quits (~jak@c-69-143-32-118.hsd1.md.comcast.net) (Quit: leaving) |
| 2021-06-15 02:22:22 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2021-06-15 02:27:29 | → | jg joins (~jrgiacone@47.153.194.92) |
| 2021-06-15 02:31:30 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Ping timeout: 272 seconds) |
| 2021-06-15 02:52:31 | × | jg quits (~jrgiacone@47.153.194.92) (Quit: Lost terminal) |
| 2021-06-15 03:04:26 | × | td_ quits (~td@muedsl-82-207-238-227.citykom.de) (Ping timeout: 272 seconds) |
| 2021-06-15 03:05:44 | → | td_ joins (~td@muedsl-82-207-238-208.citykom.de) |
| 2021-06-15 03:35:21 | → | swebb98 joins (~swebb@c-68-61-15-82.hsd1.mi.comcast.net) |
| 2021-06-15 03:40:17 | <swebb98> | hello! I'm following the xmonad tutorial on github after having some trouble gettig my workspaces to appear in xmobar, but I'm getting an error when compiling and I'm not sure if I'm good enough with Haskell to figure it out |
| 2021-06-15 03:41:09 | <swebb98> | here's my error |
| 2021-06-15 03:41:11 | <swebb98> | Uploaded file: https://uploads.kiwiirc.com/files/a2f47f87a0a7ce6016b6549269b64a98/image.png |
| 2021-06-15 03:46:14 | × | benin036 quits (~benin@183.82.176.206) (Ping timeout: 272 seconds) |
| 2021-06-15 03:47:05 | → | benin036 joins (~benin@183.82.204.156) |
| 2021-06-15 04:31:47 | → | mohab joins (~mohab@156.223.87.230) |
| 2021-06-15 04:32:50 | × | mohab quits (~mohab@156.223.87.230) (Client Quit) |
| 2021-06-15 04:33:51 | → | mohab joins (~mohab@156.223.87.230) |
| 2021-06-15 04:34:02 | × | mohab quits (~mohab@156.223.87.230) (Client Quit) |
| 2021-06-15 04:59:42 | × | swebb98 quits (~swebb@c-68-61-15-82.hsd1.mi.comcast.net) (Ping timeout: 244 seconds) |
| 2021-06-15 05:22:21 | <Solid> | ?tell swebb98 that dollar sign is giving you troubles; remove it and you should be good |
| 2021-06-15 05:22:22 | <lambdabot> | Consider it noted. |
| 2021-06-15 06:46:54 | <tsujp> | Can XMonad.Actions.WindowGo take a window dynamically? Like, popup a box I type the name and then go to it or spawn a new one |
| 2021-06-15 06:47:15 | <tsujp> | Instead of having one hardcoded binding per window |
| 2021-06-15 06:51:00 | <Solid> | X.P.Window can dynamically go to windows; the "or spawn a new one" would require xmonad to know what to look for, so you'd have to enter a valid ManageHook which sounds... unergonomic to me |
| 2021-06-15 06:51:42 | <tsujp> | Okay, I'll use rofi instead for that -- I've tried to replace the default dmenu_run with rofi but it does nothing, any ideas there? |
| 2021-06-15 06:52:11 | <tsujp> | on the default config ((modm, xK_p), spawn "rofi -show drun") pressing mod1 + p does nothing |
| 2021-06-15 06:53:16 | <tsujp> | Hold up it's not reloading it's config? Is reloading config what recompiling does? |
| 2021-06-15 06:53:54 | <tsujp> | I thought I could just edit xmonad.hs and issue mod1 + q to reload the config? |
| 2021-06-15 06:53:56 | <Solid> | Yes; your config is a haskell program, so there's no "hot-reloading" as one could achieve with a normal config file |
| 2021-06-15 06:54:04 | <Solid> | M-q does recompile the config |
| 2021-06-15 06:54:20 | <Solid> | so that should indeed work |
| 2021-06-15 06:54:58 | <tsujp> | Ohh in the default config it's `xmonad --recompile` but unfortunately for me I am using `~/.cabal/bin/xmonad` because my distro's xmonad package is broken right now |
| 2021-06-15 06:55:06 | <tsujp> | so it's failing because the literal command `xmonad` doesn't exist |
| 2021-06-15 06:56:17 | <tsujp> | So, when I compile xmonad with cabal and it creates `~/.cabal/bin/xmonad` I also get this too `~/.xmonad/xmonad-x86_64-linux` -- should I issue `--recompile` against the cabal xmonad or the one inside `.xmonad`? |
| 2021-06-15 06:56:20 | <Solid> | that should be easily fixed by adding ~/.cabal/bin to $PATH |
| 2021-06-15 06:57:30 | <Solid> | yes the xmonad-ARCH binary is the one that's actually executed; you can safely issue a --recompile against the "normal" xmonad binary |
| 2021-06-15 06:57:41 | <Solid> | its smart enough to figure out what you mean and will generate a new xmonad-ARCH |
| 2021-06-15 06:58:42 | <tsujp> | so I don't actually need to ever reference `xmonad-ARCH` directly I can just `~/.cabal/bin/xmonad` to spawn xmonad, and then `~/.cabal/bin/xmonad --recompile` and then when I run xmonad again it's really running `xmonad-ARCH`? |
| 2021-06-15 06:58:58 | <Solid> | yes |
| 2021-06-15 06:59:03 | <tsujp> | Nice! |
| 2021-06-15 07:21:05 | <Czernobog> | For someone who has doesn't have a clue on how Haskell works and has only used i3 as tiling manager is it a good idea to switch to Xmonad?? |
| 2021-06-15 07:21:44 | <dminuoso> | Your decision. |
| 2021-06-15 07:21:55 | <dminuoso> | If you're already comfortable with i3, I dont think you will gain much. |
| 2021-06-15 07:22:26 | <Czernobog> | In terms of difficulty compared to i3 how would you rate it from 1 to 10? |
| 2021-06-15 07:22:35 | <dminuoso> | Haskell is rather different from many languages, so much of your configuration would be just blind copy+paste from various sources in the internet. |
| 2021-06-15 07:22:50 | <Czernobog> | That is true. |
| 2021-06-15 07:22:51 | <dminuoso> | Especially since xmonad/xmonad-contrib uses many advanced features |
| 2021-06-15 07:23:50 | <dminuoso> | Compared to i3 in what sense? What difficulty does i3 have on that scale? 5? |
| 2021-06-15 07:24:46 | <Czernobog> | In terms of learning wm, i3 is the go-to because it has a great guide, what would be next in your opinion? |
| 2021-06-15 07:25:54 | <Czernobog> | I think i3 would be like 1.. |
| 2021-06-15 07:26:36 | <dminuoso> | xmonad is on the far end of the scale. |
| 2021-06-15 07:27:16 | <Czernobog> | Then that would mean that it has a pretty tough learning curve eh |
| 2021-06-15 07:27:37 | <dminuoso> | Well, the thing is you can usually get pretty far by just blindly copy+pasting what others have done |
| 2021-06-15 07:27:53 | <dminuoso> | But understanding the detail of it or modifying it to suit your needs.. can be rough |
| 2021-06-15 07:28:18 | <Czernobog> | You're definitely right about that. |
| 2021-06-15 07:28:24 | <dminuoso> | But you do have absolute freedom with xmonad |
| 2021-06-15 07:28:52 | <dminuoso> | Because it's not just a configuration language, but rather a wm-library with freely programmable parts in between, you can make it do almost anything you want. |
| 2021-06-15 07:29:53 | <Czernobog> | So, if I know the language I am basically invincible |
| 2021-06-15 07:30:22 | <Solid> | haskell makes you into a superhero, yes :) |
| 2021-06-15 07:30:37 | <Czernobog> | hmm? |
| 2021-06-15 07:31:01 | Solid | just like making bad jokes |
| 2021-06-15 07:31:08 | <Solid> | s/e/es/ |
| 2021-06-15 07:31:34 | <Solid> | Czernobog: we do have a tutorial that's (suposed to be) beginner friendly: https://github.com/xmonad/xmonad/blob/master/TUTORIAL.md |
| 2021-06-15 07:32:08 | <Czernobog> | Thank you! |
| 2021-06-15 07:35:04 | <dminuoso> | If you want to learn Haskell though, xmonad is a terrible place to start. |
| 2021-06-15 07:35:48 | <Solid> | dminuoso: I think the core is a pretty good first "real-world Haskell project" to look at |
| 2021-06-15 07:36:46 | <dminuoso> | Solid: Except nothing of it is idiomatic Haskell, really. |
| 2021-06-15 07:36:58 | <dminuoso> | As in: |
| 2021-06-15 07:37:14 | <dminuoso> | It's easier to start with something simple like how do lists work, how does `length` work |
| 2021-06-15 07:37:20 | <dminuoso> | How do we use recursion to implement loops with |
All times are in UTC.