Home liberachat/#xmonad: Logs Calendar

Logs on 2025-09-30 (liberachat/#xmonad)

02:46:55 × td_ quits (~td@i5387093F.versanet.de) (Ping timeout: 240 seconds)
02:48:54 td_ joins (~td@i5387093E.versanet.de)
03:34:28 ChubaDuba joins (~ChubaDuba@5.167.116.208)
04:21:09 × ChubaDuba quits (~ChubaDuba@5.167.116.208) (Quit: WeeChat 4.6.3)
05:52:48 × smashgrab quits (~smashgrab@188.166.8.80) (Quit: ZNC 1.7.2+deb3 - https://znc.in)
05:54:01 smashgrab joins (~smashgrab@188.166.8.80)
07:53:17 × ft quits (~ft@p4fc2a225.dip0.t-ipconnect.de) (Quit: leaving)
09:04:24 Enrico63 joins (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213)
09:05:47 × Enrico63 quits (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) (Client Quit)
10:46:50 × gauge quits (~gauge@user/gauge) (Read error: Connection reset by peer)
10:47:12 gauge joins (~gauge@user/gauge)
12:42:13 ChubaDuba joins (~ChubaDuba@37.112.224.14)
16:48:47 <haskellbridge> <iqubic (she/her)> https://kf8nh.com/_heisenbridge/media/matrix.org/wAgHFXkZEsBVIYJjNkPWOqtJ/M2ZYDXAku-w/2025-09-30_09-44-01.jpeg
16:49:54 <haskellbridge> <iqubic (she/her)> Solid: I've been using XMobar for a while, and I have a two headed setup (two monitors). The one issue I have is that the section of my bars showing workspace info is showing the same thing on both monitors. Is there a way I can change this to reflect the fact that I two monitors have two different windows open, and are showing two different workspaces? Relevant XMonad config here:...
16:49:59 <haskellbridge> ... https://github.com/IQubic/nixos-config/blob/master/hm/xmonad/XMonad.hs#L226
16:52:05 <haskellbridge> <iqubic (she/her)> Blue is for the currently focused workspace, white is for the visible but isn't focused workspaces. Grey is for the not visible but has windows workspaces.
17:24:08 <fizzie> I used to use IndependentScreens + two instances of dzen2, and IIRC it accomplished that sort of styling (where ppCurrent = "visible on the screen the bar is on", rather than "currently focused"), but I'm guessing the implementation was probably specific to IndependentScreens (where each screen has its own set of workspaces), so it's probably not that helpful other than maybe as inspiration.
17:24:50 <fizzie> (By the time I'd switched to "normal" XMonad-style workspaces, I'd also switched to a homegrown thing where a single program owned all the bars, and got structured data from XMonad with screen numbers in it, so it could also do the workspace colors in that style.)
17:33:37 <fizzie> I'm guessing it should be possible to achieve that via setting ppPrinters to a suitable WSPP (it looks like it would have all the relevant context), but I don't know if there's one already made.
17:35:54 <fizzie> There's at least https://xmonad.github.io/xmonad-docs/xmonad-contrib/XMonad-Hooks-StatusBar-WorkspaceScreen.html for annotating (visible) workspace names with the screen they're visible on, which isn't a million miles away from coloring them based on whether they're visible on a given screen X, but not quite it.
17:38:41 <fizzie> (Also it apparently works through ppRename, instead of ppPrinters.)
17:47:48 ft joins (~ft@p4fc2a225.dip0.t-ipconnect.de)
18:02:42 <haskellbridge> <iqubic (she/her)> Yeah, that's not quite what I want.
18:03:44 <haskellbridge> <iqubic (she/her)> Well, WorkspaceScreens isn't what I want!
18:13:15 <fizzie> I suspect it should be possible to accomplish what you want via a similar approach to WorkspaceScreen, though. You'd define a `formatForScreen :: ScreenId -> PP -> X PP` that'd do a similar match-by-tag-in-ppRename operation as WorkspaceScreen's combineWithScreen does, except instead of combining the number and name, you'd compare it against the passed-in screen and use it to add a desired color to
18:13:17 <fizzie> the name.
18:13:19 <fizzie> (And then do `formatForScreen 0 ppMain` / `formatForScreen 1 ppMain` in place of `pure ppMain`.)
18:13:21 <fizzie> But that's the DIY solution, and maybe someone else can suggest something a little simpler.
18:16:08 × ChubaDuba quits (~ChubaDuba@37.112.224.14) (Read error: Connection reset by peer)
19:00:27 <haskellbridge> <iqubic (she/her)> Yeah, that sounds good, but I'm not sure how to set that up!
19:00:35 Enrico63 joins (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213)
19:14:21 × Enrico63 quits (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) (Killed (ozone (No Spam)))
22:40:27 × bsima- quits (~bsima@2604:a880:400:d0::19f1:7001) (Quit: ZNC 1.8.2 - https://znc.in)
22:40:48 bsima joins (~bsima@bensima.com)
22:45:19 × berberman quits (~berberman@user/berberman) (Read error: Connection reset by peer)
22:46:30 berberman joins (~berberman@user/berberman)
23:42:25 <haskellbridge> <iqubic (she/her)> Is there a way to get my mouse cursor to snap to the center of the newly focused window when I change which window is focused?
23:46:19 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Actions-UpdatePointer.html

All times are in UTC on 2025-09-30.