2025-09-19 01:07:11 +0200 | dibblego | (~dibblego@haskell/developer/dibblego) (Read error: Connection reset by peer) |
2025-09-19 01:07:23 +0200 | dibblego | (~dibblego@116-255-1-119.ip4.superloop.au) |
2025-09-19 01:07:23 +0200 | dibblego | (~dibblego@116-255-1-119.ip4.superloop.au) (Changing host) |
2025-09-19 01:07:23 +0200 | dibblego | (~dibblego@haskell/developer/dibblego) dibblego |
2025-09-19 01:26:00 +0200 | Enrico63 | (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) (Quit: Client closed) |
2025-09-19 01:26:39 +0200 | <haskellbridge> | <iqubic (she/her)> Hmm... dynamicSBs wants a function of type (ScreenId -> X StatusBarConfig) but statusBarPipe returns IO StatusBarConfig |
2025-09-19 01:33:55 +0200 | <haskellbridge> | <iqubic (she/her)> https://github.com/IQubic/nixos-config/blob/master/hm/xmonad/XMonad.hs#L218 |
2025-09-19 01:34:00 +0200 | <haskellbridge> | <iqubic (she/her)> That's my config. |
2025-09-19 01:34:34 +0200 | <haskellbridge> | <iqubic (she/her)> Here's the error I'm getting: https://dpaste.org/j4SbV |
2025-09-19 01:35:38 +0200 | <haskellbridge> | <iqubic (she/her)> I'm not sure how to fix this... |
2025-09-19 01:37:11 +0200 | <liskin> | There `io` somewhere that lifts IO a into X a |
2025-09-19 01:37:55 +0200 | <liskin> | But also why would you even bother with pipes if xmobar can do props? |
2025-09-19 01:38:14 +0200 | <haskellbridge> | <iqubic (she/her)> I didn't know it could do props, TBH. |
2025-09-19 01:38:49 +0200 | <liskin> | I though we made this very prominent in the docs |
2025-09-19 01:39:01 +0200 | <liskin> | Anyway, bedtime. |
2025-09-19 01:39:31 +0200 | <haskellbridge> | <iqubic (she/her)> But also, I want to have a main screen bar and an auxiliary screen bar. How do I tell xmobar which prop to read from in the config? |
2025-09-19 01:49:58 +0200 | <geekosaur> | statuiisBarPropTo, and whatever your bar's configuration is for reading properties |
2025-09-19 01:53:01 +0200 | <haskellbridge> | <iqubic (she/her)> My bar is XMobar. |
2025-09-19 01:53:22 +0200 | <haskellbridge> | <iqubic (she/her)> I want to tell XMobar to read from _XMONAD_LOG_1 |
2025-09-19 01:53:47 +0200 | <haskellbridge> | <iqubic (she/her)> I'm switching to XMobar here, because I like the integration with XMonad. |
2025-09-19 02:01:44 +0200 | <geekosaur> | https://codeberg.org/xmobar/xmobar/src/branch/master/doc/plugins.org#headline-63 |
2025-09-19 02:06:26 +0200 | <haskellbridge> | <iqubic (she/her)> Hmm.... Now I need to work out why my xmobar isn't spawning... |
2025-09-19 02:06:36 +0200 | <haskellbridge> | <iqubic (she/her)> My config compiles properly. |
2025-09-19 02:18:55 +0200 | <haskellbridge> | <iqubic (she/her)> So, I have this xmobarrc file: https://dpaste.org/0pATb/raw |
2025-09-19 02:19:02 +0200 | <haskellbridge> | <iqubic (she/her)> And it's not working properly... |
2025-09-19 02:20:08 +0200 | <haskellbridge> | <iqubic (she/her)> When I try to run xmobar from the terminal I'm getting an error: Invalid configuration file: "Config" (line 34, column 10): |
2025-09-19 02:20:13 +0200 | <haskellbridge> | <iqubic (she/her)> unexpected "s" |
2025-09-19 02:20:14 +0200 | <haskellbridge> | <iqubic (she/her)> expecting space or "Run" |
2025-09-19 02:31:35 +0200 | <haskellbridge> | <iqubic (she/her)> geekosaur: Do you know what's going wrong here? |
2025-09-19 02:33:31 +0200 | <geekosaur> | that's usually a missing pugin combined with a horrible parser |
2025-09-19 02:35:17 +0200 | <haskellbridge> | <iqubic (she/her)> Hmm.... How do I figure it out? |
2025-09-19 02:35:31 +0200 | <haskellbridge> | <iqubic (she/her)> I'm just trying to run my XMobar config... |
2025-09-19 02:35:35 +0200 | <geekosaur> | so it fails to parse "sepChar" with a weird error when the real problem is in the "Run" list |
2025-09-19 02:36:34 +0200 | <geekosaur> | also I don't think comments work in there. It only looks like Haskell |
2025-09-19 02:36:37 +0200 | <haskellbridge> | <iqubic (she/her)> Is the issue that I'm commenting out the ALSA section because I haven't finished configuring it? |
2025-09-19 02:36:46 +0200 | <geekosaur> | it might be |
2025-09-19 02:37:30 +0200 | <geekosaur> | the other ones look fine, I think they're all builtins. so yeh, I think I'd try removing the "comment" |
2025-09-19 02:37:47 +0200 | <geekosaur> | xmobar's config parser is really horrible |
2025-09-19 02:38:31 +0200 | <haskellbridge> | <iqubic (she/her)> The battery config was taken from here: https://jao.io/blog/xmobar-a-battery-trick.html and lightly modified it. |
2025-09-19 02:39:09 +0200 | <geekosaur> | that part shouldn't affect it (I think) |
2025-09-19 02:39:49 +0200 | <haskellbridge> | <iqubic (she/her)> Right... Removing the line that's supposed to be a comment still doesn't work. |
2025-09-19 02:40:07 +0200 | <haskellbridge> | <iqubic (she/her)> Same error |
2025-09-19 02:40:13 +0200 | <geekosaur> | this is one of the reasons I don't run xmobar, debugging config errors is a nightmare |
2025-09-19 02:40:27 +0200 | <haskellbridge> | <iqubic (she/her)> I see... |
2025-09-19 02:41:07 +0200 | <geekosaur> | oh. I see a problem |
2025-09-19 02:42:56 +0200 | <geekosaur> | hm, maybe not. your page uses BatteryN, you're using BatteryP |
2025-09-19 02:43:07 +0200 | <haskellbridge> | <iqubic (she/her)> Is there a way I can write my config in actual haskell and call it directly from my XMonad config? I assume GHC compiler errors would be better than the errors from the XMobar parser. |
2025-09-19 02:44:42 +0200 | <haskellbridge> | <iqubic (she/her)> Yeah, BatteryN is basically the same but just lets you provide a string to be used as the alias in the template string. |
2025-09-19 02:44:50 +0200 | <geekosaur> | hm |
2025-09-19 02:45:02 +0200 | <geekosaur> | are you using an xmonad build from git? |
2025-09-19 02:45:10 +0200 | <geekosaur> | er, xmobar build |
2025-09-19 02:46:23 +0200 | <haskellbridge> | <iqubic (she/her)> I don't think so. I'm using the latest version from Hackage. |
2025-09-19 02:47:23 +0200 | <geekosaur> | right, I just checked versions, the trick came with 0.36 but they're on at least 0.45 now |
2025-09-19 02:47:46 +0200 | <geekosaur> | 0.50 in fact |
2025-09-19 02:48:02 +0200 | <haskellbridge> | <iqubic (she/her)> I'm using Nix and I'm telling Nix to download the XMonad and XMonad-Contrib libraries from hackage and using that to compile my XMonad config. |
2025-09-19 02:48:22 +0200 | <haskellbridge> | <iqubic (she/her)> I'm using xmobar 0.49 |
2025-09-19 02:48:41 +0200 | <haskellbridge> | <iqubic (she/her)> That's what "xmobar --version" gives me. |
2025-09-19 02:51:07 +0200 | <geekosaur> | then it's not getting the latest |
2025-09-19 02:51:46 +0200 | <geekosaur> | https://hackage.haskell.org/package/xmobar-0.50 |
2025-09-19 02:52:06 +0200 | <haskellbridge> | <iqubic (she/her)> I'm pulling the latest versions of XMonad and XMonad-Contrib. I'm not pulling the latest version of XMobar. |
2025-09-19 02:52:38 +0200 | <geekosaur> | right, my asking about that was a mistake, I meant xmobar |
2025-09-19 02:52:44 +0200 | <geekosaur> | xmonad isn't actually relevant here |
2025-09-19 02:53:03 +0200 | <haskellbridge> | <iqubic (she/her)> But if the fancy -w 0 trick was added in 0.36, then it should just work, right? |
2025-09-19 02:53:09 +0200 | <geekosaur> | \I was trying to figure out if your xmobar actually supported the "trick" in that blog page |
2025-09-19 02:54:06 +0200 | <haskellbridge> | <iqubic (she/her)> It should... |
2025-09-19 02:59:11 +0200 | <geekosaur> | I'm not seeing anything here, you probably need someone who knows xmobar better |
2025-09-19 02:59:41 +0200 | <haskellbridge> | <iqubic (she/her)> Sounds good. |
2025-09-19 03:23:25 +0200 | <haskellbridge> | <iqubic (she/her)> Alright... I've removed the Battery section for now and it seems to work... |
2025-09-19 03:55:25 +0200 | <haskellbridge> | <iqubic (she/her)> Why is there no easy way to search through a repo that's being hosted on codeberg? |
2025-09-19 04:18:34 +0200 | <haskellbridge> | <iqubic (she/her)> geekosaur: Here's what I get for not using a tool with proper syntax highlighting... The error was that I was missing a few commas on the line "-l" and "-h". |
2025-09-19 04:18:57 +0200 | <haskellbridge> | <iqubic (she/her)> https://dpaste.org/0pATb/raw |
2025-09-19 04:19:01 +0200 | <haskellbridge> | <iqubic (she/her)> That's the broken version. |
2025-09-19 04:35:52 +0200 | haskellbridge | (~hackager@syn-096-028-224-214.res.spectrum.com) (Remote host closed the connection) |
2025-09-19 04:36:21 +0200 | haskellbridge | (~hackager@syn-096-028-224-214.res.spectrum.com) hackager |
2025-09-19 05:19:44 +0200 | <haskellbridge> | <iqubic (she/her)> Hmm... The xmobar module for Wireless networking seems to be lacking a way to set a different display string and color when the machine isn't connected to internet. |
2025-09-19 05:20:07 +0200 | <haskellbridge> | <iqubic (she/her)> https://codeberg.org/xmobar/xmobar/src/branch/master/doc/plugins.org#headline-50 |
2025-09-19 06:08:59 +0200 | zawaken | (~zawaken@user/zawaken) (Ping timeout: 260 seconds) |
2025-09-19 06:10:50 +0200 | zawaken | (~zawaken@user/zawaken) zawaken |
2025-09-19 07:28:20 +0200 | Lears | (~Leary@user/Leary/x-0910699) (Remote host closed the connection) |
2025-09-19 07:35:38 +0200 | Leary | (~Leary@user/Leary/x-0910699) Leary |
2025-09-19 08:42:46 +0200 | Enrico63 | (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) Enrico63 |
2025-09-19 09:03:04 +0200 | ft | (~ft@p4fc2a25a.dip0.t-ipconnect.de) (Quit: leaving) |
2025-09-19 09:05:14 +0200 | <Enrico63> | Hi there, I have a question about key bindings, that stems from my attempt to see the window with the default commands. To spawn that window, one needs to use these bindings: |
2025-09-19 09:05:15 +0200 | <Enrico63> | , ((modMask .|. shiftMask, xK_slash ), helpCommand) -- %! Run xmessage with a summary of the default keybindings (useful for beginners) |
2025-09-19 09:05:15 +0200 | <Enrico63> | -- repeat the binding for non-American layout keyboards |
2025-09-19 09:05:16 +0200 | <Enrico63> | , ((modMask , xK_question), helpCommand) |
2025-09-19 09:05:16 +0200 | <Enrico63> | The former works on American keyboard layout where / is a "plain" character (I'm glad if you can tell me the terminology for "plain". Is it "unmodified"?). |
2025-09-19 09:05:17 +0200 | <Enrico63> | The latter works on not-better-identified non-American layout. What is that? From wikipedia https://en.wikipedia.org/wiki/British_and_American_keyboards I see that typing ? on a British keyboard amounts to hitting shift+/ , just like on the American keyboard. |
2025-09-19 09:05:17 +0200 | <Enrico63> | I, on my end, use an Italian layout, but ? still requires shift+' , and / still requires shift+7 |
2025-09-19 09:05:18 +0200 | <Enrico63> | So... how am I supposed to run helpCommand? |
2025-09-19 09:07:10 +0200 | <Enrico63> | It seems to me that if doing xK_something requires a shift-modified keystroke, then such a binding won't work.. |
2025-09-19 09:08:19 +0200 | Enrico63 | (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) (Quit: Client closed) |
2025-09-19 09:11:03 +0200 | Enrico63 | (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) Enrico63 |
2025-09-19 09:23:30 +0200 | <Leary> | Enrico63: I don't see a better way than this: https://gist.github.com/LSLeary/6047e083e778da13c2e0d0615c6809f5 |
2025-09-19 09:25:13 +0200 | assface | (~assface@dslb-002-201-020-218.002.201.pools.vodafone-ip.de) |
2025-09-19 09:25:37 +0200 | assface | (~assface@dslb-002-201-020-218.002.201.pools.vodafone-ip.de) (Client Quit) |
2025-09-19 09:28:36 +0200 | <Enrico63> | Leary, it doesn't seem to work :O |
2025-09-19 09:29:14 +0200 | <Enrico63> | No, wait, it does |
2025-09-19 09:31:34 +0200 | <Leary> | Apparently `EZConfig` exposes `remapKeysP`, so you could also write `xmonad $ def{ ... } `remapKeysP` [("S-'", "?")]`. |
2025-09-19 09:31:35 +0200 | <Enrico63> | Oh, in the example it was mapped to just shift+' , i.e. without super |
2025-09-19 09:32:04 +0200 | <Leary> | Ah, right, you'll want another modifier. |
2025-09-19 09:36:48 +0200 | <Enrico63> | A bit sad that there's there's no remapKeys, just remapKeysP, whereas additionalKeysP comes with additionalKeys too :( |
2025-09-19 09:37:11 +0200 | <Enrico63> | `remapKeysP` [("M-S-?", "M-S-'")] |
2025-09-19 09:37:12 +0200 | <Enrico63> | doesn't work |
2025-09-19 09:37:35 +0200 | <Leary> | It should be M-S-/ or M-? |
2025-09-19 09:37:58 +0200 | <Enrico63> | What do you mean? |
2025-09-19 09:38:17 +0200 | <Enrico63> | On my layout ? is shift+' |
2025-09-19 09:38:42 +0200 | <Enrico63> | so I'd want super+shift+' to be mapped to help |
2025-09-19 09:38:54 +0200 | <Enrico63> | hence |
2025-09-19 09:38:55 +0200 | <Enrico63> | `remapKeysP` [("M-S-?", "M-S-'")] |
2025-09-19 09:39:02 +0200 | <Leary> | Err, and the order is flipped. Try `[("M-S-'", "M-?")]`. |
2025-09-19 09:39:43 +0200 | <Enrico63> | doesn't work either |
2025-09-19 09:44:05 +0200 | Enrico63 | (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) (Quit: Client closed) |
2025-09-19 10:06:32 +0200 | Enrico63 | (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) Enrico63 |
2025-09-19 10:42:27 +0200 | byorgey | (~byorgey@user/byorgey) (Ping timeout: 258 seconds) |
2025-09-19 10:42:33 +0200 | rekahsoft | (~rekahsoft@bras-base-orllon1103w-grc-15-174-95-4-83.dsl.bell.ca) (Ping timeout: 260 seconds) |
2025-09-19 10:44:12 +0200 | byorgey | (~byorgey@user/byorgey) byorgey |
2025-09-19 12:23:47 +0200 | Enrico63 | (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) (Quit: Client closed) |
2025-09-19 13:28:36 +0200 | thaumavorio | (~thaumavor@thaumavor.io) (Ping timeout: 244 seconds) |
2025-09-19 13:28:36 +0200 | ectospasm | (~ectospasm@user/ectospasm) (Ping timeout: 244 seconds) |
2025-09-19 13:28:37 +0200 | byorgey | (~byorgey@user/byorgey) (Ping timeout: 244 seconds) |
2025-09-19 13:28:55 +0200 | dobblego | (~dibblego@116.255.1.119) |
2025-09-19 13:28:55 +0200 | byorgey | (~byorgey@155.138.238.211) |
2025-09-19 13:28:55 +0200 | dobblego | (~dibblego@116.255.1.119) (Changing host) |
2025-09-19 13:28:55 +0200 | dobblego | (~dibblego@haskell/developer/dibblego) dibblego |
2025-09-19 13:28:55 +0200 | byorgey | (~byorgey@155.138.238.211) (Changing host) |
2025-09-19 13:28:55 +0200 | byorgey | (~byorgey@user/byorgey) byorgey |
2025-09-19 13:29:26 +0200 | Lears | (~Leary@user/Leary/x-0910699) Leary |
2025-09-19 13:34:47 +0200 | Lears | (~Leary@user/Leary/x-0910699) (Read error: Connection reset by peer) |
2025-09-19 13:34:47 +0200 | haskellbridge | (~hackager@syn-096-028-224-214.res.spectrum.com) (Ping timeout: 256 seconds) |
2025-09-19 13:35:52 +0200 | Leary | (~Leary@user/Leary/x-0910699) (*.net *.split) |
2025-09-19 13:35:52 +0200 | zawaken | (~zawaken@user/zawaken) (*.net *.split) |
2025-09-19 13:35:52 +0200 | dibblego | (~dibblego@haskell/developer/dibblego) (*.net *.split) |
2025-09-19 13:35:53 +0200 | 047AALI5L | (~wz1000@2a01:4f9:c012:de50::1) (*.net *.split) |
2025-09-19 13:35:53 +0200 | de-vri-es | (~de-vri-es@voyager.de-vri.es) (*.net *.split) |
2025-09-19 13:35:54 +0200 | dobblego | dibblego |
2025-09-19 13:36:07 +0200 | thaumavorio | (~thaumavor@thaumavor.io) thaumavorio |
2025-09-19 13:37:32 +0200 | haskellbridge | (~hackager@syn-096-028-224-214.res.spectrum.com) hackager |
2025-09-19 13:37:41 +0200 | Leary | (~Leary@user/Leary/x-0910699) Leary |
2025-09-19 13:40:25 +0200 | ecto | (~ectospasm@mail.eldon.me) |
2025-09-19 13:40:25 +0200 | zawaken | (~zawaken@user/zawaken) zawaken |
2025-09-19 13:40:25 +0200 | 047AALI5L | (~wz1000@2a01:4f9:c012:de50::1) |
2025-09-19 13:40:25 +0200 | de-vri-es | (~de-vri-es@voyager.de-vri.es) de-vri-es |
2025-09-19 13:57:15 +0200 | Leary | (~Leary@user/Leary/x-0910699) (Read error: Connection reset by peer) |
2025-09-19 13:57:48 +0200 | Lears | (~Leary@user/Leary/x-0910699) Leary |
2025-09-19 13:58:40 +0200 | Lears | Leary |
2025-09-19 14:52:30 +0200 | Lears | (~Leary@user/Leary/x-0910699) Leary |
2025-09-19 14:54:33 +0200 | Leary | (~Leary@user/Leary/x-0910699) (Read error: Connection reset by peer) |
2025-09-19 14:58:11 +0200 | Lears | Leary |
2025-09-19 16:15:43 +0200 | ft | (~ft@p4fc2a25a.dip0.t-ipconnect.de) ft |
2025-09-19 16:40:15 +0200 | mkoskar | (~mkoskar@user/mkoskar) (Quit: mkoskar) |
2025-09-19 16:41:29 +0200 | mkoskar | (~mkoskar@user/mkoskar) mkoskar |
2025-09-19 17:53:25 +0200 | L29Ah | (~L29Ah@wikipedia/L29Ah) () |
2025-09-19 18:08:23 +0200 | assface | (~assface@dslb-002-201-020-218.002.201.pools.vodafone-ip.de) |
2025-09-19 18:13:55 +0200 | L29Ah | (~L29Ah@wikipedia/L29Ah) L29Ah |
2025-09-19 18:24:35 +0200 | assface | (~assface@dslb-002-201-020-218.002.201.pools.vodafone-ip.de) (Ping timeout: 250 seconds) |
2025-09-19 18:58:42 +0200 | <haskellbridge> | <iqubic (she/her)> Does XMonad do something weird when trying to connect an external monitor and get it running? |
2025-09-19 18:59:01 +0200 | <haskellbridge> | <iqubic (she/her)> I should just be able to run xrandr myself, but I can't seem to do that. |
2025-09-19 19:00:40 +0200 | <geekosaur> | it shouldn't |
2025-09-19 19:01:18 +0200 | <haskellbridge> | <iqubic (she/her)> Right... Well, running "xrandr --output eDP-1 --output HDMI-1 --left-of eDP-1" isn't working. |
2025-09-19 19:01:32 +0200 | <geekosaur> | that said, if you want to configure the monitor, you might want to look into arandr and XMonad.Hooks.Rescreen |
2025-09-19 19:02:10 +0200 | <geekosaur> | mm, that part I don't know about, and I've had issues with it myself |
2025-09-19 19:02:19 +0200 | <geekosaur> | liskin would probably know more about it |
2025-09-19 19:02:35 +0200 | <haskellbridge> | <iqubic (she/her)> I have tried looking at arandr. It only shows me eDP-1, which is my laptop's built in screen. |
2025-09-19 19:03:39 +0200 | <geekosaur> | that makes me think the new monitor isn't being recognized by X11, since arandr goes by what xrandr's output |
2025-09-19 19:04:07 +0200 | <haskellbridge> | <iqubic (she/her)> Weird... How can I check if X11 is finding the new monitor? |
2025-09-19 19:04:38 +0200 | <geekosaur> | see if running `xrandr` lists it as "connected" |
2025-09-19 19:04:46 +0200 | <haskellbridge> | <iqubic (she/her)> xrandr -q is giving me this output: https://dpaste.org/aYTrm |
2025-09-19 19:05:05 +0200 | <haskellbridge> | <iqubic (she/her)> It says "HDMI-1 connected (normal left inverted right x axis y axis)" |
2025-09-19 19:05:32 +0200 | <geekosaur> | https://paste.tomsmeding.com/J7oZ8XUc |
2025-09-19 19:05:42 +0200 | <geekosaur> | then arandr should show it |
2025-09-19 19:05:53 +0200 | <haskellbridge> | <iqubic (she/her)> But I'm not seeing it. |
2025-09-19 19:06:02 +0200 | <geekosaur> | it's just a wrapper around xrandr with the option to save xrandr configuration to a shell script |
2025-09-19 19:06:23 +0200 | <haskellbridge> | <iqubic (she/her)> https://imgur.com/a/9e67asj |
2025-09-19 19:08:03 +0200 | <geekosaur> | hm. if you drag eDP-1, is HDMI-1 underneath it? |
2025-09-19 19:08:11 +0200 | <haskellbridge> | <iqubic (she/her)> No. |
2025-09-19 19:08:57 +0200 | <geekosaur> | so this is sounding like confusion inside the X server: it's reporting inconsistent information |
2025-09-19 19:09:10 +0200 | <geekosaur> | if arandr is being confused by it, so will xmonad |
2025-09-19 19:09:25 +0200 | <haskellbridge> | <iqubic (she/her)> Is this a weird NixOS bug? |
2025-09-19 19:09:40 +0200 | <geekosaur> | only if they've patched the X server in some way |
2025-09-19 19:09:51 +0200 | <haskellbridge> | <iqubic (she/her)> I don't think they have. |
2025-09-19 19:12:46 +0200 | <haskellbridge> | <iqubic (she/her)> I just ran "xrandr --output HDMI-1 --auto" and now the second monitor is mirroring my main laptop screen |
2025-09-19 19:15:02 +0200 | <haskellbridge> | <iqubic (she/her)> Just ran "xrandr --output eDP-1 --auto --output HDMI-1 --auto --left-of eDP-1" and things are working well now. |
2025-09-19 19:15:11 +0200 | <haskellbridge> | <iqubic (she/her)> dynamicSBs are even working. |
2025-09-19 19:15:44 +0200 | <geekosaur> | you could also directly check what xmonad's seeing with the monitor plugged in: ghc -e "Graphics.X11.openDisplay [] >>= Graphics.X11.Xinerama.getScreenInfo" |
2025-09-19 19:16:32 +0200 | <geekosaur> | (that probably doesn;t work as written these days, it'd have to be `cabal repl -b X11` and then the quoted stuff at the prompt) |
2025-09-19 19:16:50 +0200 | <haskellbridge> | <iqubic (she/her)> The main issue is that my scratchpad windows are stuck sitting on the second monitor and hitting the keybinding to run the named scratchpad action is swapping scratchpad windows between monitors. |
2025-09-19 19:18:02 +0200 | <geekosaur> | that's normal, the scratchpad keybind moves the window to the current monitor. that's because it's implemented in a weird way involving moving scratchpads between the focused workspace and an invisible workspace (NSP) |
2025-09-19 19:18:11 +0200 | <haskellbridge> | <iqubic (she/her)> Alright, a little bit of tweaking and it works now. |
2025-09-19 19:18:47 +0200 | <haskellbridge> | <iqubic (she/her)> Now, what are the keybindings for moving windows between monitors and such like that? |
2025-09-19 19:19:09 +0200 | <geekosaur> | mod-shift-{w,e,r} by default |
2025-09-19 19:19:26 +0200 | <haskellbridge> | <iqubic (she/her)> What are those actions bound to? |
2025-09-19 19:19:51 +0200 | <haskellbridge> | <iqubic (she/her)> Also what are the defaults for mod-{w,e,r}? |
2025-09-19 19:20:10 +0200 | <geekosaur> | https://github.com/xmonad/xmonad/blob/master/src/XMonad/Config.hs#L238 |
2025-09-19 19:22:16 +0200 | <haskellbridge> | <iqubic (she/her)> Also, I know XMonad is picking up my monitors correctly because of dynamicSBs working correctly: https://github.com/IQubic/nixos-config/blob/master/hm/xmonad/XMonad.hs#L218 |
2025-09-19 19:22:52 +0200 | <haskellbridge> | <iqubic (she/her)> My two screens have different XMobar configs running. |
2025-09-19 19:23:50 +0200 | L29Ah | (~L29Ah@wikipedia/L29Ah) () |
2025-09-19 19:38:12 +0200 | <haskellbridge> | <iqubic (she/her)> Hmm... Both of my two XMobars are showing the same window title. If I have firefox open on workspace 1 and emacs open on workspace 2 and monitor 1 is showing workspace 1 and monitor 2 is showing workspace 2, both xmobars are showing "Emacs" as the window title even though they are reading from different property values. |
2025-09-19 19:38:54 +0200 | <haskellbridge> | <iqubic (she/her)> Is that because XMonad can only have one window focused at a time? |
2025-09-19 19:53:13 +0200 | L29Ah | (~L29Ah@wikipedia/L29Ah) L29Ah |
2025-09-19 20:31:12 +0200 | <haskellbridge> | <iqubic (she/her)> Actually, my two xmobars seem to have the exact same info from XMonad's Pretty Printer. I'm fairly certain telling I'm telling XMonad to log to two different properties and I'm fairly certain I'm telling my two XMobars to read from the two different properties. |
2025-09-19 20:32:47 +0200 | <haskellbridge> | <geekosaur (@geekosaur:matrix.org)> X11 can only have one window focused at a time |
2025-09-19 20:33:38 +0200 | <haskellbridge> | <geekosaur (@geekosaur:matrix.org)> We remember which window was focused on a non-focused monitor but X11 doesn't know about it |
2025-09-19 20:34:08 +0200 | <haskellbridge> | <iqubic (she/her)> Hmm... The info on my two XMobars is the same... |
2025-09-19 20:34:22 +0200 | mkoskar | (~mkoskar@user/mkoskar) (*.net *.split) |
2025-09-19 20:34:23 +0200 | ecto | (~ectospasm@mail.eldon.me) (*.net *.split) |
2025-09-19 20:34:23 +0200 | zawaken | (~zawaken@user/zawaken) (*.net *.split) |
2025-09-19 20:34:23 +0200 | 047AALI5L | (~wz1000@2a01:4f9:c012:de50::1) (*.net *.split) |
2025-09-19 20:34:23 +0200 | de-vri-es | (~de-vri-es@voyager.de-vri.es) (*.net *.split) |
2025-09-19 20:34:39 +0200 | <haskellbridge> | <iqubic (she/her)> https://imgur.com/a/IR2Bdhh |
2025-09-19 20:34:52 +0200 | zawaken | (~zawaken@user/zawaken) zawaken |
2025-09-19 20:34:52 +0200 | 047AALI5L | (~wz1000@2a01:4f9:c012:de50::1) |
2025-09-19 20:34:52 +0200 | de-vri-es | (~de-vri-es@voyager.de-vri.es) de-vri-es |
2025-09-19 20:35:01 +0200 | <haskellbridge> | <geekosaur (@geekosaur:matrix.org)> I don't think PP has access to the saved focus |
2025-09-19 20:35:33 +0200 | <haskellbridge> | <iqubic (she/her)> Yeah, but even the info about which window is currently open is the same. |
2025-09-19 20:36:04 +0200 | <haskellbridge> | <geekosaur (@geekosaur:matrix.org)> I'll have to wait until I'm back on my desktop to look into it |
2025-09-19 20:37:16 +0200 | <haskellbridge> | <iqubic (she/her)> I have blue for "ppCurrent", white for "ppVisible", and dark grey for "ppHidden". |
2025-09-19 20:37:53 +0200 | <haskellbridge> | <iqubic (she/her)> Is this just an issue with how PP works? |
2025-09-19 20:39:25 +0200 | <haskellbridge> | <geekosaur (@geekosaur:matrix.org)> Yes |
2025-09-19 20:40:10 +0200 | <haskellbridge> | <geekosaur (@geekosaur:matrix.org)> I think someone contributed something for per-monitor information but it requires more work on your part |
2025-09-19 20:42:45 +0200 | mkoskar | (~mkoskar@user/mkoskar) mkoskar |
2025-09-19 20:44:49 +0200 | ectospasm | (~ectospasm@user/ectospasm) ectospasm |
2025-09-19 20:50:37 +0200 | <haskellbridge> | <iqubic (she/her)> I'd love to have per-monitor info. That's a big reason why I switched to XMobar. |
2025-09-19 20:51:46 +0200 | <haskellbridge> | <iqubic (she/her)> Despite xmonad being told to log to two different properties, it still seems to be logging the same info to both of them. |
2025-09-19 20:53:35 +0200 | <geekosaur> | right, because that's what PP does by default. it has no idea where you're sending the information |
2025-09-19 20:53:54 +0200 | <geekosaur> | as far as PP is concerned, it's a pure String from pure StackSet information |
2025-09-19 20:54:01 +0200 | <haskellbridge> | <iqubic (she/her)> I see. I'll have to look into per-screen stuff, if that's even possible. |
2025-09-19 20:54:12 +0200 | <haskellbridge> | <iqubic (she/her)> geekosaur: Right... That makes sense. |
2025-09-19 20:54:31 +0200 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Hooks-StatusBar-WorkspaceScr… |
2025-09-19 20:56:29 +0200 | <geekosaur> | hm, WorkspaceScreen doesn't look like it does what you want eitjher |
2025-09-19 20:57:51 +0200 | <haskellbridge> | <iqubic (she/her)> No. I want to have the currently displayed workspace show with a different formatting on each bar, to show that my two screens are showing different workspaces. |
2025-09-19 20:58:16 +0200 | <haskellbridge> | <iqubic (she/her)> I don't care to annotate the workspace names with additional info. |
2025-09-19 20:59:18 +0200 | <haskellbridge> | <iqubic (she/her)> Surely someone else has noticed this before and fixed it... |
2025-09-19 20:59:52 +0200 | <geekosaur> | that's WSPP in https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Hooks-StatusBar-PP.html |
2025-09-19 21:00:33 +0200 | <haskellbridge> | <iqubic (she/her)> How do I use that? It just seems to be a generic interface. |
2025-09-19 21:07:20 +0200 | hightower2 | (~hightower@cpe-94-253-237-237.st.cable.xnet.hr) hightower2 |
2025-09-19 21:11:01 +0200 | hightower4 | (~hightower@cpe-94-253-237-237.st.cable.xnet.hr) hightower2 |
2025-09-19 21:13:41 +0200 | hightower2 | (~hightower@cpe-94-253-237-237.st.cable.xnet.hr) (Ping timeout: 256 seconds) |
2025-09-19 21:15:12 +0200 | assface | (~assface@dslb-002-201-020-218.002.201.pools.vodafone-ip.de) |
2025-09-19 21:20:15 +0200 | <geekosaur> | TBH I'm not sure |
2025-09-19 21:20:41 +0200 | <geekosaur> | I think you want Solid for that |
2025-09-19 21:22:45 +0200 | hightower4 | (~hightower@cpe-94-253-237-237.st.cable.xnet.hr) (Ping timeout: 256 seconds) |
2025-09-19 21:27:42 +0200 | <haskellbridge> | <iqubic (she/her)> Solid: When you get a chance, can you help me with this? |
2025-09-19 21:47:23 +0200 | assface | (~assface@dslb-002-201-020-218.002.201.pools.vodafone-ip.de) (Ping timeout: 250 seconds) |
2025-09-19 21:52:48 +0200 | assface | (~assface@dslb-002-201-020-218.002.201.pools.vodafone-ip.de) |
2025-09-19 22:36:53 +0200 | assface | (~assface@dslb-002-201-020-218.002.201.pools.vodafone-ip.de) (Quit: Client closed) |