Logs: freenode/#xmonad
| 2021-04-12 05:32:02 | <abhixec> | lol yeah I just checked my config it is defaultFloating and I need to give customFloating |
| 2021-04-12 05:32:08 | <Solid> | :) |
| 2021-04-12 05:32:22 | <abhixec> | Solid: x y w h do you know how I can calculate that? |
| 2021-04-12 05:32:34 | <brttmsn> | Solid: any idea how to make all steam games open in fullscreen mode and covering up xmobar? |
| 2021-04-12 05:32:50 | <brttmsn> | that's literally the only thing keeping me from using xmonad as my daily driver |
| 2021-04-12 05:33:13 | <Solid> | abhixec: x and y are the starting x and y positions of the window and w and h are the width and height; all are between 0 and 1 |
| 2021-04-12 05:33:30 | <Solid> | brttmsn: sounds like you need emwh and possibly fullscreen support |
| 2021-04-12 05:33:42 | <Solid> | try https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Hooks-EwmhDesktops.html |
| 2021-04-12 05:33:46 | <brttmsn> | i got emwh |
| 2021-04-12 05:34:11 | <Solid> | do you have the fullscreenEventHook as well? |
| 2021-04-12 05:35:09 | <brttmsn> | https://gitlab.com/brttmsn/dotfiles/-/tree/master/.xmonad |
| 2021-04-12 05:35:16 | <abhixec> | Solid: is there any software that get me that info or is it just trial and error? |
| 2021-04-12 05:35:33 | <brttmsn> | that's my xmonad config. If you scroll dow to main, you can see i got the emwh but im not sure how to add the fullscreenEventhook |
| 2021-04-12 05:37:28 | <Solid> | abhixec: this is sort of an xmonad internal thing, so probably no outside software to help here; although maybe xmonad can print the focused rectangle somehow, not sure right now |
| 2021-04-12 05:37:35 | <Solid> | the coordinates are all relative to the screen size |
| 2021-04-12 05:37:54 | <Solid> | so `RationalRect 0 0 w h` would start in the top left corner |
| 2021-04-12 05:38:15 | <Solid> | and `RationalRect 0 0 1 1` would just be a fullscreen window |
| 2021-04-12 05:39:17 | <Solid> | `RationalRect 0 0 1 (6/10)` would be something that covers 60% of your vertical scren-estate (think like a quake-like dropdown terminal), etc. |
| 2021-04-12 05:39:25 | <Solid> | s/scren/screen/ |
| 2021-04-12 05:40:08 | <Solid> | brttmsn: there is an example of how to add the fullscreenEventHook in the ewmh docks; what specifically are you having problems with? |
| 2021-04-12 05:41:34 | <brttmsn> | i just lack confidence and basically if something breaks, im worried i wont be able to restore my config |
| 2021-04-12 05:41:48 | <abhixec> | that helps a lot thanks Solid |
| 2021-04-12 05:41:52 | <brttmsn> | guess i can keep my original doc in my gitlab and edit a local file |
| 2021-04-12 05:42:49 | <Solid> | if something breaks you can just remove what you added :) |
| 2021-04-12 05:43:00 | <Solid> | and if the config doesn't compile you'll still be left with your old, working, version |
| 2021-04-12 05:43:14 | <Solid> | so nothing to be afraid of! |
| 2021-04-12 05:43:59 | <abhixec> | Solid: thanks with your help was able to figure out the window positioning and w/h I wanted for my emacs window *cheers* |
| 2021-04-12 05:44:17 | <Solid> | \o/ |
| 2021-04-12 05:44:19 | × | brttmsn quits (~brtt@2600:8804:8689:3f00::7646) (Quit: WeeChat 3.1) |
| 2021-04-12 05:50:19 | × | ml| quits (~ml|@unaffiliated/ml/x-3958674) (Ping timeout: 252 seconds) |
| 2021-04-12 05:52:19 | → | brttmsn joins (~brtt@2600:8804:8689:3f00::7646) |
| 2021-04-12 05:52:40 | <brttmsn> | okay im now in my xmonad. I added the fullscreenEventHook and now im getting an error |
| 2021-04-12 05:53:46 | <brttmsn> | its giving me an error about my logHook = dynamicLogWith PP xmobarPP |
| 2021-04-12 05:55:09 | × | GZJ0X_ quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 2021-04-12 05:55:28 | → | GZJ0X_ joins (~gzj@unaffiliated/gzj) |
| 2021-04-12 05:56:19 | <brttmsn> | okay i fixed that error and now im getting a new eror |
| 2021-04-12 05:56:21 | <brttmsn> | *error |
| 2021-04-12 05:58:55 | <brttmsn> | i dont even understand what the error is b/c im looking in the area of the error but there isn't anything there |
| 2021-04-12 05:59:11 | × | abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 240 seconds) |
| 2021-04-12 06:02:15 | <brttmsn> | okay this is weird. The thing that is giving an error is a closing squiggly bracket. |
| 2021-04-12 06:03:27 | → | ml| joins (~ml|@unaffiliated/ml/x-3958674) |
| 2021-04-12 06:03:41 | <brttmsn> | Solid: any idea why it would be giving me an error on a closing } when that is actually needed? |
| 2021-04-12 06:04:28 | <Solid> | brttmsn: that's not quite enough information for me to say anything ;) |
| 2021-04-12 06:04:29 | <Solid> | @where paste |
| 2021-04-12 06:04:29 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 2021-04-12 06:07:20 | <brttmsn> | okay how do i copy the section of code in vim and paste it at that website? |
| 2021-04-12 06:11:09 | <Solid> | uh I think you can copy things to the primary selection with "*y and to the clipboard with "+y |
| 2021-04-12 06:11:18 | <Solid> | but vim probably needs to be compiled with clipboard support for that |
| 2021-04-12 06:11:28 | <brttmsn> | yeah i dont think i have that |
| 2021-04-12 06:11:36 | <brttmsn> | im going to install leafpad and do it from there |
| 2021-04-12 06:11:49 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 2021-04-12 06:12:37 | → | notis joins (~notis@185.51.134.229) |
| 2021-04-12 06:13:04 | <brttmsn> | Solid: https://paste.tomsmeding.com/Kt0woiJE |
| 2021-04-12 06:15:43 | <Solid> | brttmsn: my guess would be wrong indentation |
| 2021-04-12 06:16:29 | <Solid> | first of all all `let` bindings must use the same indentation |
| 2021-04-12 06:17:26 | <Solid> | and I'm not actually sure haskell allows for a closing curly brace as the first thing on a line |
| 2021-04-12 06:17:37 | <Solid> | perhaps you need to indent that by a space or so |
| 2021-04-12 06:18:07 | <Solid> | oh also you aren't allowed let bindings at all in record syntax |
| 2021-04-12 06:18:58 | <brttmsn> | so i need to remove the let? |
| 2021-04-12 06:19:09 | <Solid> | yes |
| 2021-04-12 06:19:16 | <Solid> | move it up, perhaps |
| 2021-04-12 06:20:03 | <brttmsn> | okay let me try that |
| 2021-04-12 06:20:52 | <brttmsn> | moved the let up a line and now i still get that same error of the squiggly bracket |
| 2021-04-12 06:21:08 | <brttmsn> | if i take the let out, it gives me an error with the loghook in my main section |
| 2021-04-12 06:22:59 | <Solid> | can you perhaps paste your entire main function? |
| 2021-04-12 06:23:28 | <brttmsn> | that is my entire main function in that paste |
| 2021-04-12 06:24:12 | <brttmsn> | except for the default stuff at the bottom |
| 2021-04-12 06:27:24 | <Solid> | default stuff? |
| 2021-04-12 06:29:43 | <brttmsn> | https://paste.tomsmeding.com/gMSyVQKE |
| 2021-04-12 06:32:48 | <Solid> | what happens if you just do http://ix.io/2VO7 |
| 2021-04-12 06:32:54 | → | srk joins (~sorki@unaffiliated/srk) |
| 2021-04-12 06:33:14 | <Solid> | you're already mentioning a `myLogHook` in your `defaults`, so I don't see why you'd need one in main |
| 2021-04-12 06:34:08 | × | GZJ0X_ quits (~gzj@unaffiliated/gzj) (Read error: Connection reset by peer) |
| 2021-04-12 06:34:15 | <brttmsn> | if i do what you suggest, my xmobar doesnt display |
| 2021-04-12 06:34:28 | → | GZJ0X_ joins (~gzj@unaffiliated/gzj) |
| 2021-04-12 06:34:43 | <Solid> | btw, you may also just add `handleEventHook = handleEventHook def <+> fullscreenEventHook` to your `defaults` |
| 2021-04-12 06:34:49 | <Solid> | since that's where the config is build anyways |
| 2021-04-12 06:35:21 | <brttmsn> | well if i do what you suggest in your copy/paste, then i have no xmobar |
| 2021-04-12 06:35:56 | <Solid> | oh right because you're not giving defaults your xmobar process |
| 2021-04-12 06:35:59 | <Solid> | sigh |
| 2021-04-12 06:36:05 | <brttmsn> | yeah |
| 2021-04-12 06:36:22 | × | cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.1) |
| 2021-04-12 06:36:39 | <brttmsn> | Is there a way i might put xmobar in my loghook maybe? |
| 2021-04-12 06:36:54 | <Solid> | what does `myLogHook` looks like? |
| 2021-04-12 06:36:59 | <Solid> | s/ks/k/ |
| 2021-04-12 06:37:46 | <brttmsn> | myLogHook = return () |
| 2021-04-12 06:38:29 | <Solid> | that's what you get for just copying default values instead of only overwriting the ones you need |
| 2021-04-12 06:39:41 | <brttmsn> | huh? |
| 2021-04-12 06:40:44 | <Solid> | you're not supposed to copy `Config.hs` as it's the default config anyways (it even says so at the top) |
| 2021-04-12 06:40:55 | <Solid> | anyways, try something like this http://ix.io/2VO8 |
| 2021-04-12 06:47:56 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 2021-04-12 06:49:31 | <brttmsn> | when i try that, it kicks back an error |
| 2021-04-12 06:49:56 | <brttmsn> | tells me there is a lexical error at the end of the ppNoHiddenWindows line |
| 2021-04-12 06:52:35 | → | thc202 joins (~thc202@unaffiliated/thc202) |
| 2021-04-12 07:01:17 | <Solid> | eh you probably need to remove the comma at the end of the logHook |
| 2021-04-12 07:01:29 | <Solid> | sorry about that, non-standard formatting is a bit hard to get right on-the-fly ;) |
| 2021-04-12 07:32:11 | → | CosmosAtlas joins (~CosmosAtl@180.110.107.139) |
| 2021-04-12 07:38:56 | × | CosmosAtlas quits (~CosmosAtl@180.110.107.139) (Quit: WeeChat 3.1) |
| 2021-04-12 07:44:50 | → | idhugo joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) |
| 2021-04-12 08:01:34 | × | evanjs quits (~evanjs@075-129-098-007.res.spectrum.com) (Read error: Connection reset by peer) |
All times are in UTC.