Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→ 184,992 events total
2023-01-02 05:56:43 <Janoo> In the expression: m .|. modMask
2023-01-02 05:56:46 <Janoo> In the expression: (m .|. modMask, key)
2023-01-02 05:56:58 <Janoo> that's the error that I am getting now HB[m]
2023-01-02 05:58:08 <HB[m]> https://bpa.st/ use this website, and paste your entire xmonad.config here and then wait for soemone to look it over
2023-01-02 05:58:52 <Janoo> will do later, thx for all the help HB[m]!
2023-01-02 06:01:47 <HB[m]> Don't forget to share the link with us.
2023-01-02 06:07:47 × jabuxas quits (~jabuxas@user/jabuxas) (Ping timeout: 246 seconds)
2023-01-02 06:10:03 jabuxas joins (~jabuxas@user/jabuxas)
2023-01-02 06:15:53 <Janoo> HB[m]: here is a link to my current config: https://bpa.st/XX52A
2023-01-02 06:46:32 <Janoo> In case someone else drops by here, here is my issue: I am trying to remap M-{w,e,r} to M-{u,i,o}. I have pasted the blocks of code provided by HB[m] above but I have had compilation errors. My config file can be found here: https://bpa.st/XX52A . I would be grateful if anyone could tell me how to change the code to remap the aforementioned keys. Thank you!
2023-01-02 06:56:50 <Solid> Janoo: try something like http://ix.io/4k9r/haskell
2023-01-02 06:56:57 <Solid> (and now adjust the keys as needed)
2023-01-02 06:57:49 <Solid> (btw, if you're new to XMonad definitely check out the tutorial: https://xmonad.org/TUTORIAL.html :)
2023-01-02 06:59:24 <Janoo> Solid: I have been using for a pretty long time, but never got around to learning haskell and just found bits of code that did what I needed from other configurations. I should really get into it, sorry for bothering you guys and thank you for all the help!
2023-01-02 07:02:03 <Janoo> Solid: works perfectly now! thank you for the help!
2023-01-02 07:02:53 <Solid> No worries, just figured I'd throw it out there :)
2023-01-02 07:03:26 <Solid> Especially since, once you update XMonad, things like `defaultConfig` will go away and you'll have to switch to `def`
2023-01-02 07:04:14 <Solid> (I've sheepishly already changed this in the config I sent you)
2023-01-02 07:04:55 × defjam quits (~defjam@2a02:c7e:2807:b900:2821:cf47:1533:6089) (Ping timeout: 260 seconds)
2023-01-02 07:05:36 <Janoo> Solid: Yeah I noticed that a couple of days back when I switched from my old repo version to the newest one to add some more layouts. Got a bunch of warnings about deprecations...
2023-01-02 07:06:43 <Janoo> Solid: I have been dragging this config for many years now, thank you for the switch to def as well!
2023-01-02 07:07:33 <Solid> Most deprecations are pretty easy to fix (and we usually tell you exactly what to do), but if you need help with anything feel free to ask here!
2023-01-02 07:07:49 <Janoo> Solid: will do!
2023-01-02 07:26:36 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
2023-01-02 07:34:08 defjam joins (~defjam@90.201.240.60)
2023-01-02 07:37:27 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-01-02 07:38:56 × defjam quits (~defjam@90.201.240.60) (Ping timeout: 252 seconds)
2023-01-02 07:56:47 Janoo parts (~username@c-bc15225c.010-598-73746f7.bbcust.telenor.se) ()
2023-01-02 08:07:24 defjam joins (~defjam@90.201.240.60)
2023-01-02 08:12:02 × defjam quits (~defjam@90.201.240.60) (Ping timeout: 246 seconds)
2023-01-02 08:42:43 defjam joins (~defjam@2a02:c7e:2807:b900:2821:cf47:1533:6089)
2023-01-02 08:47:35 × defjam quits (~defjam@2a02:c7e:2807:b900:2821:cf47:1533:6089) (Ping timeout: 260 seconds)
2023-01-02 09:16:28 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 252 seconds)
2023-01-02 09:17:32 defjam joins (~defjam@2a02:c7e:2807:b900:2821:cf47:1533:6089)
2023-01-02 09:18:19 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-01-02 09:22:52 × defjam quits (~defjam@2a02:c7e:2807:b900:2821:cf47:1533:6089) (Max SendQ exceeded)
2023-01-02 09:23:21 defjam joins (~defjam@2a02:c7e:2807:b900:2821:cf47:1533:6089)
2023-01-02 11:32:35 × defjam quits (~defjam@2a02:c7e:2807:b900:2821:cf47:1533:6089) (Ping timeout: 252 seconds)
2023-01-02 11:43:47 thyriaen joins (~thyriaen@2a01:aea0:dd4:4bae:6245:cbff:fe9f:48b1)
2023-01-02 11:45:28 <thyriaen> I wonder - is there a way to tell picom to treat the entire tabs-bar ( in tabbed layout ) as a single "window" such that only the edges on the far left and far right are rounded into corners by picom ? ( and not the internal ones between each new tab )
2023-01-02 11:59:45 guydoodmanbro[m] joins (~guydoodma@2001:470:69fc:105::2:74fe)
2023-01-02 12:02:17 defjam joins (~defjam@2a02:c7e:2807:b900:2821:cf47:1533:6089)
2023-01-02 12:41:09 toledo joins (~toledo@141.30.130.27)
2023-01-02 12:49:54 × toledo quits (~toledo@141.30.130.27) (Quit: Client closed)
2023-01-02 13:38:01 × jabuxas quits (~jabuxas@user/jabuxas) (Ping timeout: 265 seconds)
2023-01-02 13:41:14 jabuxas joins (~jabuxas@user/jabuxas)
2023-01-02 14:07:36 × defjam quits (~defjam@2a02:c7e:2807:b900:2821:cf47:1533:6089) (Ping timeout: 252 seconds)
2023-01-02 14:09:59 <jifarra[m]> Is there an easy way to define a keybind that rotates through the options in a MultiToggle group, rather than having keybindings for each toggle?
2023-01-02 14:16:02 <geekosaur> not really; HLists are rarely easy
2023-01-02 14:16:51 <geekosaur> you'd have to expose the HList outside the definition, and track your positiion in it yourself
2023-01-02 14:25:10 defjam joins (~defjam@90.201.240.60)
2023-01-02 14:36:28 × defjam quits (~defjam@90.201.240.60) (Ping timeout: 268 seconds)
2023-01-02 14:39:56 defjam joins (~defjam@90.201.240.60)
2023-01-02 14:57:57 <thyriaen> geekosaur, do you know the answer to my question from 3 hours ago ?
2023-01-02 15:12:26 tremon joins (~tremon@83-85-213-108.cable.dynamic.v4.ziggo.nl)
2023-01-02 15:13:25 <geekosaur> that would be a picom question and I have no idea
2023-01-02 15:14:00 <geekosaur> suspect there's no good way to do it; they really are separate windows as far as xmonad and X11 are concerned, so picom would have to know how to group them somehow
2023-01-02 15:17:56 <Jadesheit[m]> if the border window has specific tags you can target those
2023-01-02 15:18:04 <Jadesheit[m]> try with xprop
2023-01-02 15:18:18 <geekosaur> it doesn't have any
2023-01-02 15:18:41 <geekosaur> I messed with that code a couple years back, hacking it up locally to add opacity props 🙂
2023-01-02 15:19:51 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/src/XMonad.Util.XUtils.html#createNewWindow fwiw
2023-01-02 15:20:13 <thyriaen> what is that ?
2023-01-02 15:20:40 <geekosaur> the problem with making changes there is it's used by things other than tabs; the problem with making it in the tab code is it doesn't actually have the window, Decoration does, and Decoration can't tell the difference between a tab and a titlebar
2023-01-02 15:21:57 <geekosaur> (which was also what was wrong with my opacity hack; it only worked because I didn't use anything else that called `createNewWindow`)
2023-01-02 15:23:58 <geekosaur> "that" was the code that creates the Decoration windows used by tabs, titlebars, ShowWName, and a few other places
2023-01-02 15:38:51 <thyriaen> geekosaur, i don't quite get it but i don't use any decoration other than borders and tabs
2023-01-02 15:39:08 <thyriaen> would it work for me if i adjust it and can i then get kinda a grouped window for my tabs ?
2023-01-02 15:39:49 <geekosaur> you still need to convince picom to treat them as a single window, which is something we can't help with
2023-01-02 15:40:26 <geekosaur> but if you forked xmonad-contrib, yes, you could patch that code to add a property for picom to match on
2023-01-02 15:52:14 × defjam quits (~defjam@90.201.240.60) (Ping timeout: 246 seconds)
2023-01-02 16:00:06 × purity-gearD[m] quits (~pipe-gear@2001:470:69fc:105::2:ac18) (Quit: You have been kicked for being idle)
2023-01-02 16:00:08 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
2023-01-02 16:22:54 defjam joins (~defjam@90.201.240.60)
2023-01-02 16:28:19 × defjam quits (~defjam@90.201.240.60) (Ping timeout: 260 seconds)
2023-01-02 16:32:58 <thyriaen> geekosaur, do you know if there is a way for picom to treat the tabs as part of the window ? because if the tabs have shadow they draw it ontop of the window the tabs are attached to
2023-01-02 16:33:10 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
2023-01-02 16:34:32 <xmonadtrack> New xmonad-contrib branch created: tmp (1 commit) https://github.com/xmonad/xmonad-contrib/tree/tmp
2023-01-02 16:37:02 <geekosaur> No, I don't
2023-01-02 16:40:33 <liskin> geekosaur, Solid: what do we think about TupleSections? hlint 3.5 suggests those by default now for zip/repeat combos
2023-01-02 16:41:07 <liskin> hm, that's probably a question I might ask via a PR…
2023-01-02 16:42:08 <geekosaur> TupleSections has been around forever; that it's an extension is arguably a wart in the Haskell language standard
2023-01-02 16:47:54 <geekosaur> we have much more questionable stuff in the codebase imo
2023-01-02 16:56:55 defjam joins (~defjam@90.201.240.60)
2023-01-02 17:01:43 × defjam quits (~defjam@90.201.240.60) (Ping timeout: 256 seconds)
2023-01-02 17:08:07 <Solid> liskin: fwiw, I find TupleSections very readable
2023-01-02 17:29:17 <dminuoso> Isnt there a proposal in the making of turning [a] into `List a`, (a, b) into `Tuple2 a b`, and so forth?
2023-01-02 17:29:37 <dminuoso> geekosaur surely knows
2023-01-02 17:30:17 defjam joins (~defjam@90.201.240.60)
2023-01-02 17:36:02 × defjam quits (~defjam@90.201.240.60) (Ping timeout: 272 seconds)
2023-01-02 17:40:23 <Solid> Probably the no-puns one?
2023-01-02 17:41:35 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2023-01-02 17:55:25 <dminuoso> Right. I think my beef with TupleSections is that tuples themselves are special syntax
2023-01-02 17:55:52 <dminuoso> One further thought is that GHC2021 enables TupleSections by default
2023-01-02 18:04:21 defjam joins (~defjam@90.201.240.60)
2023-01-02 18:09:10 × defjam quits (~defjam@90.201.240.60) (Ping timeout: 265 seconds)
2023-01-02 18:37:13 <geekosaur> I have heard some discussion of the list one, but nothing about the tuple
2023-01-02 18:37:45 <geekosaur> wouldn't surprise me much especially given the Solo proposal passed
2023-01-02 18:38:38 defjam joins (~defjam@90.201.240.60)
2023-01-02 18:41:44 abhixec joins (~abhinav@c-67-169-139-16.hsd1.ca.comcast.net)

All times are in UTC.