Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 762 763 764 765 766 767 768 769 770 771 772 .. 1850
184,957 events total
2022-08-04 17:30:00 <geekosaur> a bunch of contrib layouts need to be modified to forward cleanup messages to inactive layouts / layout groups
2022-08-04 17:35:27 benin0 joins (~benin@2401:4900:2323:8106:8928:2ec0:5649:e0a1)
2022-08-04 17:37:39 <geekosaur> also as to maintainers, there are four of us. but three of them are pretty busy of late with other things so I'm kinda holding down the firt. that said Solid was on earlier
2022-08-04 17:37:53 <geekosaur> and liskin may peek in later
2022-08-04 17:40:46 × benin0 quits (~benin@2401:4900:2323:8106:8928:2ec0:5649:e0a1) (Quit: The Lounge - https://thelounge.chat)
2022-08-04 17:41:14 <geekosaur> *fort
2022-08-04 17:43:52 × byorgey quits (~byorgey@155.138.238.211) (Remote host closed the connection)
2022-08-04 17:44:52 <Guest8311> xmonad is the best tiling wm
2022-08-04 17:44:58 <Guest8311> I've tried everything out ther
2022-08-04 17:45:01 <Guest8311> there*
2022-08-04 17:45:07 <Guest8311> xmonad is far ahead
2022-08-04 17:45:16 <Guest8311> is it haskell that's holding it back?
2022-08-04 17:48:05 diep joins (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c)
2022-08-04 17:49:40 × Guest8311 quits (~Guest83@114.143.131.219) (Quit: Client closed)
2022-08-04 17:49:43 <geekosaur[m]> In the sense that lots of people are afraid of it, yes
2022-08-04 17:51:57 logzet joins (~quassel@2001:9e8:e50d:7a00:dabb:c1ff:fed3:a1b9)
2022-08-04 18:01:00 <geekosaur> and you're far from the only one who pops up looking for help with the syntax; I woke up this morning to find 5 or 6 of them with Solid trying to deal with all of them at once 🙂
2022-08-04 18:12:56 Guest8383 joins (~Guest83@114.143.131.219)
2022-08-04 18:13:21 <Guest8383> geekosaur I came across that fringing problem again
2022-08-04 18:13:32 <Guest8383> It was one of the reasons I had to write my config from scratch
2022-08-04 18:13:55 <geekosaur> fringing?
2022-08-04 18:14:02 <Guest8383> so it seems like "XMonad.Layout.SubLayouts" doesn't play well with decorations
2022-08-04 18:14:06 <Guest8383> wait ill send a picture
2022-08-04 18:15:03 <geekosaur> no, it's probably one that fails to send cleanup messages
2022-08-04 18:15:45 <Guest8383> https://imgur.com/a/dC917ey
2022-08-04 18:19:04 <Guest8383> Is there a way to fix this?
2022-08-04 18:19:29 <Guest8383> btw, the problem doesn't occur when I apply the decoration to both the layouts
2022-08-04 18:19:32 <Guest8383> i have
2022-08-04 18:19:35 <diep> ReHi guys, Im looking for a way to match on window property class with regex, I want to match "jetbrains-*", but cant figure out how to do this exactly. I found in docs XMonad.Util.WindowPropertiesRE but there is no example how to use these functions :/
2022-08-04 18:19:37 <geekosaur> the documentation says no
2022-08-04 18:19:43 <Guest8383> but I don't want the decorations on full
2022-08-04 18:19:51 <geekosaur> see the very bottom of https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-SubLayouts.html
2022-08-04 18:22:30 <geekosaur> diep, that's more for layouts like ComboP that want to use "managehooks" as part of a layout
2022-08-04 18:23:02 <geekosaur> if you have something that does regexp matching then you can use it with fmap / <$>
2022-08-04 18:24:51 <Guest8383> geekosaur but they mention that subtabbed works well
2022-08-04 18:24:58 <Guest8383> which is what im using but it fails
2022-08-04 18:25:15 <Guest8383> everything works well when I apply decorations to all the layouts
2022-08-04 18:25:16 <geekosaur> they say it works better but still has problems, as I read it
2022-08-04 18:25:31 <Guest8383> but it works well when i apply it to all the layouts
2022-08-04 18:25:39 <Guest8383> but i dont want decorations on full
2022-08-04 18:25:42 <Guest8383> so as a workaround
2022-08-04 18:25:52 <Guest8383> i thought that ill use jumptolayout
2022-08-04 18:25:57 <Guest8383> to switch to full
2022-08-04 18:26:09 <Guest8383> and remove full from my layouthook
2022-08-04 18:26:14 <Guest8383> how bout that?
2022-08-04 18:26:24 <geekosaur> jumpToLayout requires it to be part of your layout
2022-08-04 18:26:31 <Guest8383> ughh
2022-08-04 18:26:34 <geekosaur> setLayout doesn't
2022-08-04 18:26:54 <geekosaur> but will be lost of mod0q and in a few other situations
2022-08-04 18:26:55 <Guest8383> would that solve the problem then?
2022-08-04 18:26:59 <geekosaur> *on mod-q
2022-08-04 18:27:22 <Guest8383> lost on recompile and restart?
2022-08-04 18:27:23 <diep> geekosaur, ok
2022-08-04 18:27:33 <geekosaur> it might leave the decorations with no way to clear them since there would be no chance to send ReleaseResources
2022-08-04 18:27:54 <geekosaur> diep, it looks like WindowPropertiesRE gives you a match operator ~?
2022-08-04 18:28:00 <geekosaur> which works like =?
2022-08-04 18:28:07 <geekosaur> except it takes a regexp
2022-08-04 18:29:15 <diep> yes so I'll try to use it
2022-08-04 18:29:24 <diep> seems to be what Im looking for
2022-08-04 18:29:44 <diep> I just need to know how I write my regex pattern correctly
2022-08-04 18:29:58 <diep> maybe `"jetbrains-*"` is okay?
2022-08-04 18:30:10 <geekosaur> no, that's a glob
2022-08-04 18:30:42 <geekosaur> but if all you want is for it to match a prefix, how about XMonad.Hooks.ManageHelpers.^=
2022-08-04 18:30:55 <geekosaur> title ^= "jetbrains-"
2022-08-04 18:31:12 <diep> yes this is what Im looking for
2022-08-04 18:31:34 <diep> but ~? "jetbrains-.*" should work too isnt it?
2022-08-04 18:31:47 <geekosaur> yes, it'll just be slower
2022-08-04 18:32:02 <geekosaur> I tend to avoid regexp unless I really need it
2022-08-04 18:32:12 <diep> yes you're probably right
2022-08-04 18:32:17 <geekosaur> (and I've been using regexps for around 40 years…)
2022-08-04 18:32:37 <geekosaur> and in particular xmonad-extras drags in a bunch of other dependencies, not just regexps
2022-08-04 18:32:40 <Guest8383> this doesn't seem to work:
2022-08-04 18:32:41 <Guest8383>       ("M-u", setLayout "Full"),
2022-08-04 18:33:02 <geekosaur> no, it'd be `setLayout Full` without the quotes
2022-08-04 18:33:06 <diep> it was a long run 40 years^^
2022-08-04 18:33:41 <geekosaur> you're setting it to an actual layout, not to a name to be searched in the current layout
2022-08-04 18:38:18 <[Leary]> Guest8383: If you don't want `subTabbed` etc on `Full`, perhaps you can just move that under `myDecorate` in `tiled`?
2022-08-04 18:39:54 <geekosaur> hm, actually if that is your question then the fix is to replace Full with Simplest
2022-08-04 18:40:05 <geekosaur> but I thought it was about SideDecoration?
2022-08-04 18:41:08 <geekosaur> (come to think of it that might apply there as well, because Full prunes its window list in ways that can confuse layout modifiers, which is why Simplest exists and is used by tabbed)
2022-08-04 18:42:09 <diep> geekosaur: the operator from ManageHelpers to match a prefix is `^?` not `^=` :p
2022-08-04 18:42:20 <geekosaur> whoops, sorry
2022-08-04 18:42:32 <diep> of course no problem
2022-08-04 18:42:36 geekosaur is apparently trying to do too many things at once
2022-08-04 18:42:39 <diep> thx for the help
2022-08-04 18:42:46 <geekosaur> I already corrected that typo once even 😕
2022-08-04 18:44:09 <[Leary]> Well, the problem is just rearranging the layout so that we don't have myDecorate underneath subTabbed, which seems to be achievable if they want `something ||| Full`.
2022-08-04 18:44:46 <Guest8383> [Leary] It was an easy fix
2022-08-04 18:45:00 <Guest8383> myLayout = windowNavigation $ boringWindows $ (tiled ||| Full)
2022-08-04 18:45:01 <Guest8383>   where
2022-08-04 18:45:01 <Guest8383>     tiled = myDecorate $ subTabbed $ reflectHoriz $ Tall nmaster delta ratio
2022-08-04 18:45:02 <Guest8383>     nmaster = 1 -- Default number of windows in the master pane
2022-08-04 18:45:02 <Guest8383>     ratio = 1/2 -- Default proportion of screen occupied by master pane
2022-08-04 18:45:03 <Guest8383>     delta = 3/100 -- Percent of screen to increment by when resizing panes
2022-08-04 18:45:12 <Guest8383> I rewrote my entire config thinking everything was broken lol
2022-08-04 18:45:26 <Guest8383> moving subtabbed to tiled fixed everything
2022-08-04 18:45:42 <Guest8383> thank you so much [Leary] and geekosaur
2022-08-04 18:45:51 <Guest8383> you guys are absolutely great****
2022-08-04 18:46:28 <Guest8383> btw, do i then even need to apply windownavigation and boringwindows on all layouts or do i move them to tiled too?
2022-08-04 18:46:47 <geekosaur> up to you

All times are in UTC.