Home liberachat/#xmonad: Logs Calendar

Logs on 2025-03-12 (liberachat/#xmonad)

00:48:27 <beastwick> Hello, is there a simple way to filter out (not show) certain workspaces when using selectWorkspace from dynamic workspaces? I am guessing this might require an actual library edit.
00:57:54 <Leary> beastwick: At a guess, the `sorter` field of the `XPConfig` argument could be also be used to filter.
00:58:40 <geekosaur> it looks like you might be able to write it yourself
01:00:02 <geekosaur> it uses XMonad.Prompt.Workspace.workspacePrompt, which doesn't by itself sllow filtering but you could rewrite selectWorkspace (it's short and simple) to use a modified one that filtered out some workspaces
01:00:52 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/src/XMonad.Actions.DynamicWorkspaces.html#selectWorkspace https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/src/XMonad.Prompt.Workspace.html#workspacePrompt
01:01:15 <geekosaur> (that's if hacking sorter doesn't work…)
01:03:47 <geekosaur> hm, not sure sorter would work (use with fuzzyMatch implies to me it would at best yield surprises) but searchPredicate might
01:04:37 <geekosaur> it's a pity there's no general filter in XPConfig
01:05:14 × _qw quits (~eqw@user/eqw) (Ping timeout: 260 seconds)
01:06:39 <geekosaur> could easily be added backward-compatibly (default: pure (const True))
01:07:10 <geekosaur> or just (const True) if it's not in X, but that may be too limiting
01:07:15 _qw joins (~eqw@user/eqw)
02:01:35 × deepy quits (deepy@user/deepy) (Ping timeout: 268 seconds)
07:40:54 × catman quits (~catman@user/catman) (Quit: WeeChat 4.5.2)
07:58:08 catman joins (~catman@user/catman)
08:22:35 × ft quits (~ft@p508db291.dip0.t-ipconnect.de) (Quit: leaving)
15:14:21 × redgloboli quits (~redglobol@user/redgloboli) (Quit: ...enter the matrix...)
15:15:58 redgloboli joins (~redglobol@user/redgloboli)
18:01:52 ft joins (~ft@p508db291.dip0.t-ipconnect.de)
22:26:03 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 244 seconds)
22:27:14 dibblego joins (~dibblego@116-255-1-119.ip4.superloop.au)
22:27:14 × dibblego quits (~dibblego@116-255-1-119.ip4.superloop.au) (Changing host)
22:27:14 dibblego joins (~dibblego@haskell/developer/dibblego)

All times are in UTC on 2025-03-12.