Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→ 184,202 events total
2025-09-19 17:19:51 <haskellbridge> <iqubic (she/her)> Also what are the defaults for mod-{w,e,r}?
2025-09-19 17:20:10 <geekosaur> https://github.com/xmonad/xmonad/blob/master/src/XMonad/Config.hs#L238
2025-09-19 17:22:16 <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 17:22:52 <haskellbridge> <iqubic (she/her)> My two screens have different XMobar configs running.
2025-09-19 17:23:50 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
2025-09-19 17:38:12 <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 17:38:54 <haskellbridge> <iqubic (she/her)> Is that because XMonad can only have one window focused at a time?
2025-09-19 17:53:13 L29Ah joins (~L29Ah@wikipedia/L29Ah)
2025-09-19 18:31:12 <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 18:32:47 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> X11 can only have one window focused at a time
2025-09-19 18:33:38 <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 18:34:08 <haskellbridge> <iqubic (she/her)> Hmm... The info on my two XMobars is the same...
2025-09-19 18:34:22 × mkoskar quits (~mkoskar@user/mkoskar) (*.net *.split)
2025-09-19 18:34:23 × ecto quits (~ectospasm@mail.eldon.me) (*.net *.split)
2025-09-19 18:34:23 × zawaken quits (~zawaken@user/zawaken) (*.net *.split)
2025-09-19 18:34:23 × 047AALI5L quits (~wz1000@2a01:4f9:c012:de50::1) (*.net *.split)
2025-09-19 18:34:23 × de-vri-es quits (~de-vri-es@voyager.de-vri.es) (*.net *.split)
2025-09-19 18:34:39 <haskellbridge> <iqubic (she/her)> https://imgur.com/a/IR2Bdhh
2025-09-19 18:34:52 zawaken joins (~zawaken@user/zawaken)
2025-09-19 18:34:52 047AALI5L joins (~wz1000@2a01:4f9:c012:de50::1)
2025-09-19 18:34:52 de-vri-es joins (~de-vri-es@voyager.de-vri.es)
2025-09-19 18:35:01 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> I don't think PP has access to the saved focus
2025-09-19 18:35:33 <haskellbridge> <iqubic (she/her)> Yeah, but even the info about which window is currently open is the same.
2025-09-19 18:36:04 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> I'll have to wait until I'm back on my desktop to look into it
2025-09-19 18:37:16 <haskellbridge> <iqubic (she/her)> I have blue for "ppCurrent", white for "ppVisible", and dark grey for "ppHidden".
2025-09-19 18:37:53 <haskellbridge> <iqubic (she/her)> Is this just an issue with how PP works?
2025-09-19 18:39:25 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> Yes
2025-09-19 18:40:10 <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 18:42:45 mkoskar joins (~mkoskar@user/mkoskar)
2025-09-19 18:44:49 ectospasm joins (~ectospasm@user/ectospasm)
2025-09-19 18:50:37 <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 18:51:46 <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 18:53:35 <geekosaur> right, because that's what PP does by default. it has no idea where you're sending the information
2025-09-19 18:53:54 <geekosaur> as far as PP is concerned, it's a pure String from pure StackSet information
2025-09-19 18:54:01 <haskellbridge> <iqubic (she/her)> I see. I'll have to look into per-screen stuff, if that's even possible.
2025-09-19 18:54:12 <haskellbridge> <iqubic (she/her)> geekosaur: Right... That makes sense.
2025-09-19 18:54:31 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Hooks-StatusBar-WorkspaceScreen.html
2025-09-19 18:56:29 <geekosaur> hm, WorkspaceScreen doesn't look like it does what you want eitjher
2025-09-19 18:57:51 <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 18:58:16 <haskellbridge> <iqubic (she/her)> I don't care to annotate the workspace names with additional info.
2025-09-19 18:59:18 <haskellbridge> <iqubic (she/her)> Surely someone else has noticed this before and fixed it...
2025-09-19 18:59:52 <geekosaur> that's WSPP in https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Hooks-StatusBar-PP.html
2025-09-19 19:00:33 <haskellbridge> <iqubic (she/her)> How do I use that? It just seems to be a generic interface.
2025-09-19 19:07:20 hightower2 joins (~hightower@cpe-94-253-237-237.st.cable.xnet.hr)
2025-09-19 19:11:01 hightower4 joins (~hightower@cpe-94-253-237-237.st.cable.xnet.hr)
2025-09-19 19:13:41 × hightower2 quits (~hightower@cpe-94-253-237-237.st.cable.xnet.hr) (Ping timeout: 256 seconds)
2025-09-19 19:15:12 assface joins (~assface@dslb-002-201-020-218.002.201.pools.vodafone-ip.de)
2025-09-19 19:20:15 <geekosaur> TBH I'm not sure
2025-09-19 19:20:41 <geekosaur> I think you want Solid for that
2025-09-19 19:22:45 × hightower4 quits (~hightower@cpe-94-253-237-237.st.cable.xnet.hr) (Ping timeout: 256 seconds)
2025-09-19 19:27:42 <haskellbridge> <iqubic (she/her)> Solid: When you get a chance, can you help me with this?
2025-09-19 19:47:23 × assface quits (~assface@dslb-002-201-020-218.002.201.pools.vodafone-ip.de) (Ping timeout: 250 seconds)
2025-09-19 19:52:48 assface joins (~assface@dslb-002-201-020-218.002.201.pools.vodafone-ip.de)
2025-09-19 20:36:53 × assface quits (~assface@dslb-002-201-020-218.002.201.pools.vodafone-ip.de) (Quit: Client closed)
2025-09-19 22:59:05 × jsoo_ quits (~jsoo@2600:1f14:1f03:742f:a81:1cea:a0fa:e21) (Server closed connection)
2025-09-19 22:59:29 jsoo joins (~jsoo@2600:1f14:1f03:742f:a81:1cea:a0fa:e21)
2025-09-20 00:56:06 hiecaq joins (~hiecaq@user/hiecaq)
2025-09-20 01:26:42 <burp> https://news.ycombinator.com/item?id=45283074
2025-09-20 01:26:58 <burp> on front page, "Xmonad seeking help for Wayland port (xmonad.org)"
2025-09-20 01:41:25 <geekosaur> yes, see https://discourse.haskell.org/t/haskell-wlroots-bindings/8426/123 and https://discourse.haskell.org/t/tiny-wlhs-a-hybrid-haskell-and-c-wayland-compositor/10803/2 (which unfortunately seem to have stalled)
2025-09-20 01:49:19 <haskellbridge> <iqubic (she/her)> So, I'm still seeking help on getting different info displayed on different xmobars to represent the fact that different monitors have different windows open.
2025-09-20 02:02:20 × hiecaq quits (~hiecaq@user/hiecaq) (Quit: ERC 5.6.0.30.1 (IRC client for GNU Emacs 30.2))
2025-09-20 02:18:24 hiecaq joins (~hiecaq@user/hiecaq)
2025-09-20 08:41:06 Enrico63 joins (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213)
2025-09-20 08:46:32 <Enrico63> Normally,  I have my laptop lid closed, and connected to an external monitor, so the laptop screen is not-active, and the extrnal monitor is active (using arandr terminolgy). Lately I'm unplugging the laptop more often, at which point I need to activate the laptop screen, and de-activate the external monitor. I'm doing it though Arandr everytime.
2025-09-20 08:46:32 <Enrico63> Is there an in-xmonad solution for this need?
2025-09-20 09:16:00 <vrs> xrandr bound to a hotkey?
2025-09-20 09:16:31 <vrs> arandr can export the current xrandr line via Save As
2025-09-20 09:17:20 <vrs> I have a script bound to one of my fn keys that detects the screens that are connected and restores the layout for that screen set
2025-09-20 09:31:22 × Enrico63 quits (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) (Quit: Client closed)
2025-09-20 09:31:36 Enrico63 joins (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213)
2025-09-20 09:35:49 <Enrico63> vrs, but I suppose the script hardcodes an xrandr command?
2025-09-20 09:36:21 <Enrico63> Do you have it shared somewhere?
2025-09-20 09:41:35 <vrs> https://pastebin.com/eB4zUAse
2025-09-20 09:41:45 <vrs> the various .sh files are just xrandr lines
2025-09-20 09:44:10 <liskin> Enrico63: there's X.H.Rescreen
2025-09-20 09:44:39 <liskin> Lets you run some sort of autorandr or whatever when you (un)plug
2025-09-20 09:45:47 <liskin> Works a bit shit if your hardware (or its support in X11) is shit though, as is the case with my monitor :-)
2025-09-20 09:58:51 <Enrico63> Thanks, I've gone for the script bound to a hotkey, it turns out I had a script I had forgotten
2025-09-20 10:06:22 <Enrico63> Layout related question. I've been using ThreeColMid for a week or so, and now I'm trying ThreeCol. But for some reason I'd prefer to have the main column as the right-most column. Is there a solution?
2025-09-20 10:10:22 <Enrico63> The reason is that most windows are textual (browser, terminal, ...), and text starts at the left (yes, for LTR scripts), so having the main column to the left means that  the main column text begins as far as possible from the left end of the monitor. ThreeColMid reduces this problem a bit. But ultimately, I think I'd prefer an hypothetical
2025-09-20 10:10:22 <Enrico63> ThreeColRight
2025-09-20 10:30:24 Miroboru joins (~myrvoll@84.214.174.128)
2025-09-20 11:24:20 × Enrico63 quits (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) (Quit: Client closed)
2025-09-20 12:37:49 Enrico63 joins (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213)
2025-09-20 13:01:05 × Digit quits (~user@user/digit) (Server closed connection)
2025-09-20 13:03:08 Digit joins (~user@user/digit)
2025-09-20 14:12:22 aplainzetakind joins (~aplainzet@37.155.33.61)
2025-09-20 14:19:12 <aplainzetakind> Does anybody use XMonad with one of the DEs with which Linux Mint ships, using only a simple session config? Can anyone point me to a recipe perhaps?
2025-09-20 14:38:30 <geekosaur> if they still have a MATE spin (I haven't run Mint in a while) see https://wiki.haskell.org/index.php?title=Xmonad/Using_xmonad_in_MATE
2025-09-20 14:38:50 <geekosaur> (which I maintain, but currently it's only tested on Ubuntu)
2025-09-20 14:40:17 <geekosaur> there's a list at https://wiki.haskell.org/Xmonad but many of them are unmaintained
2025-09-20 14:54:42 <Enrico63> Hi, regarding the help text to which mod+? is bound (or was it mod+shift+? ? doesn't matter). That's just a String message, so it is obviously only showing the default bindings, and one would even have to change that message if any default binding were to change. My question is: is there a way to make an "actual rather than default" binding help
2025-09-20 14:54:42 <Enrico63> message? I would assume the answer is not because functions don't have a Show instance. Would that mean that a solution would have to involve TH?
2025-09-20 14:55:50 <Enrico63> Because, yeah, maybe beginners have to look up the bindings of common commands, but I personally sometimes forgot some more rare bidning I've set up, so a help message would be faster than opening my config xmonad.hs file.
2025-09-20 15:00:48 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Util-NamedActions.html but it's somewhat involved
2025-09-20 15:08:33 <Enrico63> But how is that used, if not for the help message?
2025-09-20 15:08:45 <Enrico63> ~how~ what for
2025-09-20 15:21:28 <geekosaur> showKm and showKmSimple extract the descriptions into a printable list. you need to pass it the result of myKeys in the binding and decide how you want to present the resulting list of Strings
2025-09-20 15:42:57 assface joins (~assface@dslb-002-201-020-218.002.201.pools.vodafone-ip.de)

All times are in UTC.