2021-11-11 00:07:38 +0100 | seschwar | (~seschwar@user/seschwar) (Quit: :wq) |
2021-11-11 00:14:09 +0100 | <Vermoot> | @fizzie so I *could* export MouseResizableTiled(..) and pass all arguments in my config then, right? Because I've tried that, and somehow wasn't able to make it work |
2021-11-11 00:14:09 +0100 | <lambdabot> | Unknown command, try @list |
2021-11-11 00:16:37 +0100 | <fizzie> | Huh, I think I was looking at an old version of MouseResizableTile for the earlier discussion. |
2021-11-11 00:17:32 +0100 | <fizzie> | The current (well, xmonad-contrib-0.17) one *has* a way of setting those parameters, or at least some of them, and it's even documented. |
2021-11-11 00:17:48 +0100 | <fizzie> | Shown under the "Parameters" section there, https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-MouseResizableTile.ht… |
2021-11-11 00:18:54 +0100 | <Vermoot> | Ooooooh |
2021-11-11 00:19:00 +0100 | <Vermoot> | How the hell have I missed that!!! |
2021-11-11 00:19:19 +0100 | <Vermoot> | Well thanks a lot! |
2021-11-11 00:19:44 +0100 | <fizzie> | What they've opted to do apparently is not to export the constructor, but instead export some of those field accessors (`nmaster`, `masterFrac`, `fracIncrement`, `isMirrored`, ...) so that you can start with the plain `mouseResizableTile` and then use the record update syntax to customize it. |
2021-11-11 00:20:00 +0100 | <Vermoot> | Which is alright I guess |
2021-11-11 00:20:11 +0100 | <fizzie> | Yeah, it's just a little different way to do it, but should get you there. |
2021-11-11 00:20:20 +0100 | <Vermoot> | Makes it easier if you don't want to bother with setting those yourself, and you can still do so if you want to |
2021-11-11 00:20:44 +0100 | <fizzie> | The reason why I didn't notice is, at least for me Google hit #1 for the query "mouseresizabletile" is the xmonad-contrib-0.9 docs, when that wasn't a thing yet. |
2021-11-11 00:21:03 +0100 | <Vermoot> | Looking at the docs; can you set all of its parameters yourself, or only those that are shown in the docs? |
2021-11-11 00:21:17 +0100 | <Vermoot> | Yes, I've been directed to those a lot as well |
2021-11-11 00:22:06 +0100 | <fizzie> | I think the docs will show everything that's exported, so that's what you can change. |
2021-11-11 00:22:53 +0100 | <Vermoot> | Hmm, not ideal then |
2021-11-11 00:23:32 +0100 | <Vermoot> | Although the parameters listed below do show "default: X", making me think you can still set them? |
2021-11-11 00:23:57 +0100 | <Vermoot> | Maybe I wasn't clear: I was asking about the "usage" snippet, showing only 3 parameters being set explicitly |
2021-11-11 00:27:15 +0100 | <fizzie> | Oh, sorry. I think that's just an example. All the other fields listend in the docs you should be able to set. |
2021-11-11 00:27:20 +0100 | <Vermoot> | Cool! |
2021-11-11 00:35:16 +0100 | <Vermoot> | Oh god |
2021-11-11 00:35:21 +0100 | <Vermoot> | This works perfectly now |
2021-11-11 00:35:25 +0100 | <Vermoot> | Thank you so much! |
2021-11-11 00:46:11 +0100 | <Vermoot> | Huh, although it doesn't seem to *take* my custom parameters. I set them, and it doesn't compile if I comment them out so that does mean they're read, but the layout seems to always go for the defaults anyway... |
2021-11-11 00:51:01 +0100 | <geekosaur> | mod-shift-space |
2021-11-11 00:51:32 +0100 | <geekosaur> | layouts don't automatically recalculate so you don't lose any custom settings you did during the session with e.g. mod-h |
2021-11-11 00:59:02 +0100 | Vermoot | (~vermoot@89-158-106-112.rev.numericable.fr) (Ping timeout: 240 seconds) |
2021-11-11 01:08:20 +0100 | allbery_b | (~geekosaur@xmonad/geekosaur) |
2021-11-11 01:08:20 +0100 | geekosaur | (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
2021-11-11 01:08:23 +0100 | allbery_b | geekosaur |
2021-11-11 01:13:36 +0100 | diep | (~diep@2a01:cb11:2d7:4a00:4202:8c7d:a3d3:256f) |
2021-11-11 01:18:54 +0100 | hippoid | (~hippoid@c-98-220-13-8.hsd1.il.comcast.net) |
2021-11-11 01:21:45 +0100 | diep | (~diep@2a01:cb11:2d7:4a00:4202:8c7d:a3d3:256f) (Quit: diep) |
2021-11-11 01:25:15 +0100 | amir | (sid22336@user/amir) (Ping timeout: 260 seconds) |
2021-11-11 01:27:40 +0100 | pl | (sid98063@id-98063.helmsley.irccloud.com) (Read error: Connection reset by peer) |
2021-11-11 01:27:41 +0100 | jmct_ | (sid160793@2a03:5180:f::2:7419) (Read error: Connection reset by peer) |
2021-11-11 01:27:41 +0100 | PotatoGim | (sid99505@id-99505.lymington.irccloud.com) (Read error: Connection reset by peer) |
2021-11-11 01:28:17 +0100 | mudri | (sid317655@id-317655.helmsley.irccloud.com) (Ping timeout: 264 seconds) |
2021-11-11 01:44:32 +0100 | pl | (sid98063@helmsley.irccloud.com) |
2021-11-11 01:46:03 +0100 | diep | (~diep@2a01:cb11:2d7:4a00:2274:48a2:c68a:a306) |
2021-11-11 01:50:47 +0100 | pl | (sid98063@helmsley.irccloud.com) (Ping timeout: 264 seconds) |
2021-11-11 01:54:06 +0100 | <diep> | Hi guys ! There is a way to always place a specific window (trayer window in my case) on top of other windows (on top of xmobar window in my case) ? |
2021-11-11 01:54:18 +0100 | pl | (sid98063@helmsley.irccloud.com) |
2021-11-11 01:55:04 +0100 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-Hacks.html#v:trayerAbov… |
2021-11-11 01:55:37 +0100 | <diep> | Oh I misse that! I take a look, thank! |
2021-11-11 01:55:39 +0100 | <geekosaur> | there is a smarter version of this in development but not ready for use quite yet |
2021-11-11 01:55:57 +0100 | <diep> | okok good to know |
2021-11-11 02:04:02 +0100 | hippoid | (~hippoid@c-98-220-13-8.hsd1.il.comcast.net) (Remote host closed the connection) |
2021-11-11 02:04:18 +0100 | jmct_ | (sid160793@tinside.irccloud.com) |
2021-11-11 02:11:38 +0100 | amir | (sid22336@user/amir) |
2021-11-11 02:14:22 +0100 | mudri | (sid317655@helmsley.irccloud.com) |
2021-11-11 02:15:04 +0100 | PotatoGim | (sid99505@lymington.irccloud.com) |
2021-11-11 02:27:59 +0100 | diep | (~diep@2a01:cb11:2d7:4a00:2274:48a2:c68a:a306) (Quit: diep) |
2021-11-11 02:30:35 +0100 | PotatoGim | (sid99505@lymington.irccloud.com) (Ping timeout: 256 seconds) |
2021-11-11 02:30:35 +0100 | mudri | (sid317655@helmsley.irccloud.com) (Ping timeout: 256 seconds) |
2021-11-11 02:32:29 +0100 | PotatoGim | (sid99505@lymington.irccloud.com) |
2021-11-11 02:34:06 +0100 | mudri | (sid317655@helmsley.irccloud.com) |
2021-11-11 02:36:23 +0100 | SenranKaguya | (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 264 seconds) |
2021-11-11 03:26:17 +0100 | gdd | (~gdd@129.199.146.230) |
2021-11-11 03:35:18 +0100 | SenranKaguya | (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) |
2021-11-11 03:49:17 +0100 | catman | (~catman@user/catman) (Remote host closed the connection) |
2021-11-11 03:57:19 +0100 | catman | (~catman@user/catman) |
2021-11-11 04:02:54 +0100 | banc- | (banc@gateway/vpn/airvpn/banc) (Ping timeout: 260 seconds) |
2021-11-11 04:24:11 +0100 | banc | (banc@gateway/vpn/airvpn/banc) |
2021-11-11 04:36:02 +0100 | wmc | (~wmc@124.170.223.28) |
2021-11-11 04:36:26 +0100 | wmc | (~wmc@124.170.223.28) () |
2021-11-11 05:00:02 +0100 | haasn | (~nand@haasn.dev) (Quit: ZNC 1.7.5+deb4 - https://znc.in) |
2021-11-11 05:01:11 +0100 | Extropy | (~extropy@user/extropy) (Remote host closed the connection) |
2021-11-11 05:01:28 +0100 | haasn | (~nand@haasn.dev) |
2021-11-11 05:01:40 +0100 | Extropy | (~extropy@user/extropy) |
2021-11-11 05:02:10 +0100 | td_ | (~td@94.134.91.32) (Ping timeout: 260 seconds) |
2021-11-11 05:03:03 +0100 | Extropy | (~extropy@user/extropy) (Client Quit) |
2021-11-11 05:04:03 +0100 | td_ | (~td@94.134.91.245) |
2021-11-11 05:29:25 +0100 | eblip | (~eb0t@90.199.241.70) (Read error: Connection reset by peer) |
2021-11-11 05:35:02 +0100 | eblip | (~eb0t@90.209.246.132) |
2021-11-11 05:39:56 +0100 | noex | (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) |
2021-11-11 05:46:04 +0100 | noex | (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Quit: my dad's not a phone!) |
2021-11-11 05:50:30 +0100 | noex | (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) |
2021-11-11 06:16:28 +0100 | Guest4467 | (~Guest44@50.7.251.186) |
2021-11-11 06:16:51 +0100 | Guest4467 | (~Guest44@50.7.251.186) (Client Quit) |
2021-11-11 06:27:35 +0100 | stsaintwyy[m] | (~stsaintwy@2001:470:69fc:105::1:3181) |
2021-11-11 06:37:36 +0100 | noex | (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Ping timeout: 245 seconds) |
2021-11-11 06:42:45 +0100 | qbt | (~qbt@user/edun) |
2021-11-11 07:18:52 +0100 | safeguard-irc | (~safeguard@151.42.165.137) |
2021-11-11 07:25:48 +0100 | safeguard-irc | (~safeguard@151.42.165.137) (Read error: Connection reset by peer) |
2021-11-11 07:26:10 +0100 | safeguard-irc | (~safeguard@37.159.126.185) |
2021-11-11 07:35:23 +0100 | safeguard-irc | (~safeguard@37.159.126.185) (Read error: Connection reset by peer) |
2021-11-11 07:36:10 +0100 | safeguard-irc | (~safeguard@37.159.126.185) |
2021-11-11 07:36:36 +0100 | safeguard-irc | (~safeguard@37.159.126.185) (Client Quit) |
2021-11-11 08:12:13 +0100 | benin | (~benin@183.82.26.68) |
2021-11-11 08:19:48 +0100 | <Solid> | liskin: do you know if the debian install instructions in INSTALL.md slurp in the xorg stack as well? |
2021-11-11 08:20:32 +0100 | <Solid> | we've had someone complain on reddit that xmonad wasn't working and it turns out arch installs neither xorg, nor xorg-xinit as a dependency of any of those (nor xorg-xmessage, which is obviously also important for us) |
2021-11-11 08:20:45 +0100 | <Solid> | I reckon we should add these to the instructions |
2021-11-11 08:34:15 +0100 | dschrempf | (~dominik@070-207.dynamic.dsl.fonira.net) |
2021-11-11 08:40:03 +0100 | SenranKaguya | (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 256 seconds) |
2021-11-11 08:50:21 +0100 | mc47 | (~mc47@xmonad/TheMC47) |
2021-11-11 09:00:47 +0100 | codedmart | (codedmart@2600:3c01::f03c:92ff:fefe:8511) (Quit: ZNC 1.7.5+deb4 - https://znc.in) |
2021-11-11 09:01:02 +0100 | codedmart | (codedmart@2600:3c01::f03c:92ff:fefe:8511) |
2021-11-11 09:40:20 +0100 | benin | (~benin@183.82.26.68) (Ping timeout: 268 seconds) |
2021-11-11 09:47:12 +0100 | cfricke | (~cfricke@user/cfricke) |
2021-11-11 09:52:19 +0100 | benin | (~benin@106.198.86.143) |
2021-11-11 10:17:33 +0100 | geekosaur | (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
2021-11-11 10:17:33 +0100 | allbery_b | (~geekosaur@xmonad/geekosaur) |
2021-11-11 10:17:36 +0100 | allbery_b | geekosaur |
2021-11-11 10:22:20 +0100 | electr0n | (~electr0n@about/security/founder/electr0n) |
2021-11-11 10:26:22 +0100 | Vermoot | (~vermoot@89-158-106-112.rev.numericable.fr) |
2021-11-11 11:08:47 +0100 | benin5 | (~benin@106.198.94.217) |
2021-11-11 11:09:45 +0100 | benin | (~benin@106.198.86.143) (Ping timeout: 268 seconds) |
2021-11-11 11:09:46 +0100 | benin5 | benin |
2021-11-11 11:12:32 +0100 | <Vermoot> | Hey there! |
2021-11-11 11:12:34 +0100 | <Vermoot> | New issue :D |
2021-11-11 11:13:16 +0100 | <Vermoot> | I'm using TiledWindowDragging, and it's awesome |
2021-11-11 11:13:48 +0100 | <Vermoot> | And in my mouse bindings, I've set ` ((modMask, button1), dragWindow)` |
2021-11-11 11:14:08 +0100 | <Vermoot> | So I can use mod+LMB to drag windows on top of each other and swap them out |
2021-11-11 11:14:29 +0100 | <Vermoot> | This works great, but the problem now is: I can't move floating windows anymore |
2021-11-11 11:15:29 +0100 | <Vermoot> | I'd like to be able to do both with Mod+button1, since a window is always either floating or not floating, there won't be any conflicts |
2021-11-11 11:15:55 +0100 | <Vermoot> | So the question is: How do I bind both of these actions to the same mouse binding? |
2021-11-11 11:23:38 +0100 | <fizzie> | A mouse binding is given a Window, and checking whether a window is floating looks something like `withWindowSet (M.member w . W.floating)` with the usual imports (XMonad.StackSet as W, Data.Map as M), so I imagine the binding would look something like... `\w -> whenM (withWindowSet (M.member w . W.floating) (dragWindow w) (mouseMoveWindow w)`. |
2021-11-11 11:23:42 +0100 | <fizzie> | Entirely untested, of course. |
2021-11-11 11:24:09 +0100 | <fizzie> | And with the missing ) inserted. |
2021-11-11 11:25:16 +0100 | <Vermoot> | Thank you, I'll try that soon |
2021-11-11 11:27:47 +0100 | <fizzie> | Also I got those conditions exactly the wrong way around. :) |
2021-11-11 11:28:09 +0100 | <fizzie> | You wanted mouseMoveWindow *when* it's floating, and dragWindow when not. |
2021-11-11 11:28:45 +0100 | <fizzie> | And the default binding for (modMask, button1) is `focus w >> mouseMoveWindow w >> windows W.shiftMaster`; not sure whether those two other bits (that sound like they're just moving the focus) are crucial, but you could include them in as well. |
2021-11-11 11:32:31 +0100 | Andrew_ | AndrewYu |
2021-11-11 11:34:25 +0100 | benin | (~benin@106.198.94.217) (Ping timeout: 268 seconds) |
2021-11-11 11:37:43 +0100 | <Solid> | AFAIR focus is important if you don't have focusFollowsMouse |
2021-11-11 11:37:56 +0100 | <Solid> | because then the window under the point is potentially not focused |
2021-11-11 11:45:49 +0100 | <Solid> | (also you probably want ifM instead of whenM, neither of which is defined anywhere anyways, so you'll either have to define them yourself or just do it by hand along the lines of `\w -> do floating <- withWindowSet ...; if floating then ... else ...`) |
2021-11-11 11:55:40 +0100 | <fizzie> | Yeah, ifM is what I meant. And it's defined in XMonad.ManageHook. ;) |
2021-11-11 11:56:09 +0100 | diep | (~diep@2a01:cb11:2d7:4a00:4202:8c7d:a3d3:256f) |
2021-11-11 11:56:42 +0100 | <Solid> | ooooh neat |
2021-11-11 11:57:14 +0100 | diep | (~diep@2a01:cb11:2d7:4a00:4202:8c7d:a3d3:256f) (Client Quit) |
2021-11-11 11:57:34 +0100 | <Solid> | the core has some nice helper functions strewn around in random places |
2021-11-11 12:05:16 +0100 | <Vermoot> | Alright, I'm saving all this, I should be able to make it work thanks to you now |
2021-11-11 12:16:42 +0100 | benin | (~benin@106.198.89.104) |
2021-11-11 13:10:08 +0100 | benin | (~benin@106.198.89.104) (Quit: Ping timeout (120 seconds)) |
2021-11-11 13:10:27 +0100 | benin | (~benin@106.198.89.104) |
2021-11-11 13:26:27 +0100 | cfricke | (~cfricke@user/cfricke) (Quit: WeeChat 3.3) |
2021-11-11 13:34:32 +0100 | benin | (~benin@106.198.89.104) (Read error: Connection reset by peer) |
2021-11-11 13:36:35 +0100 | benin | (~benin@183.82.178.244) |
2021-11-11 13:58:31 +0100 | dschrempf | (~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 256 seconds) |
2021-11-11 14:13:29 +0100 | cfricke | (~cfricke@user/cfricke) |
2021-11-11 14:41:01 +0100 | PotatoGim | (sid99505@lymington.irccloud.com) (Ping timeout: 250 seconds) |
2021-11-11 14:41:18 +0100 | amir | (sid22336@user/amir) (Ping timeout: 260 seconds) |
2021-11-11 14:41:35 +0100 | jmct_ | (sid160793@tinside.irccloud.com) (Ping timeout: 256 seconds) |
2021-11-11 14:42:09 +0100 | mudri | (sid317655@helmsley.irccloud.com) (Ping timeout: 256 seconds) |
2021-11-11 14:42:09 +0100 | pl | (sid98063@helmsley.irccloud.com) (Ping timeout: 256 seconds) |
2021-11-11 14:42:41 +0100 | jmct_ | (sid160793@tinside.irccloud.com) |
2021-11-11 14:42:46 +0100 | PotatoGim | (sid99505@lymington.irccloud.com) |
2021-11-11 14:42:52 +0100 | mudri | (sid317655@helmsley.irccloud.com) |
2021-11-11 14:44:28 +0100 | amir | (sid22336@id-22336.hampstead.irccloud.com) |
2021-11-11 14:44:33 +0100 | pl | (sid98063@id-98063.helmsley.irccloud.com) |
2021-11-11 14:45:10 +0100 | amir | (sid22336@id-22336.hampstead.irccloud.com) (Changing host) |
2021-11-11 14:45:10 +0100 | amir | (sid22336@user/amir) |
2021-11-11 15:17:17 +0100 | jmct_ | (sid160793@tinside.irccloud.com) (Ping timeout: 256 seconds) |
2021-11-11 15:17:25 +0100 | PotatoGim | (sid99505@lymington.irccloud.com) (Ping timeout: 250 seconds) |
2021-11-11 15:18:02 +0100 | pl | (sid98063@id-98063.helmsley.irccloud.com) (Ping timeout: 240 seconds) |
2021-11-11 15:18:25 +0100 | mudri | (sid317655@helmsley.irccloud.com) (Ping timeout: 256 seconds) |
2021-11-11 15:19:32 +0100 | amir | (sid22336@user/amir) (Ping timeout: 240 seconds) |
2021-11-11 15:22:35 +0100 | PotatoGim | (sid99505@lymington.irccloud.com) |
2021-11-11 15:23:03 +0100 | amir | (sid22336@user/amir) |
2021-11-11 15:24:10 +0100 | jmct_ | (sid160793@tinside.irccloud.com) |
2021-11-11 15:25:04 +0100 | mudri | (sid317655@helmsley.irccloud.com) |
2021-11-11 15:28:13 +0100 | geekosaur | (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
2021-11-11 15:29:52 +0100 | geekosaur | (~geekosaur@xmonad/geekosaur) |
2021-11-11 15:37:15 +0100 | cfricke | (~cfricke@user/cfricke) (Quit: WeeChat 3.3) |
2021-11-11 15:44:21 +0100 | pl | (sid98063@helmsley.irccloud.com) |
2021-11-11 15:50:40 +0100 | qbt | (~qbt@user/edun) (Quit: Leaving.) |
2021-11-11 15:56:23 +0100 | Armoletti^ | (~armoletti@dyn70-177.yok.fi) (Ping timeout: 256 seconds) |
2021-11-11 16:16:48 +0100 | Armoletti^ | (~armoletti@dyn70-177.yok.fi) |
2021-11-11 16:47:56 +0100 | gproto23 | (~gproto23@user/gproto23) |
2021-11-11 16:52:15 +0100 | gproto23 | (~gproto23@user/gproto23) (Leaving) |
2021-11-11 17:00:06 +0100 | felixfahrbahn[m] | (~felixfahr@2001:470:69fc:105::1:7e0) (Quit: You have been kicked for being idle) |
2021-11-11 17:23:34 +0100 | <eezo[m]> | so, Xorg 21.1.0 claims to be the "last release of Xorg 21.1" - all they mean there is that the next release won't be 21.1.1; it'll be 21.2 or (less likely) 22.0, right? On DT's channel he seemed to imply that we should all pack up and leave Xorg and head over to wayland all of a sudden |
2021-11-11 17:25:00 +0100 | <geekosaur> | we're not sure. rhel may keep it alive into the 2030s |
2021-11-11 17:25:13 +0100 | <geekosaur> | and wayland is still not as stable as it should be as a replacement |
2021-11-11 17:26:39 +0100 | <geekosaur> | in any case, I'm not moving much of anywhere |
2021-11-11 17:27:18 +0100 | <geekosaur> | (relevance of rhel being they have stable releases with support guarantees that may keep xorg alive for up to a decade) |
2021-11-11 17:47:19 +0100 | <liskin> | eezo[m]: 21.1.1 is out already |
2021-11-11 17:48:12 +0100 | <liskin> | eezo[m]: but there are no plans for 21.2 unless someone pays for the time it takes to maintain xorg |
2021-11-11 17:48:42 +0100 | <liskin> | Povilas said something about $4k/m and set up a Patreon for that |
2021-11-11 17:51:02 +0100 | <liskin> | Personally I'm okay with Xorg as it is feature-wise, but the ecosystem will move to Wayland eventually, so window managers will need to adapt somehow if they are to stay relevant. I think it's a good idea to start experimenting with it next year. |
2021-11-11 17:57:01 +0100 | <eezo[m]> | so liskin it's like when you're in college writing a paper and you have "paper - last version.docx" and "paper - last version 2.docx" and....lol |
2021-11-11 17:57:38 +0100 | SenranKaguya | (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) |
2021-11-11 18:02:08 +0100 | Safeguard-IRC | (~Safeguard@151.42.165.137) |
2021-11-11 18:06:34 +0100 | <liskin> | Yeah but then you submit it and walk away and never care about it ever again... ;-) |
2021-11-11 18:15:58 +0100 | <Safeguard-IRC> | me? |
2021-11-11 18:16:17 +0100 | <geekosaur> | eezo[m] I think |
2021-11-11 18:16:26 +0100 | <geekosaur> | you joined after that one |
2021-11-11 18:16:56 +0100 | <Safeguard-IRC> | well I keep exiting and entering becuase i'm an idiot and I cannot irc apparently |
2021-11-11 18:17:48 +0100 | <eezo[m]> | I had that for my wedding programs - I had a "FINAL VERSION", "FINAL VERSION 2", "REALLY LAST VERSION", and "PRINT THIS ONE". I honestly don't remember which one I printed (it _was_ 9 years ago now but still) |
2021-11-11 18:25:44 +0100 | seschwar | (~seschwar@user/seschwar) |
2021-11-11 19:01:48 +0100 | <Safeguard-IRC> | geekosaur: saw now the message (thanks lambdabot), you mean in my config where I call io ExitSuccess right? |
2021-11-11 19:01:58 +0100 | <geekosaur> | yes |
2021-11-11 19:02:05 +0100 | <Safeguard-IRC> | cool |
2021-11-11 19:02:09 +0100 | <geekosaur> | hopefully that's the only one that matters |
2021-11-11 19:03:06 +0100 | <Safeguard-IRC> | should be |
2021-11-11 19:04:06 +0100 | <Safeguard-IRC> | how I would concatenate something like unsafespawn to io exitSuccess though? |
2021-11-11 19:04:50 +0100 | <Safeguard-IRC> | my full line actually is confirmPrompt myXPConfig "quit" $ io exitSuccess, what first came to mind was to use either $ or . but I don't think it works that way lol |
2021-11-11 19:05:21 +0100 | <geekosaur> | unnsafeSpawn "foo" >> io exitSuccess |
2021-11-11 19:05:37 +0100 | <geekosaur> | *unsafeSpawn |
2021-11-11 19:06:03 +0100 | <Safeguard-IRC> | ah okay |
2021-11-11 19:06:56 +0100 | <geekosaur> | mm, conceivably you get an error with precedence and you have to replace the $ with parentheses |
2021-11-11 19:07:24 +0100 | <Safeguard-IRC> | right, I get an error about no instance of No instance for (MonadIO ((->) (X ()))) |
2021-11-11 19:07:45 +0100 | <Safeguard-IRC> | though removing the whole confirmPrompt works fine |
2021-11-11 19:07:55 +0100 | <geekosaur> | that sounds like something else is wrong |
2021-11-11 19:08:22 +0100 | <geekosaur> | like you're missing a parameter maybe. can you pastebin the entire line? |
2021-11-11 19:08:27 +0100 | <geekosaur> | @help paste |
2021-11-11 19:08:28 +0100 | <lambdabot> | paste. Paste page url |
2021-11-11 19:08:32 +0100 | <geekosaur> | argh |
2021-11-11 19:08:33 +0100 | <Safeguard-IRC> | sure |
2021-11-11 19:08:35 +0100 | <geekosaur> | @where paste |
2021-11-11 19:08:35 +0100 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
2021-11-11 19:10:02 +0100 | <Safeguard-IRC> | https://termbin.com/z8nq this is the line without adding unsafespawn |
2021-11-11 19:10:11 +0100 | <geekosaur> | ok, fixity should be fine, it's something else |
2021-11-11 19:11:18 +0100 | <Safeguard-IRC> | https://termbin.com/junm this does not work |
2021-11-11 19:12:08 +0100 | <geekosaur> | right, that's not what I expected, I expected you to add it after the confirm prompt and before the io exitSuccess |
2021-11-11 19:12:15 +0100 | <geekosaur> | $ won't work with that |
2021-11-11 19:12:51 +0100 | <Safeguard-IRC> | ah, wait |
2021-11-11 19:12:52 +0100 | <geekosaur> | unsafeSpawn "echo test" >> confirmPrompt myXPConfig "quit" (io exitSuccess) |
2021-11-11 19:13:27 +0100 | <geekosaur> | although that setup will always run the unsafeSpawn even if you cancel the exit, which is why I expected you to add it directly before the io exitSuccess |
2021-11-11 19:13:47 +0100 | <Safeguard-IRC> | wait, using this: https://termbin.com/2o46 works |
2021-11-11 19:14:18 +0100 | <geekosaur> | no, it won't, it will just compile but the unsafeSpawn will never be reached |
2021-11-11 19:14:26 +0100 | <geekosaur> | swap the unsafeSpawn and the io exitSuccess |
2021-11-11 19:14:46 +0100 | qbt | (~qbt@user/edun) |
2021-11-11 19:16:39 +0100 | <Safeguard-IRC> | like this: https://termbin.com/dzri ? |
2021-11-11 19:17:14 +0100 | <geekosaur> | no, just the io exitSuccess, not the whole thing |
2021-11-11 19:17:53 +0100 | <geekosaur> | confirmPrompt myXPConfig "quit" $ unsafeSpawn "whatever" >> io exitSuccess |
2021-11-11 19:19:10 +0100 | <Safeguard-IRC> | https://termbin.com/8sq1 like this? |
2021-11-11 19:20:08 +0100 | <geekosaur> | yes |
2021-11-11 19:20:15 +0100 | <Safeguard-IRC> | okay, thank you very much! |
2021-11-11 19:23:09 +0100 | qbt | (~qbt@user/edun) (Quit: Leaving.) |
2021-11-11 19:38:37 +0100 | desantra | (~skykanin@user/skykanin) |
2021-11-11 19:44:53 +0100 | <desantra> | What's the best way to include other haskell modules in your xmonad config if you're running on nixos? |
2021-11-11 19:49:51 +0100 | seschwar | (~seschwar@user/seschwar) (Ping timeout: 256 seconds) |
2021-11-11 19:50:42 +0100 | <Safeguard-IRC> | putting them in lib/ under your $XMONAD_CONFIG_HOME? |
2021-11-11 19:51:59 +0100 | seschwar | (~seschwar@user/seschwar) |
2021-11-11 19:56:28 +0100 | <geekosaur> | pretty much, yes |
2021-11-11 20:00:42 +0100 | <desantra> | will I need to be using a build file and stack/cabal then? |
2021-11-11 20:01:48 +0100 | <geekosaur> | no, the standard xmonad build mechanism automatically looks under lib/ for additional modules |
2021-11-11 20:02:35 +0100 | <geekosaur> | lib/ in fact won't work with stack/cabal, you would have to configure them as to where to look for additional source modules |
2021-11-11 20:03:01 +0100 | <geekosaur> | hm, I also don't know if it would look there if you were using the flake |
2021-11-11 20:04:24 +0100 | <geekosaur> | and come to think of it, I don't know if nixos patches the xmonad source to look elsewhere :/ |
2021-11-11 20:05:38 +0100 | <desantra> | I'm pretty sure just making a folder lib/, putting a module there, importing it in xmonad.hs and running `xmonad --recompile` doesn't work, but I will try |
2021-11-11 20:07:32 +0100 | <geekosaur> | how are you importing it exactly? and what are you calling it? |
2021-11-11 20:08:59 +0100 | <desantra> | it's file called `colors.hs` generated by pywal which is a module `Colors` and then I just do `import qualified Colors as C` in my xmonad.hs |
2021-11-11 20:09:46 +0100 | <geekosaur> | it has to be uppercase initial, like the module name. rename to Colors.hs |
2021-11-11 20:13:17 +0100 | <geekosaur> | if you can't easily change the script to do that, you could also create a symlink: (cd lib; ln -s colors.hs Colors.hs) |
2021-11-11 20:15:23 +0100 | <desantra> | it seems to be working, `xmonad --recompile` didn't complain at least |
2021-11-11 20:28:50 +0100 | <desantra> | how do you change the background color and text color of tabs in a tabbed layout? `tabbed shrinkText myTheme` doesn't seem to be applying `myTheme` to the tabs |
2021-11-11 20:39:07 +0100 | electr0n | (~electr0n@about/security/founder/electr0n) (Quit: WeeChat 3.3) |
2021-11-11 21:03:55 +0100 | <Solid> | Since we have _so many_ logo entries now, I propose to move the deadline forwards to the 31th of December instead |
2021-11-11 21:04:11 +0100 | <Solid> | this may prevent the hype dying down too much before voting is over |
2021-11-11 21:04:18 +0100 | <Solid> | what do y'all think? |
2021-11-11 21:19:52 +0100 | <geekosaur> | hm, several colors in Decoration don't work because they're overridden by the border colors, but I thought background and text color worked |
2021-11-11 21:21:59 +0100 | <desantra> | geekosaur: nothing from my theme seems to be applied, not the font either. Perhaps I have to restart xserver or smth |
2021-11-11 21:22:02 +0100 | desantra | (~skykanin@user/skykanin) (Quit: WeeChat 3.3) |
2021-11-11 21:24:43 +0100 | desantra | (~skykanin@user/skykanin) |
2021-11-11 21:25:07 +0100 | <desantra> | yup, rebooting my computer seems to have fixed it. Weird that `xmoand --restart` doesn't work |
2021-11-11 21:26:57 +0100 | <geekosaur> | oh, layout stuff. mod-shift-space recalculates the layout |
2021-11-11 21:27:26 +0100 | <geekosaur> | because it can't tell what settings are from changes you made and what are from things like mod-h or mod-., and if both are possible which one you want |
2021-11-11 21:39:12 +0100 | <liskin> | Solid: I had a similar idea so it's probably a good idea :-D |
2021-11-11 21:39:13 +0100 | SenranKaguya | (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 256 seconds) |
2021-11-11 21:41:07 +0100 | <Solid> | :) |
2021-11-11 21:41:26 +0100 | <Solid> | which new deadline did you have in mind? |
2021-11-11 21:45:13 +0100 | <liskin> | I didn't think that far. Just thought that with all the hype and so many entries it's weird to wait so long |
2021-11-11 21:46:06 +0100 | <liskin> | Possibly we can somehow ask what the community thinks? |
2021-11-11 21:50:49 +0100 | mc47 | (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
2021-11-11 21:55:19 +0100 | SenranKaguya | (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) |
2021-11-11 21:56:28 +0100 | <desantra> | Whenever I use the flake https://github.com/xmonad/xmonad/blob/master/flake.nix to overlay xmonad and run `xmonad --recompile` I get a bunch of errors about missing modules https://bpa.st/JDOA. It's no longer able to find any of the xmonad or xmonad-contrib modules for some reason |
2021-11-11 21:59:27 +0100 | <geekosaur> | all I know about the flake is that it's there. elonsroadster[m] ? |
2021-11-11 22:02:09 +0100 | <liskin> | there's a PR improving the recompilation which is stalled on missing docs, if I remember correctly |
2021-11-11 22:02:23 +0100 | Safeguard-IRC | (~Safeguard@151.42.165.137) (Remote host closed the connection) |
2021-11-11 22:10:25 +0100 | <liskin> | mc47[m]: here's something interesting related to governance: https://blog.opencollective.com/metagov-gateway/ |
2021-11-11 22:41:27 +0100 | mestre | (~mestre@191.177.175.57) |
2021-11-11 23:03:00 +0100 | mestre | (~mestre@191.177.175.57) (Quit: Lost terminal) |
2021-11-11 23:05:45 +0100 | desantra | (~skykanin@user/skykanin) (Quit: WeeChat 3.3) |
2021-11-11 23:13:13 +0100 | eblip | (~eb0t@90.209.246.132) (Ping timeout: 250 seconds) |
2021-11-11 23:22:53 +0100 | seschwar | (~seschwar@user/seschwar) (Quit: :wq) |
2021-11-11 23:45:01 +0100 | Vermoot | (~vermoot@89-158-106-112.rev.numericable.fr) (Ping timeout: 256 seconds) |