2025/03/12

2025-03-12 01:48:27 +0100 <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.
2025-03-12 01:57:54 +0100 <Leary> beastwick: At a guess, the `sorter` field of the `XPConfig` argument could be also be used to filter.
2025-03-12 01:58:40 +0100 <geekosaur> it looks like you might be able to write it yourself
2025-03-12 02:00:02 +0100 <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
2025-03-12 02:00:52 +0100 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/src/XMonad.Actions.DynamicWorkspace… https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/src/XMonad.Prompt.Workspace.html#wo…
2025-03-12 02:01:15 +0100 <geekosaur> (that's if hacking sorter doesn't work…)
2025-03-12 02:03:47 +0100 <geekosaur> hm, not sure sorter would work (use with fuzzyMatch implies to me it would at best yield surprises) but searchPredicate might
2025-03-12 02:04:37 +0100 <geekosaur> it's a pity there's no general filter in XPConfig
2025-03-12 02:05:14 +0100_qw(~eqw@user/eqw) (Ping timeout: 260 seconds)
2025-03-12 02:06:39 +0100 <geekosaur> could easily be added backward-compatibly (default: pure (const True))
2025-03-12 02:07:10 +0100 <geekosaur> or just (const True) if it's not in X, but that may be too limiting
2025-03-12 02:07:15 +0100_qw(~eqw@user/eqw) eqw
2025-03-12 03:01:35 +0100deepy(deepy@user/deepy) (Ping timeout: 268 seconds)
2025-03-12 08:40:54 +0100catman(~catman@user/catman) (Quit: WeeChat 4.5.2)
2025-03-12 08:58:08 +0100catman(~catman@user/catman) catman
2025-03-12 09:22:35 +0100ft(~ft@p508db291.dip0.t-ipconnect.de) (Quit: leaving)
2025-03-12 16:14:21 +0100redgloboli(~redglobol@user/redgloboli) (Quit: ...enter the matrix...)
2025-03-12 16:15:58 +0100redgloboli(~redglobol@user/redgloboli) redgloboli