Logs: liberachat/#xmonad
| 2021-11-21 10:20:48 | <Vermoot> | (Yes, one of those) |
| 2021-11-21 10:22:06 | <Vermoot> | When I go fullscreen (either with F11 or on a youtube video), firefox *does* go fullscreen as it should (well, most of the time, sometimes it just goes windowed-fullscreen, randomly, I don't know why), but my xmobar is still visible above that |
| 2021-11-21 10:22:48 | <Vermoot> | This seems to be only with firefox; I tried with VLC and the bar does disappear behind the fullscreen window |
| 2021-11-21 10:37:42 | <Arcanus[m]> | <Arcanus[m]> "Solid: this is what i suspect as..." <- Aaaaand now it is well and truly borked. I'm going to have to try and hunt down everything and properly purge it then try to reinstall. Everything is all messed up and half installed/uninstalled, pacman cant purge the stack files, and i cant remember where everything went. This is just a mess, i seriously should have tried installing in a VM first |
| 2021-11-21 10:44:48 | <Arcanus[m]> | <Vermoot> "This seems to be only with..." <- That is strange once i get up and running again ill take a look at my configs...were you asking about fullscreen issues a day or two ago? I cant remember |
| 2021-11-21 10:45:15 | <Vermoot> | Hmmmmm I don't necessarily recall that but I might have been :D |
| 2021-11-21 10:45:56 | <Arcanus[m]> | Have a link to your dotfiles? |
| 2021-11-21 10:46:07 | <Vermoot> | Yes, let me just update my repo |
| 2021-11-21 10:47:37 | <Vermoot> | Here ya go https://github.com/Vermoot/dotfiles/blob/linux/xmonad/xmonad.hs |
| 2021-11-21 10:47:54 | <Vermoot> | Beware, it's a bit of a mess, I need to do some cleanup |
| 2021-11-21 10:54:13 | <Arcanus[m]> | It looks about as messy as mine, but there are definitely some differences as pertains to the full screen layout. I will check on my .hs file soon as i get back on my machine. Or if you want i shared it as an attachment in here either testerday or the day before if you feel like scrolling through the comments to hunt for it. It might provide some insight into what is missing |
| 2021-11-21 10:57:27 | <Vermoot> | When you talk about "the full screen layout", are you talking about the actual `Full` layout? |
| 2021-11-21 11:05:23 | <Arcanus[m]> | dunno yet...I'm about to look it up now |
| 2021-11-21 11:05:47 | <Vermoot> | Because I don't think my issue has to do with layouts, rather than hooks |
| 2021-11-21 11:11:08 | <Arcanus[m]> | you might be right...but have you tried avoid struts in myLayout?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/cf8ab93f699e7e07f1c61d3a15c9b222cfdbc7b0) |
| 2021-11-21 11:12:03 | <Vermoot> | Hmmm |
| 2021-11-21 11:12:20 | <Arcanus[m]> | and are you using xmobar you said? |
| 2021-11-21 11:12:24 | <Vermoot> | Struts *are* avoided to be honest |
| 2021-11-21 11:12:36 | <Vermoot> | I'm using xmobar and eww at the moment, soon only eww |
| 2021-11-21 11:12:45 | <Arcanus[m]> | or another status bar? |
| 2021-11-21 11:12:45 | <Arcanus[m]> | I have both a polybar and xmobar specific config |
| 2021-11-21 11:12:47 | <Vermoot> | They're both dock windows |
| 2021-11-21 11:13:34 | <Arcanus[m]> | https://gitlab.com/Archanus/4rchanus-xmonad.hs/-/blob/main/xmonad.hs.xmobar |
| 2021-11-21 11:14:36 | <Arcanus[m]> | I THINK this is public and therefore viewable, if it isn't let me know and I'll just copy the text into a script box |
| 2021-11-21 11:14:47 | <Vermoot> | It is |
| 2021-11-21 11:15:08 | <Vermoot> | I've added ManageDocks and avoidStruts; it's all the same |
| 2021-11-21 11:15:29 | <Arcanus[m]> | ok, I hope it helps at least a little...I can't recall having any issues with full screen using this config |
| 2021-11-21 11:16:04 | <Vermoot> | To be fair, I don't have a problem with docks/bars being visible/reserving struts; that works perfectly. It's only when I go fullscreen in firefox that the problem arises: those don't "hide", or go under the fullscreen window |
| 2021-11-21 11:16:14 | <Vermoot> | And only in firefox |
| 2021-11-21 11:16:55 | <thonoht[m]> | I have that too, isn't that known behavior with FF? I kinda like it. |
| 2021-11-21 11:17:02 | <Arcanus[m]> | this is very much a blind leading the blind situation tbh...I just nuked my whole xmonad setup and I have no idea how to get back to working condition so I'm going to have fun with that for a few hours |
| 2021-11-21 11:17:04 | <thonoht[m]> | When I want truly fullscreen I toggle the struts off |
| 2021-11-21 11:17:30 | <Vermoot> | Well it may be a known FF thing, but it's definitely not desirable |
| 2021-11-21 11:17:57 | <Vermoot> | I have a bar covering a portion of the video I'm watching, that's not ideal to say the least. When I go fullscreen I want it to be fullscreen :D |
| 2021-11-21 11:18:12 | <thonoht[m]> | Oh, it actually does go fullscreen |
| 2021-11-21 11:18:22 | <Vermoot> | I does, yes |
| 2021-11-21 11:18:23 | <thonoht[m]> | For me it just doesn't go fullscreen, firefox just fullscreens inside of its window box |
| 2021-11-21 11:18:49 | <Vermoot> | Yeah that happens sometimes too, but I don't quite know why. I don't want that either, I have a firefox extension to do that when I want to |
| 2021-11-21 11:18:59 | <thonoht[m]> | > We might also consider using the ewmhFullscreen combinator. By default, a “fullscreened” application is still bound by its window dimensions; this means that if the window occupies half of the screen before it was fullscreened, it will also do so afterwards. Some people really like this behaviour, as applications thinking they’re in fullscreen mode tend to remove a lot of clutter (looking at you, Firefox). However, because a lot of |
| 2021-11-21 11:18:59 | <thonoht[m]> | people explicitly do not want this effect (and some applications, like chromium, will misbehave and need some Hacks to make this work), we will also add the relevant function to get “proper” fullscreen behaviour here. |
| 2021-11-21 11:19:01 | <lambdabot> | <hint>:1:64: error: parse error on input ‘default’ |
| 2021-11-21 11:19:15 | <thonoht[m]> | This is from the configuration tutorial |
| 2021-11-21 11:19:41 | <thonoht[m]> | I actually have no idea how you got firefox to even go fullscreen |
| 2021-11-21 11:20:26 | <Vermoot> | I think with `handleEventHook = fullscreenEventHook <+> debugEventsHook` |
| 2021-11-21 11:20:47 | <Vermoot> | Anyway I'm also using ewmh and ewmhFullscreen |
| 2021-11-21 11:21:25 | <Vermoot> | tbf my firefox is minimalistic enough to begin with that I don't need to run it windowed-fullscreen anyway https://cdn.discordapp.com/attachments/635625925748457482/908720694186106880/2021-11-12_15-10-18.mp4 |
| 2021-11-21 11:21:31 | <thonoht[m]> | Wait, fullscreenEventHook is < 0.17, and ewmhFullscreen = >= 0.17 |
| 2021-11-21 11:21:42 | <Vermoot> | Well uuuuh |
| 2021-11-21 11:22:08 | <thonoht[m]> | Oh yeah, that's a pretty tweaked FF |
| 2021-11-21 11:22:09 | <Vermoot> | I guess I didn't know that, and used some older reddit posts haha |
| 2021-11-21 11:22:41 | <thonoht[m]> | Not sure what the consequences are, I'm no expert on Xmonad either |
| 2021-11-21 11:22:59 | <thonoht[m]> | But maybe read through the fullscreen section of https://xmonad.org/TUTORIAL.html if you haven't? |
| 2021-11-21 11:23:31 | <Vermoot> | I have |
| 2021-11-21 11:24:17 | <Vermoot> | But I'll take another look |
| 2021-11-21 11:24:20 | <Vermoot> | See what I missed |
| 2021-11-21 11:24:41 | <thonoht[m]> | I'm looking at the hacks module. But it appears to be only to fix Chrome |
| 2021-11-21 11:25:03 | <thonoht[m]> | * fix Chrome/ium |
| 2021-11-21 11:25:35 | → | seschwar joins (~seschwar@user/seschwar) |
| 2021-11-21 11:29:18 | <geekosaur> | it fixes a different issue with chromium |
| 2021-11-21 11:31:24 | <thonoht[m]> | I couldn't really make out what the issue was from the gifs there. |
| 2021-11-21 11:32:00 | <thonoht[m]> | Ah I think I got it |
| 2021-11-21 11:43:02 | × | noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Quit: my dad's not a phone!) |
| 2021-11-21 11:58:30 | <geekosaur> | basically when it does not-really-fullscreen it thinks it has gone fullscreen, and you have to juggle the window borders to make it redraw properly |
| 2021-11-21 12:00:43 | <Arcanus[m]> | ah...I have xmonad up and running again, and FF does indeed, not go fullscreen, whereas everything else does just fine (element, vlc are the ones I tried just now) |
| 2021-11-21 12:03:15 | <Vermoot> | I just cleaned up my config |
| 2021-11-21 12:03:19 | <Vermoot> | Can I just say |
| 2021-11-21 12:03:25 | <Vermoot> | GODDAMN I love vim and folds |
| 2021-11-21 12:04:43 | <thonoht[m]> | I love vim too, but I haven't used folds yet |
| 2021-11-21 12:04:51 | <Vermoot> | Get into folds |
| 2021-11-21 12:05:02 | <Vermoot> | They'll make your life 1% better |
| 2021-11-21 12:05:05 | <Vermoot> | Which is huge, tbh |
| 2021-11-21 12:05:09 | <Vermoot> | :D |
| 2021-11-21 12:05:17 | <thonoht[m]> | That's basically just folding code so it doesnt take much space right? |
| 2021-11-21 12:06:03 | <Vermoot> | Yeah |
| 2021-11-21 12:06:15 | <Vermoot> | It also makes organizing your code much easier imo |
| 2021-11-21 12:06:38 | <Vermoot> | You can fold by indent, syntax, or manual markers (which is what I do, mostly) |
| 2021-11-21 12:06:44 | <Vermoot> | You can have folds in folds in folds |
| 2021-11-21 12:07:01 | <Vermoot> | So for me it makes hierarchy much easier to visualize |
| 2021-11-21 12:07:18 | <thonoht[m]> | I have been taught from my C# days to hate regions, which is basically this. :P |
| 2021-11-21 12:07:20 | <Vermoot> | And it also makes files easier to navigate |
| 2021-11-21 12:08:10 | <thonoht[m]> | From this, I have taught myself to keep files small and navigate by a logical file structure. But especially with vim/emacs, I see lots of people working in multi-thousand line files again. |
| 2021-11-21 12:08:35 | <thonoht[m]> | It does make me kind of uncomfortable, but maybe at some point I'll get used to that |
| 2021-11-21 12:09:46 | <Vermoot> | Well yeah but even in my 251 lines xmonad config, which is far from being a huge file, it feels much neater to organize things by foldable sections |
| 2021-11-21 12:10:51 | <Arcanus[m]> | Vermoot: could you share an example perchance? I would like to see how much of a difference it makes |
| 2021-11-21 12:12:39 | <Vermoot> | Well |
| 2021-11-21 12:12:45 | <Vermoot> | You've seen my config earlier |
| 2021-11-21 12:12:52 | <Vermoot> | Here it is now https://github.com/Vermoot/dotfiles/blob/linux/xmonad/xmonad.hs |
| 2021-11-21 12:12:52 | <Arcanus[m]> | right |
| 2021-11-21 12:13:24 | <Vermoot> | use `zo` to open folds you're in or on, and `zc` to close them |
| 2021-11-21 12:13:45 | <thonoht[m]> | You have a type on line 98 |
| 2021-11-21 12:13:46 | <Vermoot> | (I think those are default keybinds in vim) |
| 2021-11-21 12:13:49 | <thonoht[m]> | I have a typo in that line |
| 2021-11-21 12:14:07 | <thonoht[m]> | s/type/typ<del>e</del>o/ |
| 2021-11-21 12:14:26 | <Arcanus[m]> | well it's a hell of a lot more organized and easier to read than my config that's for sure |
| 2021-11-21 12:14:26 | <thonoht[m]> | Let me see what folding does with my F# code |
| 2021-11-21 12:14:41 | <thonoht[m]> | Hmm, nothing. I guess that needs some more setting up |
| 2021-11-21 12:15:06 | <Vermoot> | thonoht[m], ah yeah, but that's not even a useful comment haha. Fixed, though, thanks. |
| 2021-11-21 12:15:57 | <Vermoot> | I also just discovered vim-easy-align, which is amazing. It makes it very easy to align `=` and `,` and such |
| 2021-11-21 12:16:10 | <Vermoot> | Makes cleanup a lot easier as well |
| 2021-11-21 12:19:42 | <thonoht[m]> | Yeah, I just happened to land my eyes on that line first thing, lol |
All times are in UTC.