Logs: liberachat/#xmonad
| 2022-02-08 20:17:10 | <Solid> | e.g., there are some atoms that report the workspace state (active window/workspace, other workspaces, etc.); status bars can now use that information and display it without ever needing to interact with the window manager |
| 2022-02-08 20:17:11 | <geekosaur> | browsers generally insist on ewmh support these days |
| 2022-02-08 20:17:59 | <Solid> | e.g. cnx is a bar that exclusively works off of ewmh properties |
| 2022-02-08 20:19:20 | <twiclo> | Do I really need to go through this whole "Changing What XMonad Sends to Xmobar" section to modify things? I only want to remove the layout name and selected window from my bar |
| 2022-02-08 20:19:42 | <geekosaur> | ewmh support includes things like minimizing windows, statusbar support (not just what Solid is talking about but even just having space reserved for them), urgent windows, etc. |
| 2022-02-08 20:21:59 | <twiclo> | Okay well I added it just in case even though I don't think I'll be using any of that |
| 2022-02-08 20:25:58 | <twiclo> | Any input on my last question? |
| 2022-02-08 20:27:27 | <geekosaur> | xmonadPropdoesn't let you change anything at all, you need to switch to withEasySB (or the old-fashioned way in X.H.DynamicLog but it's even less friendly) if you want to make changes |
| 2022-02-08 20:31:17 | <twiclo> | Sounds good. I'll shelve that for another day then |
| 2022-02-08 20:40:08 | <galactic_starfis> | <geekosaur> "(ask >>= liftX . hasTag tg..." <- I should've seen that, I was being a fool, and trying to parse the information in a modifier in `doF` / the second arg of `-->`. Thanks again for the help, I'll make sure to run through that tutorial as well. |
| 2022-02-08 20:45:58 | × | twiclo quits (~twiclo@2604:7b80:2000:1069:52fc:cedd:fbeb:10c) (Quit: WeeChat 3.3) |
| 2022-02-08 20:50:04 | → | twiclo joins (~twiclo@2604:7b80:2000:1069:52fc:cedd:fbeb:10c) |
| 2022-02-08 20:50:58 | <twiclo> | Okay not sure what I chnaged but my old macro to open a browser (Mod+b) now moves my windows over xmobar |
| 2022-02-08 20:51:13 | <twiclo> | What can I check? It's not mapped to anything besides launching brave-browser |
| 2022-02-08 20:51:32 | × | mohab quits (~mohab@45.243.71.249) (Quit: WeeChat 3.4) |
| 2022-02-08 20:51:45 | <geekosaur> | that's the default binding for hiding docks, yes |
| 2022-02-08 20:51:56 | <geekosaur> | so you'll need to switch in order to override it |
| 2022-02-08 20:52:18 | → | mohab joins (~mohab@45.243.71.249) |
| 2022-02-08 20:52:21 | <twiclo> | What are docks? |
| 2022-02-08 20:53:42 | <geekosaur> | ewmh's name for any status bar, pager, indicator applet/system tray, etc. |
| 2022-02-08 20:54:22 | <twiclo> | I used to have this in my main = do block |
| 2022-02-08 20:54:23 | <twiclo> | xmonad $ docks defaults |
| 2022-02-08 20:54:29 | <twiclo> | I took out the docks so that makes sense |
| 2022-02-08 20:54:33 | <twiclo> | xmonad . ewmh . xmobarProp $ docks defaults |
| 2022-02-08 20:54:43 | <twiclo> | This is what it is now and that's not working |
| 2022-02-08 20:57:31 | <geekosaur> | xmobarProp is adding the mod-b binding, docks just adds the basic mechanism for reserving space for dock windows (status bars etc. as I said) |
| 2022-02-08 20:57:48 | <Solid> | the tutorial shows you show to change this a little bit further down |
| 2022-02-08 20:58:14 | <twiclo> | What section? |
| 2022-02-08 20:59:57 | <twiclo> | Or how do I overwrite that xmobarprop shortcut? |
| 2022-02-08 21:03:48 | <Solid> | It's in "Changing What XMonad Sends to Xmobar" |
| 2022-02-08 21:04:02 | <twiclo> | Oh man |
| 2022-02-08 21:11:19 | × | Rue quits (~rue@2001-b011-1000-1a29-7937-e51c-8a8a-ea67.dynamic-ip6.hinet.net) (Ping timeout: 250 seconds) |
| 2022-02-08 21:13:35 | → | Rue joins (~rue@2001-b011-1000-1402-f4fe-f6f9-1dd3-9979.dynamic-ip6.hinet.net) |
| 2022-02-08 21:13:37 | <twiclo> | Okay so I see setting it to xK_b but how do I just set it to nothing?> |
| 2022-02-08 21:18:42 | <geekosaur> | replace withEasySB with withSB |
| 2022-02-08 21:19:14 | <twiclo> | Will that still let me modify what's being sent to xmobar? |
| 2022-02-08 21:19:24 | <geekosaur> | yes |
| 2022-02-08 21:19:45 | <geekosaur> | only difference is it assumes it's feeding a second bar so it doesn't repeat things like the keybinding |
| 2022-02-08 21:21:36 | <twiclo> | https://p.twil.cx/sov.hs |
| 2022-02-08 21:21:50 | <twiclo> | I think it doesn't like that I'm calling withSB after ewmh? |
| 2022-02-08 21:23:08 | <geekosaur> | you still have defToggleStrutsKey there, which is what withSB doesn't want (and specifically neither do you as that's where the mod-b binding comes from) |
| 2022-02-08 21:23:32 | <twiclo> | . withSB (statusBarProp "xmobar" (pure myXmobarPP)) |
| 2022-02-08 21:23:35 | <twiclo> | So just like that? |
| 2022-02-08 21:25:57 | <geekosaur> | looks right to me |
| 2022-02-08 21:26:10 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2022-02-08 21:26:38 | × | mohab quits (~mohab@45.243.71.249) (Quit: WeeChat 3.4) |
| 2022-02-08 21:27:15 | <twiclo> | https://p.twil.cx/bis.hs |
| 2022-02-08 21:27:31 | <twiclo> | Is this complaining because spawnPipe is being passed into ewmh? |
| 2022-02-08 21:28:15 | → | mohab joins (~mohab@45.243.71.249) |
| 2022-02-08 21:28:53 | <geekosaur> | yes, because of where you put the . |
| 2022-02-08 21:29:14 | <geekosaur> | but your xmobar is being started by withSB, why are you starting it with spawnPipe as well? |
| 2022-02-08 21:29:41 | <twiclo> | Because I don't know what I'm doing haha. I didn't know that started xmobar |
| 2022-02-08 21:29:48 | <twiclo> | How do I start it three times for every monitor? |
| 2022-02-08 21:29:50 | <geekosaur> | if you really want one per screen you want to use withSB three times, changing each "xmobar" to "xmobar -x1" etc. |
| 2022-02-08 21:29:58 | <twiclo> | Okay |
| 2022-02-08 21:31:10 | <geekosaur> | we're moving away form the spawnPipe version because it will hang if you don't have xmobar configured correctly |
| 2022-02-08 21:31:33 | <twiclo> | Do you not like having one bar for every screen? |
| 2022-02-08 21:32:51 | <twiclo> | Okay now xmonad is starting with the struts thing toggled off meaning my windows are covering the bar |
| 2022-02-08 21:36:56 | <geekosaur> | you removed docks so of course no space is being reserved for them |
| 2022-02-08 21:38:06 | <twiclo> | Ah |
| 2022-02-08 21:38:21 | × | mohab quits (~mohab@45.243.71.249) (Quit: WeeChat 3.4) |
| 2022-02-08 21:39:44 | → | mohab joins (~mohab@45.243.71.249) |
| 2022-02-08 21:40:10 | <twiclo> | Thanks for the help |
| 2022-02-08 22:10:46 | × | jao quits (~jao@211.68.17.95.dynamic.jazztel.es) (Remote host closed the connection) |
| 2022-02-08 22:17:25 | <twiclo> | How do I change the <>s to []s on the selected workstation |
| 2022-02-08 22:17:38 | <twiclo> | I'm ripping off the tutorials styling |
| 2022-02-08 22:18:36 | → | jao joins (~jao@211.68.17.95.dynamic.jazztel.es) |
| 2022-02-08 22:32:49 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2022-02-08 22:33:08 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2022-02-08 22:35:18 | <geekosaur> | selected? that should already get []. <> are the non-selected but visible workspaces |
| 2022-02-08 22:36:19 | <twiclo> | Sorry that's what I meant |
| 2022-02-08 22:43:19 | <twiclo> | Where can I find documentation on the DynNetwork plugin for Xmobar? Is it possible to switch it from kB/s to Mb/s? |
| 2022-02-08 22:44:11 | <geekosaur> | sorry, had a phone call. |
| 2022-02-08 22:44:17 | <twiclo> | Oh no worries |
| 2022-02-08 22:45:31 | <geekosaur> | you can set ppVisible to `wrap "[" "]"`, or include a color change with that with a slightly different invocation |
| 2022-02-08 22:45:39 | <geekosaur> | I can't help with xmobar as I don't use it |
| 2022-02-08 23:16:17 | × | jao quits (~jao@211.68.17.95.dynamic.jazztel.es) (Ping timeout: 240 seconds) |
| 2022-02-08 23:18:46 | → | jao joins (~jao@static-68-235-44-10.cust.tzulo.com) |
| 2022-02-08 23:33:40 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 2022-02-08 23:55:20 | liskin | has been looking into the xmobar memleak today; kinda expected the investigation to be easier |
| 2022-02-08 23:55:39 | <liskin> | it's a slow leak so hp2ps and similar are completely useless |
| 2022-02-08 23:56:27 | <liskin> | I have 3 gigs of .hp data (and still growing) which I analyze using shit like grep, sort and python/numpy |
| 2022-02-08 23:58:45 | <davean> | liskin: I know nothing about xmobar but I had a similar thing with taffybar where they had a Chan they pushed to but never consumed |
| 2022-02-08 23:59:26 | <liskin> | davean: how did you figure that out? any tips? |
| 2022-02-08 23:59:46 | <davean> | Oh I just ran a profiled build |
| 2022-02-09 00:00:19 | <davean> | I have no idea why you think the standard tools aren't useful when its slow |
| 2022-02-09 00:00:32 | <davean> | so I probably can't help other than mention a pattern that might be relivent |
| 2022-02-09 00:00:55 | <davean> | you can ask whats holding the memory, what type of memory it is, where it came from, anything I'd think you might want though |
| 2022-02-09 00:01:07 | <liskin> | well because I need to collect thousands to millions of samples before anything shows up |
| 2022-02-09 00:01:15 | <davean> | Right? So? |
| 2022-02-09 00:01:27 | <liskin> | hp2ps takes minutes to process a small .hp file |
| 2022-02-09 00:01:48 | <geekosaur> | twiclo, https://github.com/jaor/xmobar/blob/master/doc/plugins.org |
| 2022-02-09 00:02:06 | <davean> | try hp2pretty? |
| 2022-02-09 00:02:27 | <davean> | I have no experience with processing hps being slow |
| 2022-02-09 00:02:28 | <liskin> | I mean it's probably easy to write a script to drop most samples and just leave one for every 1000, I'm just suprised that I haven't been able to google for an existing solution :-) |
| 2022-02-09 00:03:37 | <geekosaur> | twiclo, which says it's fixed at kB/s |
| 2022-02-09 00:04:14 | <davean> | liskin: https://hackage.haskell.org/package/hp2pretty |
| 2022-02-09 00:04:15 | <liskin> | oh, hp2pretty claims to support reading large files, I guess I should try that indeed |
| 2022-02-09 00:05:59 | <liskin> | davean: will try it tomorrow, thanks |
| 2022-02-09 00:07:17 | <liskin> | davean: the other problem with "slow" is that if I need different profiling output (like -hy instead of -hc), I need to run it again and wait a couple hours :-) |
All times are in UTC.