Logs: freenode/#xmonad
| 2020-12-09 20:24:10 | <Solid> | ah I see |
| 2020-12-09 20:24:32 | <Solid> | sometimes I kind of wish ewmh would make it into core |
| 2020-12-09 20:24:52 | geekosaur | just went partway through the picom manual, didnt see anything that would stop it from working |
| 2020-12-09 20:25:08 | <geekosaur> | I think it's past time ewmh went into the core, to be honest |
| 2020-12-09 20:25:24 | <geekosaur> | we're at the point where so many things rely on it |
| 2020-12-09 20:26:35 | <ybenel> | my whole config rely on it |
| 2020-12-09 20:26:50 | <dminuoso> | geekosaur: Ohh it took me a while to get it. You're thinking of `scrot --select` right? |
| 2020-12-09 20:27:13 | <dminuoso> | I was really confused why scrot would need a grab at all. :) |
| 2020-12-09 20:27:41 | <geekosaur> | nope. scrot asserts a grab immediately so nothing's being drawn as it's recording the screen image (remember, X11 is multitasking) |
| 2020-12-09 20:30:00 | <geekosaur> | but it can't lock the server while xmonad has a keyboard (or mouse) grab up |
| 2020-12-09 20:32:35 | → | daphnis joins (~daphnis@cm-84.214.179.98.getinternet.no) |
| 2020-12-09 20:32:36 | → | daphnis_ joins (~daphnis@cm-84.214.179.98.getinternet.no) |
| 2020-12-09 20:42:52 | × | al3x27 quits (~plovs@85.254.75.80) (Quit: WeeChat 2.9) |
| 2020-12-09 20:45:28 | → | abhixec joins (~abhixec@c-67-169-141-95.hsd1.ca.comcast.net) |
| 2020-12-09 20:56:36 | <adder> | i have 12 workspaces, however they're ordered as 1 10 11 12 2 3 4 ... |
| 2020-12-09 20:56:41 | <adder> | instead of 1 .. 10 11 12 |
| 2020-12-09 20:56:48 | <adder> | how can i sort them numerically? |
| 2020-12-09 20:57:39 | <geekosaur> | how are you sorting them now? |
| 2020-12-09 20:57:41 | <adder> | even if i pass hardcoded list, it still sorts them like that |
| 2020-12-09 20:57:59 | <adder> | https://dpaste.com/EYN6CSBE |
| 2020-12-09 20:58:01 | <adder> | https://dpaste.com/EYN6CSBEG |
| 2020-12-09 20:58:36 | <adder> | i'm not sure what exactly does the sorting |
| 2020-12-09 21:03:20 | <fizzie> | That's a bit odd. Maybe something to do with IndependentScreens' workspace name marshalling? Because what you really have is 24 actual workspaces. |
| 2020-12-09 21:03:56 | <geekosaur> | and where are these being sorted, xmobar? if so I think you need to arrange for something smarter than "show" to convert a workspace number to a name |
| 2020-12-09 21:04:07 | <geekosaur> | with leading spaces or zeroes or something |
| 2020-12-09 21:04:19 | <adder> | yeah xmobar |
| 2020-12-09 21:04:43 | <geekosaur> | and yes, I'm guessing marshallSort is doing it |
| 2020-12-09 21:05:04 | <geekosaur> | https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Layout/IndependentScreens.hs#L184 |
| 2020-12-09 21:05:53 | <adder> | what can i do? i tried sorting the list |
| 2020-12-09 21:07:17 | <geekosaur> | as I said, you need to add leading spaces to the single-digit workspace names so they'll sort correctly. workspace names are strings in xmonad, not numbers |
| 2020-12-09 21:08:39 | <fizzie> | That said, that's not the behavior I'd've expected. The default `ppSort` for DynamicLog is getSortByIndex, which *should* be just based on the index of the tag in the workspace list, and IndependentScreens' marshallSort looks designed to just do the necessary mapping for that to continue to work. Maybe. |
| 2020-12-09 21:09:40 | <adder> | i had them sorted correctly, then i introduced independent screens |
| 2020-12-09 21:09:55 | <fizzie> | Well, that sort of proves something goes amiss there, I guess. |
| 2020-12-09 21:10:06 | <geekosaur> | that's what it looks like to me as well, but apparently it worked before adding marshallPP |
| 2020-12-09 21:10:18 | <geekosaur> | wait note that "sortNumeric" dangling before "main" |
| 2020-12-09 21:10:30 | <geekosaur> | wonder where that belongs… |
| 2020-12-09 21:10:30 | <adder> | yeah that's what i tried to sort it with |
| 2020-12-09 21:10:46 | <adder> | i tried in ghci and it sorts correctly |
| 2020-12-09 21:11:35 | <fizzie> | You could *try* stuffing that logic into your `ppSort` field, though it'd need some tweaking for that. |
| 2020-12-09 21:12:17 | <fizzie> | Basically, the equivalent of XMonad.Util.WorkspaceCompare's getSortByTag except with your comparison function. https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/src/XMonad.Util.WorkspaceCompare.html#getSortByTag |
| 2020-12-09 21:14:45 | <adder> | ok, i'll try something, thanks |
| 2020-12-09 21:16:41 | <fizzie> | I'm thinking the problem with IndependentScreens' marshallSort may be exactly that it handles marshalling and unmarshalling the physical workspace names, so that the sort function just sees the plain "1", "2", ..., but then the default sort function will fail to find indices for any of those because the config's workspace list will be "0_1", "0_2", ... and so on. |
| 2020-12-09 21:17:53 | <fizzie> | In which case it would in fact fall back to lexicographically sorting the names, because of mconcat [indexCompare `on` wsIndex, compare], and indexCompare Nothing Nothing = EQ. |
| 2020-12-09 21:18:12 | <geekosaur> | makes sense |
| 2020-12-09 21:18:24 | <geekosaur> | interesting that nobody reported it before |
| 2020-12-09 21:19:06 | <fizzie> | Back when I was using IndependentScreens, my workspace list was only from "1" to "9", otherwise I might've even noticed. :) |
| 2020-12-09 21:27:00 | geekosaur | just filed issues for both of today's bugs/warts |
| 2020-12-09 21:39:34 | × | abhixec quits (~abhixec@c-67-169-141-95.hsd1.ca.comcast.net) (Ping timeout: 258 seconds) |
| 2020-12-09 21:41:05 | × | geekosaur quits (82659a09@host154-009.vpn.uakron.edu) (Remote host closed the connection) |
| 2020-12-09 22:00:11 | × | fionnan quits (~fionnan@109.255.20.201) (Remote host closed the connection) |
| 2020-12-09 22:30:10 | × | de-vri-es quits (~de-vri-es@voyager.de-vri.es) (Quit: Bathrobe!) |
| 2020-12-09 22:30:50 | → | de-vri-es joins (~de-vri-es@voyager.de-vri.es) |
| 2020-12-09 22:31:19 | × | xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 258 seconds) |
| 2020-12-09 22:43:22 | × | mc47 quits (~yecinem@89.246.239.190) (Remote host closed the connection) |
| 2020-12-09 23:11:43 | × | nova quits (~novasenco@gateway/tor-sasl/novasenco) (Ping timeout: 240 seconds) |
| 2020-12-09 23:15:52 | × | adder quits (~adder@unaffiliated/adder) (Ping timeout: 246 seconds) |
| 2020-12-09 23:25:16 | → | adder joins (~adder@unaffiliated/adder) |
| 2020-12-09 23:27:07 | × | thc202 quits (~thc202@unaffiliated/thc202) (Quit: thc202) |
| 2020-12-09 23:27:50 | × | seschwar quits (~seschwar@unaffiliated/seschwar) (Quit: :wq) |
| 2020-12-09 23:29:22 | × | notis quits (~notis@185.51.134.229) (Ping timeout: 256 seconds) |
| 2020-12-09 23:53:39 | × | wonko7 quits (~wonko7@lns-bzn-55-82-255-183-4.adsl.proxad.net) (Ping timeout: 260 seconds) |
| 2020-12-10 00:30:39 | <adder> | i fixed the issue somehow... :) |
| 2020-12-10 00:31:16 | <adder> | the last issue is, clickable workspaces on xmobar. they broken when i introduced another screen, because now screens are "0_1", etc |
| 2020-12-10 00:31:20 | <adder> | this is my config: https://dpaste.com/2ATB5VNWD |
| 2020-12-10 00:31:28 | <adder> | i don't know how to pass screen id to clickable' |
| 2020-12-10 00:31:41 | <adder> | (or should i even do that in the first place) |
| 2020-12-10 00:33:01 | <adder> | sorry, this https://dpaste.com/GZ5D9ZRU2 |
| 2020-12-10 00:33:59 | <Liskni_si> | adder: see the commit body here https://github.com/xmonad/xmonad-contrib/commit/8e1268192587a662b96ab01eddd59cdf4e28b764 |
| 2020-12-10 00:34:53 | × | ybenel quits (~Mandalore@unaffiliated/ybenel) (Remote host closed the connection) |
| 2020-12-10 00:37:20 | <adder> | i'm unable to import the module |
| 2020-12-10 00:39:22 | <Liskni_si> | you'll need xmonad-contrib from git |
| 2020-12-10 00:44:18 | <adder> | i'm getting error when i try to install it https://dpaste.com/278LCZ6G9 |
| 2020-12-10 00:45:22 | <Liskni_si> | yeah, that's a known issue: https://github.com/xmonad/xmonad/pull/219#issuecomment-742126193 |
| 2020-12-10 00:45:45 | <Liskni_si> | you'll need to revert the last merge in xmonad, sorry about that |
| 2020-12-10 00:46:56 | × | daphnis quits (~daphnis@cm-84.214.179.98.getinternet.no) (Ping timeout: 240 seconds) |
| 2020-12-10 00:47:16 | × | daphnis_ quits (~daphnis@cm-84.214.179.98.getinternet.no) (Ping timeout: 240 seconds) |
| 2020-12-10 00:49:55 | <adder> | which commit should i go back to? and which repository? xmonad or xmonad-contrib? |
| 2020-12-10 00:50:59 | <Liskni_si> | xmonad, 5be975b4f23abe851ab59866f572d3301cb0119a |
| 2020-12-10 00:57:23 | <adder> | ok, i built it, but it's not in the path i think |
| 2020-12-10 01:26:42 | <adder> | i'm not sure how to use this clickablePP |
| 2020-12-10 01:32:39 | → | Filipinos joins (~ChanServ@190.6.204.67) |
| 2020-12-10 02:16:52 | → | materiyolo joins (~materiyol@112.204.171.225) |
| 2020-12-10 02:48:53 | → | nova joins (~novasenco@gateway/tor-sasl/novasenco) |
| 2020-12-10 03:07:50 | → | doct0rhu joins (~orctarorg@pool-72-88-158-154.nwrknj.fios.verizon.net) |
| 2020-12-10 03:15:34 | × | materiyolo quits (~materiyol@112.204.171.225) (Quit: WeeChat 2.9) |
| 2020-12-10 03:28:01 | × | theDon quits (~td@muedsl-82-207-238-168.citykom.de) (Ping timeout: 258 seconds) |
| 2020-12-10 03:29:58 | → | theDon joins (~td@muedsl-82-207-238-079.citykom.de) |
| 2020-12-10 03:55:50 | × | doct0rhu quits (~orctarorg@pool-72-88-158-154.nwrknj.fios.verizon.net) (Ping timeout: 260 seconds) |
| 2020-12-10 04:13:29 | × | growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2020-12-10 04:19:45 | × | ddellacosta quits (dd@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 240 seconds) |
| 2020-12-10 04:46:41 | → | materiyolo joins (~materiyol@112.204.171.225) |
| 2020-12-10 05:28:37 | × | heroux quits (sandroco@gateway/shell/insomnia247/x-enlxunxhvotsoyvh) (Ping timeout: 246 seconds) |
| 2020-12-10 05:35:47 | → | heroux joins (sandroco@gateway/shell/insomnia247/x-ntofnzsnzxymfmks) |
| 2020-12-10 05:53:04 | → | doct0rhu joins (~orctarorg@pool-72-88-158-154.nwrknj.fios.verizon.net) |
| 2020-12-10 06:05:41 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 2020-12-10 06:07:42 | → | palo1 joins (~weechat@c-base/crew/palo) |
| 2020-12-10 06:11:03 | × | palo quits (~weechat@c-base/crew/palo) (Ping timeout: 260 seconds) |
| 2020-12-10 06:11:04 | palo1 | is now known as palo |
| 2020-12-10 06:14:10 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 2020-12-10 06:29:56 | × | materiyolo quits (~materiyol@112.204.171.225) (Read error: Connection reset by peer) |
All times are in UTC.