Logs on 2024-06-13 (liberachat/#xmonad)
| 01:13:59 | × | catman quits (~catman@user/catman) (Remote host closed the connection) |
| 01:29:52 | → | catman joins (~catman@user/catman) |
| 01:53:38 | × | weitcis quits (~quassel@s-169-232-102-176.resnet.ucla.edu) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 02:21:11 | × | dysthesis quits (~dysthesis@user/dysthesis) (Quit: dysthesis) |
| 02:55:27 | × | td_ quits (~td@i5387092E.versanet.de) (Ping timeout: 264 seconds) |
| 02:56:46 | → | td_ joins (~td@i53870929.versanet.de) |
| 03:12:28 | → | weitcis joins (~quassel@syn-075-083-074-003.res.spectrum.com) |
| 03:20:20 | × | weitcis quits (~quassel@syn-075-083-074-003.res.spectrum.com) (Quit: No Ping reply in 180 seconds.) |
| 03:20:34 | → | weitcis joins (~quassel@syn-075-083-074-003.res.spectrum.com) |
| 03:52:00 | <haskellbridge> | <James> Hello |
| 03:52:12 | <haskellbridge> | <James> iqubic (she/her): Hello |
| 03:52:48 | geekosaur | waves |
| 03:55:19 | <haskellbridge> | <James> iqubic (she/her): How are you? |
| 03:58:48 | <haskellbridge> | <James> https://matrix.to/#/#haskell-space:matrix.org |
| 04:56:59 | × | weitcis quits (~quassel@syn-075-083-074-003.res.spectrum.com) (Ping timeout: 264 seconds) |
| 05:19:55 | → | weitcis joins (~quassel@syn-075-083-074-003.res.spectrum.com) |
| 05:39:23 | → | thunderrd joins (~thunderrd@node-k7.118-174.static.totisp.net) |
| 05:54:15 | × | thunderrd quits (~thunderrd@node-k7.118-174.static.totisp.net) (Ping timeout: 264 seconds) |
| 06:07:41 | → | thunderrd joins (~thunderrd@118.174.53.205) |
| 06:50:32 | × | ft quits (~ft@p3e9bcb39.dip0.t-ipconnect.de) (Quit: leaving) |
| 09:18:06 | → | cfricke joins (~cfricke@user/cfricke) |
| 09:39:16 | → | rascasse joins (~rascasse@user/diep) |
| 10:09:40 | × | rascasse quits (~rascasse@user/diep) (Ping timeout: 256 seconds) |
| 10:51:35 | → | rascasse joins (~rascasse@user/diep) |
| 12:45:52 | × | catman quits (~catman@user/catman) (Quit: WeeChat 4.3.0-dev) |
| 12:53:37 | → | catman joins (~catman@user/catman) |
| 14:42:07 | × | thunderrd quits (~thunderrd@118.174.53.205) (Remote host closed the connection) |
| 14:59:34 | × | rascasse quits (~rascasse@user/diep) (Ping timeout: 255 seconds) |
| 15:46:07 | → | thunderrd joins (~thunderrd@118.174.53.205) |
| 15:57:50 | → | rascasse joins (~rascasse@user/diep) |
| 16:11:43 | × | xmonadtrack quits (~xmonadtra@user/geekosaur/bot/xmonadtrack) (Remote host closed the connection) |
| 16:12:33 | × | haskellbridge quits (~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection) |
| 16:18:38 | → | haskellbridge joins (~hackager@syn-024-093-192-219.res.spectrum.com) |
| 16:18:49 | → | xmonadtrack joins (~xmonadtra@syn-024-093-192-219.res.spectrum.com) |
| 16:18:49 | × | xmonadtrack quits (~xmonadtra@syn-024-093-192-219.res.spectrum.com) (Changing host) |
| 16:18:49 | → | xmonadtrack joins (~xmonadtra@user/geekosaur/bot/xmonadtrack) |
| 16:22:43 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.2.2) |
| 17:54:22 | → | ft joins (~ft@p3e9bcb39.dip0.t-ipconnect.de) |
| 19:36:39 | → | mekeor joins (~user@2001:a61:10ae:1901:3241:bc6e:53bb:fccc) |
| 20:38:13 | × | rascasse quits (~rascasse@user/diep) (Remote host closed the connection) |
| 21:15:51 | × | mekeor quits (~user@2001:a61:10ae:1901:3241:bc6e:53bb:fccc) (Ping timeout: 264 seconds) |
| 21:44:54 | <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? |
| 21:47:13 | <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. |
| 21:49:43 | <geekosaur> | a Query Bool is what goes on the left side of `-->` in a ManageHook |
| 21:49:46 | <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? |
| 21:50:02 | <geekosaur> | (NamedScratchpads in effect build custom ManageHooks) |
| 21:50:19 | <geekosaur> | with quotes around "scratchmacs", yes |
| 21:50:32 | <haskellbridge> | <iqubic (she/her)> Right. Because that has to be a string. |
| 21:51:09 | <geekosaur> | https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L94-L132 |
| 21:51:39 | <geekosaur> | (and `remoteCrawl` is just above it) |
| 21:51:58 | <haskellbridge> | <iqubic (she/her)> So, appName is the first string returned by WM_CLASS? Got it. |
| 21:52:09 | <geekosaur> | yes, and className is the second |
| 21:52:56 | <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 |
| 21:53:14 | <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 |
| 21:53:41 | <geekosaur> | in general you don't change className, it's supposed to apply to all instances |
| 21:55:28 | <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. |
| 21:56:31 | <haskellbridge> | <iqubic (she/her)> What does "(noTaskbar <> doFloatPlace)" mean |
| 21:58:33 | <geekosaur> | doFloatPlace just composes a PlaceHook with doFloat (https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L298-L299) |
| 21:59:09 | <geekosaur> | noTaskBar is from XMonad.Util.NoTaskbar and hides windows from EWMH compliant taskbars |
| 21:59:16 | <haskellbridge> | <iqubic (she/her)> Why are you doing that? What benefits does that give you? |
| 21:59:19 | <geekosaur> | (I use xmonad as WM for Mate) |
| 21:59:38 | <haskellbridge> | <iqubic (she/her)> I see. I didn't know you could use that. |
| 21:59:42 | <haskellbridge> | <iqubic (she/her)> +do |
| 22:00:07 | <haskellbridge> | <iqubic (she/her)> I'm running XMonad without any sort of DE |
| 22:00:27 | <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 |
| 22:02:28 | <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 |
| 22:02:30 | <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. |
| 22:02:39 | <geekosaur> | it's not |
| 22:04:11 | <haskellbridge> | <iqubic (she/her)> Got it. So I'd probably have to modify my Pretty Printer to explicitly exclude those. |
| 22:04:14 | <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:filterOutWsPP |
| 22:04:56 | <haskellbridge> | <iqubic (she/her)> Yeah. I can totally use that! |
| 22:06:07 | <haskellbridge> | <iqubic (she/her)> What is "myPlaceHook" doing for you? (noTaskbar <> doFloatPlace) |
| 22:06:07 | <haskellbridge> | <iqubic (she/her)> -(noTaskbar <> doFloatPlace) |
| 22:06:13 | <haskellbridge> | <iqubic (she/her)> https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L296C1-L296C42 |
| 22:07:29 | <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 |
| 22:09:39 | <haskellbridge> | <iqubic (she/her)> If I want to do something simple, can't I just use "customFloating"? |
| 22:10:02 | <geekosaur> | yes |
| 22:10:50 | <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. |
| 22:11:40 | <geekosaur> | it's an X112 Rectangle rephrased as a proportion of the screen, since it can be applied to screens with different sizes |
| 22:12:40 | <haskellbridge> | <iqubic (she/her)> Ah. I see. |
| 22:13:11 | <geekosaur> | https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L112 |
| 22:14:26 | <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 |
| 22:14:57 | <haskellbridge> | <iqubic (she/her)> Right. I see. |
| 22:15:05 | <haskellbridge> | <iqubic (she/her)> "myPlaceHook = inBounds $ smart (0.5, 0.5)" |
| 22:15:17 | <haskellbridge> | <iqubic (she/her)> What do the two 0.5s there mean? |
| 22:15:34 | <geekosaur> | https://imgur.com/CtdtqU0.png |
| 22:15:54 | <geekosaur> | indicates the center of the screen (halfway across in both X and Y dimensions) |
| 22:16:49 | <haskellbridge> | <iqubic (she/her)> Right. Got it. I'll have a play with this and see what I can get setup. |
| 22:16:53 | <haskellbridge> | <iqubic (she/her)> * set up. |
| 22:17:33 | <haskellbridge> | <iqubic (she/her)> I assume your most recent image is wide because you have a dual-head setup. Is that right? |
| 22:17:39 | <geekosaur> | yes |
| 22:17:59 | <haskellbridge> | <iqubic (she/her)> Cool. Thanks for helping me understand this. |
| 22:19:09 | <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. |
| 22:19:56 | <haskellbridge> | <iqubic (she/her)> It's actually really easy to use XMonad with NixOS. |
| 22:21:00 | <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. |
| 22:29:20 | <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. |
| 22:29:44 | <haskellbridge> | <iqubic (she/her)> And to make matters worse, I'm a trans woman! |
| 22:57:28 | × | MrElendig quits (~Urist@archlinux/op/MrElendig) (Quit: Hans, get the flammenwerfer) |
| 22:59:01 | → | MrElendig joins (~Urist@archlinux/op/MrElendig) |
All times are in UTC on 2024-06-13.