2024/06/13

2024-06-13 01:13:59 +0000catman(~catman@user/catman) (Remote host closed the connection)
2024-06-13 01:29:52 +0000catman(~catman@user/catman)
2024-06-13 01:53:38 +0000weitcis(~quassel@s-169-232-102-176.resnet.ucla.edu) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
2024-06-13 02:21:11 +0000dysthesis(~dysthesis@user/dysthesis) (Quit: dysthesis)
2024-06-13 02:55:27 +0000td_(~td@i5387092E.versanet.de) (Ping timeout: 264 seconds)
2024-06-13 02:56:46 +0000td_(~td@i53870929.versanet.de)
2024-06-13 03:12:28 +0000weitcis(~quassel@syn-075-083-074-003.res.spectrum.com)
2024-06-13 03:20:20 +0000weitcis(~quassel@syn-075-083-074-003.res.spectrum.com) (Quit: No Ping reply in 180 seconds.)
2024-06-13 03:20:34 +0000weitcis(~quassel@syn-075-083-074-003.res.spectrum.com)
2024-06-13 03:52:00 +0000 <haskellbridge> <James> Hello
2024-06-13 03:52:12 +0000 <haskellbridge> <James> iqubic (she/her): Hello
2024-06-13 03:52:48 +0000geekosaurwaves
2024-06-13 03:55:19 +0000 <haskellbridge> <James> iqubic (she/her): How are you?
2024-06-13 03:58:48 +0000 <haskellbridge> <James> https://matrix.to/#/#haskell-space:matrix.org
2024-06-13 04:56:59 +0000weitcis(~quassel@syn-075-083-074-003.res.spectrum.com) (Ping timeout: 264 seconds)
2024-06-13 05:19:55 +0000weitcis(~quassel@syn-075-083-074-003.res.spectrum.com)
2024-06-13 05:39:23 +0000thunderrd(~thunderrd@node-k7.118-174.static.totisp.net)
2024-06-13 05:54:15 +0000thunderrd(~thunderrd@node-k7.118-174.static.totisp.net) (Ping timeout: 264 seconds)
2024-06-13 06:07:41 +0000thunderrd(~thunderrd@118.174.53.205)
2024-06-13 06:50:32 +0000ft(~ft@p3e9bcb39.dip0.t-ipconnect.de) (Quit: leaving)
2024-06-13 09:18:06 +0000cfricke(~cfricke@user/cfricke)
2024-06-13 09:39:16 +0000rascasse(~rascasse@user/diep)
2024-06-13 10:09:40 +0000rascasse(~rascasse@user/diep) (Ping timeout: 256 seconds)
2024-06-13 10:51:35 +0000rascasse(~rascasse@user/diep)
2024-06-13 12:45:52 +0000catman(~catman@user/catman) (Quit: WeeChat 4.3.0-dev)
2024-06-13 12:53:37 +0000catman(~catman@user/catman)
2024-06-13 14:42:07 +0000thunderrd(~thunderrd@118.174.53.205) (Remote host closed the connection)
2024-06-13 14:59:34 +0000rascasse(~rascasse@user/diep) (Ping timeout: 255 seconds)
2024-06-13 15:46:07 +0000thunderrd(~thunderrd@118.174.53.205)
2024-06-13 15:57:50 +0000rascasse(~rascasse@user/diep)
2024-06-13 16:11:43 +0000xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack) (Remote host closed the connection)
2024-06-13 16:12:33 +0000haskellbridge(~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection)
2024-06-13 16:18:38 +0000haskellbridge(~hackager@syn-024-093-192-219.res.spectrum.com)
2024-06-13 16:18:49 +0000xmonadtrack(~xmonadtra@syn-024-093-192-219.res.spectrum.com)
2024-06-13 16:18:49 +0000xmonadtrack(~xmonadtra@syn-024-093-192-219.res.spectrum.com) (Changing host)
2024-06-13 16:18:49 +0000xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack)
2024-06-13 16:22:43 +0000cfricke(~cfricke@user/cfricke) (Quit: WeeChat 4.2.2)
2024-06-13 17:54:22 +0000ft(~ft@p3e9bcb39.dip0.t-ipconnect.de)
2024-06-13 19:36:39 +0000mekeor(~user@2001:a61:10ae:1901:3241:bc6e:53bb:fccc)
2024-06-13 20:38:13 +0000rascasse(~rascasse@user/diep) (Remote host closed the connection)
2024-06-13 21:15:51 +0000mekeor(~user@2001:a61:10ae:1901:3241:bc6e:53bb:fccc) (Ping timeout: 264 seconds)
2024-06-13 21:44:54 +0000 <haskellbridge> <iqubic (she/her)> I'm looking to set up some Named Scratchpads. I'm not sure what "Query Bool" as the query parameter of the NS constructor? How do I know if I want to use "className" or "appName" and how do I get those values?
2024-06-13 21:47:13 +0000 <haskellbridge> <iqubic (she/her)> I'm wanting to make an Emacs window into a scratchpad. According to what I've read online using "emacsclient -c --frame-parameters='(quote (name . "scratchmacs"))'" as the way to launch Emacs sets either the "className" or the "appName" and I'm not sure which.
2024-06-13 21:49:43 +0000 <geekosaur> a Query Bool is what goes on the left side of `-->` in a ManageHook
2024-06-13 21:49:46 +0000 <haskellbridge> <iqubic (she/her)> Using "xprop" gives this piece of info: "WM_CLASS(STRING) = "scratchmacs", "Emacs"". I think that means I want to use something like "appName =? scratchmacs" right?
2024-06-13 21:50:02 +0000 <geekosaur> (NamedScratchpads in effect build custom ManageHooks)
2024-06-13 21:50:19 +0000 <geekosaur> with quotes around "scratchmacs", yes
2024-06-13 21:50:32 +0000 <haskellbridge> <iqubic (she/her)> Right. Because that has to be a string.
2024-06-13 21:51:09 +0000 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L94-L132
2024-06-13 21:51:39 +0000 <geekosaur> (and `remoteCrawl` is just above it)
2024-06-13 21:51:58 +0000 <haskellbridge> <iqubic (she/her)> So, appName is the first string returned by WM_CLASS? Got it.
2024-06-13 21:52:09 +0000 <geekosaur> yes, and className is the second
2024-06-13 21:52:56 +0000 <haskellbridge> <iqubic (she/her)> I don't see any way to change the class name of a new emacs window, but I don't have a way to change the appName
2024-06-13 21:53:14 +0000 <geekosaur> there's a utility script in xmonad-contrib (that sadly doesn't get installed) that outputs properties in ManageHook format: https://github.com/xmonad/xmonad-contrib/blob/master/scripts/window-properties.sh
2024-06-13 21:53:41 +0000 <geekosaur> in general you don't change className, it's supposed to apply to all instances
2024-06-13 21:55:28 +0000 <haskellbridge> <iqubic (she/her)> Right. What's going on here is that I have Emacs running as a daemon in the background, and then I'm just firing up a client so that I can do some edits and things. And then I can close that window without losing all of the Emacs state.
2024-06-13 21:56:31 +0000 <haskellbridge> <iqubic (she/her)> What does "(noTaskbar <> doFloatPlace)" mean
2024-06-13 21:58:33 +0000 <geekosaur> doFloatPlace just composes a PlaceHook with doFloat (https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L298-L299)
2024-06-13 21:59:09 +0000 <geekosaur> noTaskBar is from XMonad.Util.NoTaskbar and hides windows from EWMH compliant taskbars
2024-06-13 21:59:16 +0000 <haskellbridge> <iqubic (she/her)> Why are you doing that? What benefits does that give you?
2024-06-13 21:59:19 +0000 <geekosaur> (I use xmonad as WM for Mate)
2024-06-13 21:59:38 +0000 <haskellbridge> <iqubic (she/her)> I see. I didn't know you could use that.
2024-06-13 21:59:42 +0000 <haskellbridge> <iqubic (she/her)> +do
2024-06-13 22:00:07 +0000 <haskellbridge> <iqubic (she/her)> I'm running XMonad without any sort of DE
2024-06-13 22:00:27 +0000 <geekosaur> because I open like 8 `sxiv` windows (still trying to reproduce https://github.com/xmonad/xmonad-contrib/issues/753) and I don't want them clogging my taskbar
2024-06-13 22:02:28 +0000 <geekosaur> the XMonad.Desktop hierarchy provides support for xmonad as WM for a number of desktops. read the wiki because you generally need to reconfigure the DE to use xmonad; for example https://wiki.haskell.org/Xmonad/Using_xmonad_in_MATE
2024-06-13 22:02:30 +0000 <haskellbridge> <iqubic (she/her)> Do you know if XMobar is EWMH compliant? I don't want named scratchpads to show up in the list of workspaces that XMobar reports.
2024-06-13 22:02:39 +0000 <geekosaur> it's not
2024-06-13 22:04:11 +0000 <haskellbridge> <iqubic (she/her)> Got it. So I'd probably have to modify my Pretty Printer to explicitly exclude those.
2024-06-13 22:04:14 +0000 <geekosaur> to hide the NSP workspace from the information that xmobar gets, you want https://hackage.haskell.org/package/xmonad-contrib-0.18.0/docs/XMonad-Hooks-StatusBar-PP.html#v:fi…
2024-06-13 22:04:56 +0000 <haskellbridge> <iqubic (she/her)> Yeah. I can totally use that!
2024-06-13 22:06:07 +0000 <haskellbridge> <iqubic (she/her)> What is "myPlaceHook" doing for you? (noTaskbar <> doFloatPlace)
2024-06-13 22:06:07 +0000 <haskellbridge> <iqubic (she/her)> -(noTaskbar <> doFloatPlace)
2024-06-13 22:06:13 +0000 <haskellbridge> <iqubic (she/her)> https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L296C1-L296C42
2024-06-13 22:07:29 +0000 <geekosaur> places floating windows near the center of the screen, not allowing them to go outside the screen unless they're straight-up too big to fit, and trying to keep them from overlapping each other
2024-06-13 22:09:39 +0000 <haskellbridge> <iqubic (she/her)> If I want to do something simple, can't I just use "customFloating"?
2024-06-13 22:10:02 +0000 <geekosaur> yes
2024-06-13 22:10:50 +0000 <haskellbridge> <iqubic (she/her)> What do the 4 parameters to "W.RationalRect" even specify? The docs don't explain it. It just shows it as 4 strict Rationals with no explanation.
2024-06-13 22:11:40 +0000 <geekosaur> it's an X112 Rectangle rephrased as a proportion of the screen, since it can be applied to screens with different sizes
2024-06-13 22:12:40 +0000 <haskellbridge> <iqubic (she/her)> Ah. I see.
2024-06-13 22:13:11 +0000 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L112
2024-06-13 22:14:26 +0000 <geekosaur> start a quarter of the way across the screen horizontally and right at the top vertically, width is half the screen, height is 35/100 of the screen
2024-06-13 22:14:57 +0000 <haskellbridge> <iqubic (she/her)> Right. I see.
2024-06-13 22:15:05 +0000 <haskellbridge> <iqubic (she/her)> "myPlaceHook = inBounds $ smart (0.5, 0.5)"
2024-06-13 22:15:17 +0000 <haskellbridge> <iqubic (she/her)> What do the two 0.5s there mean?
2024-06-13 22:15:34 +0000 <geekosaur> https://imgur.com/CtdtqU0.png
2024-06-13 22:15:54 +0000 <geekosaur> indicates the center of the screen (halfway across in both X and Y dimensions)
2024-06-13 22:16:49 +0000 <haskellbridge> <iqubic (she/her)> Right. Got it. I'll have a play with this and see what I can get setup.
2024-06-13 22:16:53 +0000 <haskellbridge> <iqubic (she/her)> * set up.
2024-06-13 22:17:33 +0000 <haskellbridge> <iqubic (she/her)> I assume your most recent image is wide because you have a dual-head setup. Is that right?
2024-06-13 22:17:39 +0000 <geekosaur> yes
2024-06-13 22:17:59 +0000 <haskellbridge> <iqubic (she/her)> Cool. Thanks for helping me understand this.
2024-06-13 22:19:09 +0000 <haskellbridge> <iqubic (she/her)> I've been using XMonad for a while, but I've only just now decided to make major changes to my config.
2024-06-13 22:19:56 +0000 <haskellbridge> <iqubic (she/her)> It's actually really easy to use XMonad with NixOS.
2024-06-13 22:21:00 +0000 <haskellbridge> <iqubic (she/her)> I had a few ideas for making my own layouts, but then found out that all of them could be found in contrib already.
2024-06-13 22:29:20 +0000 <haskellbridge> <iqubic (she/her)> As a woman in tech spaces, people sometimes don't want to help me. Thank you for helping me understand XMonad.
2024-06-13 22:29:44 +0000 <haskellbridge> <iqubic (she/her)> And to make matters worse, I'm a trans woman!
2024-06-13 22:57:28 +0000MrElendig(~Urist@archlinux/op/MrElendig) (Quit: Hans, get the flammenwerfer)
2024-06-13 22:59:01 +0000MrElendig(~Urist@archlinux/op/MrElendig)