Home liberachat/#xmonad: Logs Calendar

Logs on 2023-12-16 (liberachat/#xmonad)

01:41:26 dysthesis joins (~dysthesis@user/dysthesis)
01:53:23 × dysthesis quits (~dysthesis@user/dysthesis) (Remote host closed the connection)
01:53:49 dysthesis joins (~dysthesis@user/dysthesis)
02:34:05 × arkoinad quits (~abhinav@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
02:34:06 × dysthesis quits (~dysthesis@user/dysthesis) (Remote host closed the connection)
02:34:35 dysthesis joins (~dysthesis@user/dysthesis)
02:58:56 <liskin> Silly question, but… have people previously complained that restarting a browser doesn't shift windows to their original workspaces?
03:00:06 <liskin> I've somehow thought it isn't easy to do, for all these years, but it's like 6 lines of code or something :-D
03:01:23 <geekosaur> have you tried to id those windows?
03:01:47 <liskin> It's just a matter of making a managehook that looks at _NET_WM_DESKTOP
03:01:57 <liskin> I'm just totally confused why it hasn't been done before
03:02:04 <liskin> (as in - isn't in contrib)
03:03:22 <liskin> (I'll submit a PR later)
03:32:49 × td_ quits (~td@i53870901.versanet.de) (Ping timeout: 256 seconds)
03:34:22 td_ joins (~td@i53870901.versanet.de)
03:55:39 × dysthesis quits (~dysthesis@user/dysthesis) (Quit: dysthesis)
07:22:26 thunderrd joins (~thunderrd@183.182.110.187)
07:27:13 × thunderrd quits (~thunderrd@183.182.110.187) (Remote host closed the connection)
07:54:44 alp__ joins (~alp@2001:861:e3d6:8f80:5927:5ec3:fb09:589c)
09:20:21 × alp__ quits (~alp@2001:861:e3d6:8f80:5927:5ec3:fb09:589c) (Ping timeout: 268 seconds)
09:34:23 alp__ joins (~alp@2001:861:e3d6:8f80:5871:e261:32c:c3e7)
09:58:48 × Nixkernal quits (~Nixkernal@115.16.194.178.dynamic.wline.res.cust.swisscom.ch) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
10:01:18 × gypsydanger quits (dc7b3a1c5c@irc.cheogram.com) (Ping timeout: 260 seconds)
10:01:55 gypsydanger joins (dc7b3a1c5c@irc.cheogram.com)
10:03:59 Nixkernal joins (~Nixkernal@115.16.194.178.dynamic.wline.res.cust.swisscom.ch)
10:08:30 × Nixkernal quits (~Nixkernal@115.16.194.178.dynamic.wline.res.cust.swisscom.ch) (Client Quit)
10:14:24 Nixkernal joins (~Nixkernal@115.16.194.178.dynamic.wline.res.cust.swisscom.ch)
11:22:40 × Nixkernal quits (~Nixkernal@115.16.194.178.dynamic.wline.res.cust.swisscom.ch) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
11:23:00 Nixkernal joins (~Nixkernal@115.16.194.178.dynamic.wline.res.cust.swisscom.ch)
11:31:19 × alp__ quits (~alp@2001:861:e3d6:8f80:5871:e261:32c:c3e7) (Ping timeout: 246 seconds)
11:49:41 alp__ joins (~alp@2001:861:e3d6:8f80:9e9a:65d5:880b:617e)
12:33:27 h1y0s1lv3r joins (~hiyosilve@p200300ed5f4d897c1baef3a8a7a85ad7.dip0.t-ipconnect.de)
12:35:17 <h1y0s1lv3r> Hello, good morning, I'm trying to recover an xmonad.hs configuration from 2014, but I'm getting errors that I don't know how to solve, sorry if I'm somewhat new to Haskell. Attached xmonad.hs and error capture; I don't have a better way to do it, sorry: CONFIG: https://paste.c-net.org/LiterClever ERROR: https://imgur.com/a/wW0tVLw Any help, pls?
12:44:31 <[Leary]> h1y0s1lv3r: <https://hackage.haskell.org/package/xmonad-0.17.2/changelog>, <https://hackage.haskell.org/package/xmonad-contrib-0.17.1/changelog>
12:45:32 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
12:45:46 [Leary] joins (~Leary]@user/Leary/x-0910699)
12:45:50 <h1y0s1lv3r> Ufs, thanks, a lot of changes and a lot of work Leary, maybe is good idea start with a new configuration...
12:46:09 <[Leary]> These changelogs can be considered migration guides. If you search for 'default' (a reasonable keyword based on your errors) in these, you'll get helpful hits; no need to start over.
12:47:01 <h1y0s1lv3r> Yes I see: Use of data-default allows using def where previously you had to write defaultConfig, defaultXPConfig, etc.
12:48:05 <h1y0s1lv3r> Let's try with def.
12:52:45 <h1y0s1lv3r> Yes, I need to start with empty xmonad.hs and go step by step, thanks anyway. Enjoy rest of the day.
12:55:10 <h1y0s1lv3r> Do we have templates updated to start with? pls
12:55:55 <h1y0s1lv3r> Will try with https://wiki.haskell.org/Xmonad/Config_archive
12:56:53 <[Leary]> Those configs are probably even older and more broken than yours.
12:57:45 <h1y0s1lv3r> Yes continues using from 2010 DefaultConfig omg.
12:58:14 <h1y0s1lv3r> Do we have somewhere templates updated? Leary
12:58:41 <h1y0s1lv3r> Could you share with me someone, pls?
12:58:49 <[Leary]> I don't think we've ever actually offered a template; it doesn't really make that sense for xmonad. A lot of work has been put into the tutorial, though: https://xmonad.org/TUTORIAL.html
12:59:06 <h1y0s1lv3r> Ok, will check, thanks Leary.
13:00:01 <h1y0s1lv3r> Leary, looks updated using 'main = xmonad $ def' but use xmobar, :( jiji, will try.
13:04:05 Guest2 joins (~Guest63@114.206.139.78)
13:06:20 × Guest2 quits (~Guest63@114.206.139.78) (Client Quit)
13:11:01 <h1y0s1lv3r> Ok, must to exit to test new config. Will see :)
13:11:11 × h1y0s1lv3r quits (~hiyosilve@p200300ed5f4d897c1baef3a8a7a85ad7.dip0.t-ipconnect.de) (Quit: Bye!)
13:26:49 <Solid> liskin: browsers are evil, so I think people just tend to accept when they misbehave :)
13:38:07 × alp__ quits (~alp@2001:861:e3d6:8f80:9e9a:65d5:880b:617e) (Ping timeout: 268 seconds)
13:39:42 <liskin> Solid: :-D
13:40:48 <liskin> speaking of misbehaving, I had to do stringProperty "WM_WINDOW_ROLE" =? "browser" --> desktopHook, because otherwise cantata (gui for mpd) would try to restore itself to the last desktop if was on
13:41:00 <liskin> and I'm half-sure pavucontrol would do a similar thing too
13:41:47 <liskin> I quite like the fact these two remember the position (well, otherwise I'd add one line to manageHook, so, um, silly me), but I want them to just appear in front of me wherever I am
13:42:07 <liskin> anyway, off to the Santa Skate
13:42:42 <liskin> Solid: week's been busy so I may not manage to review the Cond stuff by tomorrow evening but it's in my "today" todo list :-)
13:44:27 <Solid> liskin: sounds great! :)
14:46:02 <xmonadtrack> New xmonad-contrib branch created: pull/850 (1 commit) https://github.com/xmonad/xmonad-contrib/pull/850
14:46:51 <Solid> [Leary]: there is a better development workflow than having to push every change to a working commit, change the flake to that branch, nix flake update, remove all unwanted updates, and rebuilding… right?
16:09:26 <[Leary]> Solid: Yes, though it depends on precisely what you're doing. Not all changes necessarily need to be commited; iirc nix can still build a dirty worktree so long as the files are all tracked. Re `nix flake update`: instead of removing changes, do it pinpoint from the start with `nix flake lock --update-input _`. Of course, it's still a hassle and shouldn't be part of your tight-loop iteration; ideally you just let nix provide an environment that won't
16:09:27 <[Leary]> need to be rebuilt/restarted often and let less arcane tools handle the rest.
16:42:29 × ml| quits (~ml|@user/ml/x-5298235) (Quit: WeeChat 4.0.5)
16:48:43 alp__ joins (~alp@2001:861:e3d6:8f80:908c:c2d9:53f8:9c71)
17:37:50 × todi quits (~todi@p5dca55c4.dip0.t-ipconnect.de) (Quit: ZNC - https://znc.in)
18:04:58 × alp__ quits (~alp@2001:861:e3d6:8f80:908c:c2d9:53f8:9c71) (Ping timeout: 256 seconds)
18:51:50 <Solid> [Leary]: I was mostly asking about e.g. trying to reproduce a bug. My usual way of doing this would be to copy the given config, pepper some traces all over contrib, recompile, and start xmonad within xephyr
18:55:35 portnov joins (~portnov@v-20678-unlim.vpn.mgn.ru)
20:02:24 alp__ joins (~alp@2001:861:e3d6:8f80:70a5:2518:c61b:a3f3)
20:17:13 todi joins (~todi@p5dca55c4.dip0.t-ipconnect.de)
20:59:02 × alp__ quits (~alp@2001:861:e3d6:8f80:70a5:2518:c61b:a3f3) (Ping timeout: 268 seconds)
21:02:23 <portnov> https://i.ibb.co/LdpDS4h/Screenshot-20231217-020105.png sorry, could not stand it. Just too funny :)
21:02:49 <portnov> it's xmonad, if someone is in doubt.
21:21:35 × portnov quits (~portnov@v-20678-unlim.vpn.mgn.ru) (Remote host closed the connection)
23:52:20 alp__ joins (~alp@2001:861:e3d6:8f80:955:af0c:9e0a:aae)

All times are in UTC on 2023-12-16.