Home freenode/#xmonad: Logs Calendar

Logs: freenode/#xmonad

←Prev  Next→
Page 1 .. 210 211 212 213 214 215 216 217 218 219 220 .. 397
39,606 events total
2021-03-05 08:53:59 <mc47> heck-to-the-gnom oh thanks! By dynamic I want it to be always redrawrn whenever *any* screen gets attached
2021-03-05 08:55:21 kelnoky joins (~shao@ip1f1285ec.dynamic.kabel-deutschland.de)
2021-03-05 08:56:07 thunderrd joins (~thunderrd@183.182.115.72)
2021-03-05 08:56:14 <mc47> currently #463 it optimistic and only spawn or kills things if the corresponding screen get attached or detached
2021-03-05 08:57:26 ericsagnes joins (~ericsagne@2405:6580:0:5100:28ac:b0b7:174e:3f67)
2021-03-05 08:58:15 <mc47> Not sure if we should support killing *everything* and spawning the necessary things in the module, or if I should whip up a personal solution
2021-03-05 08:59:49 <mc47> (the problem with trayer: it's spawned on screen 0, which is my laptop screen. If attach an external monitor, that monitor becomes screen 0. xmobar moves to the external monitor, but trayer stays on the laptop monitor)
2021-03-05 09:00:09 <mc47> (which is ugly because my xmobar has now a trayer-shaped hole)
2021-03-05 09:12:17 <Solid> your xmobar is a lens? :o
2021-03-05 09:13:13 × kelnoky quits (~shao@ip1f1285ec.dynamic.kabel-deutschland.de) (Quit: WeeChat 3.0)
2021-03-05 09:23:31 <mc47> lens in the physical sense or the haskell sense? :D
2021-03-05 09:24:08 <mc47> my xmobar seems transparent because my background has a solid color around the edges, hence the "hole"
2021-03-05 09:25:24 <mc47> unrelated, how can I make a layout redraw itself? :/
2021-03-05 09:25:53 <mc47> trying to workout the problem in #213
2021-03-05 09:26:27 <Solid> in the haskell sense :) but I got it the wrong way around (of course); it should be that trayer is the lens, as it's a trayes shaped whole in the surrounding xmobar
2021-03-05 09:27:04 <mc47> nah I have no lenses in the haskell sense whatsoever
2021-03-05 09:27:53 <mc47> I'm launching it as statusBarProp with mempty in the logHook
2021-03-05 09:27:55 <Solid> (it was a bad joke, I'm sorry)
2021-03-05 09:28:21 <mc47> (I felt it was a joke, I know too little about lenses though lol)
2021-03-05 09:28:58 <Solid> The usual intuition of a `Lens s s a a' is "an `a' shaped whole in the structure `s'"
2021-03-05 09:29:19 <Solid> I don't know whether there is a good solution for the layout redrawing besides M-S-<Space> and then switching to that layout again
2021-03-05 09:29:52 <mc47> that won't work I guess
2021-03-05 09:30:50 <mc47> a tl;dr of #213: create keybinding "modes", so basically you're trapped in an infinite submap until you press a ESC
2021-03-05 09:31:33 <mc47> (useful if you want to move floats around or resize them with the keyboard without going crazy, for example)
2021-03-05 09:31:37 <Solid> wasn't there a much better implementation of modal keybindings
2021-03-05 09:32:21 <mc47> the problem is that things like kill change the windows but the layout doesn't get updated
2021-03-05 09:32:27 <mc47> oh no idea, where?
2021-03-05 09:32:34 <Solid> let me try to find it
2021-03-05 09:33:03 <mc47> tbh I wanted to do the exact same thing but didn't have time for it
2021-03-05 09:33:55 <Solid> https://gist.github.com/LSLeary/6741b0572d62db3f0cea8e6618141b2f
2021-03-05 09:34:05 <Solid> it's another cool thing by lsleary that only needs docs last time I checked
2021-03-05 09:34:19 <Solid> I tried contacting them about getting it into -contrib proper but they didn't reply :(
2021-03-05 09:34:48 <Solid> it doesn't rely on recursive submaps and is thus probably a lot more stable
2021-03-05 09:34:54 <mc47> that's awesome! they were the ones who reported the problem with kill
2021-03-05 09:36:16 <mc47> that looks good at a first glance! they even thought of the labels so we can add a logger for it
2021-03-05 09:36:24 <mc47> thanks Solid!
2021-03-05 09:36:49 <Solid> npnp :)
2021-03-05 09:37:49 deepy joins (deepy@wrongplanet/deepa)
2021-03-05 09:39:34 <mc47> I really hope they reply, it feels "cheaty" picking up a PR
2021-03-05 09:42:53 <Liskni_si> mc47: My config also doesn't restart panels on screens that are still connected and my trayer doesn't move. Isn't it a bit weird that in your setup trayer moves and xmobar does not?
2021-03-05 09:43:34 <mc47> it's the other way around
2021-03-05 09:43:44 <mc47> trayer doesn't move but xmobar does
2021-03-05 09:43:48 <mc47> I want trayer to also move
2021-03-05 09:44:01 <Liskni_si> And by doesn't move I probably mean it actually does move, because to stay on the screen, it needs to move when that screen changes its position.
2021-03-05 09:44:39 <mc47> maybe I messed up the trayer parameters
2021-03-05 09:46:06 <mc47> yep it was the parameters lol
2021-03-05 09:47:20 <Solid> mc47: you can potentially push to their branch when picking up a pr, thus you don't need to open anything new and they still get credit with regards to the commits they've already done (if you don't squash everything :))
2021-03-05 09:48:33 <mc47> they don't have the code in a branch I guess
2021-03-05 09:50:22 <Solid> push other their master then, I'm sure they won't mind :D
2021-03-05 09:51:11 <mc47> that's an option yeah!
2021-03-05 10:48:19 kelnoky joins (~shao@ip1f1285ec.dynamic.kabel-deutschland.de)
2021-03-05 10:49:27 thc202 joins (~thc202@unaffiliated/thc202)
2021-03-05 11:32:46 wz1000 joins (~wz1000@static.11.113.47.78.clients.your-server.de)
2021-03-05 11:33:43 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
2021-03-05 11:47:17 × adamik quits (~nodelet@unaffiliated/adamik) (Quit: leaving)
2021-03-05 11:59:52 adamik joins (~nodelet@unaffiliated/adamik)
2021-03-05 12:39:38 <mc47> Kinda thankful the IRC channel is "low latency"... I've been sitting for hours now looking at the logs from october, because I forgot to keep references to the relevant conversations
2021-03-05 12:40:28 <mc47> (relevant for my report, I need to talk about the community and what goes well/what doesn't)
2021-03-05 12:41:47 <Solid> I can give you my logs for easier grepping if you want
2021-03-05 12:43:17 <mc47> oh that won't be necessary, thanks though
2021-03-05 12:43:42 <mc47> I kinda forgot some things too, so it's good to review the logs
2021-03-05 12:44:04 <Solid> :)
2021-03-05 12:44:38 <mc47> already found the "interesting" parts :)
2021-03-05 12:52:03 × ericsagnes quits (~ericsagne@2405:6580:0:5100:28ac:b0b7:174e:3f67) (Ping timeout: 260 seconds)
2021-03-05 13:03:52 ericsagnes joins (~ericsagne@2405:6580:0:5100:be08:ef83:7da5:b97a)
2021-03-05 13:07:16 geekosaur joins (82650c7a@130.101.12.122)
2021-03-05 13:13:55 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 240 seconds)
2021-03-05 13:27:36 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0.1)
2021-03-05 14:12:56 <Liskni_si> this sounds like a nice idea: https://simonwillison.net/2021/Feb/19/office-hours/
2021-03-05 14:14:24 <geekosaur> freebsd does that
2021-03-05 14:20:22 <Ikosit> Hi :) I'm a haskell noob and trying to use a IO monad as "Action" of a Keypress. So I'm using the function 'io' to lift the IO monad to a X monad. But when I press the bound key, nothing happens.
2021-03-05 14:20:43 <Ikosit> When i use the same code at the repl it works
2021-03-05 14:23:39 <geekosaur> @where paste
2021-03-05 14:23:39 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2021-03-05 14:23:54 <Ikosit> https://haste.m0rtis.com/?174b48e4728e1068#3b69Z7Ywk5vnwCotCxFUuikaBH4QPNGDxwcFobWJcAzr
2021-03-05 14:26:22 <Solid> do I now need webasm support to view text in my browser
2021-03-05 14:26:24 <Solid> what a time to be alive
2021-03-05 14:26:32 <Solid> Liskni_si: that sounds brilliant!
2021-03-05 14:26:41 <geekosaur> it's worse with webasm
2021-03-05 14:26:52 <geekosaur> I had to highlight everything to be able to read any of it
2021-03-05 14:26:59 <Solid> lol
2021-03-05 14:27:05 <geekosaur> you don't need to use io within brightness_notify, since it's already in IO
2021-03-05 14:30:41 <geekosaur> one common issue is that $PATH often isn't set for xmonad (this depends on the system, it is for debian-based distributions for example) so if some program isn't in /usr/bin it won't be found
2021-03-05 14:31:31 <geekosaur> I'd check the session log (usually ~/.xsession-errors) to see if it shows anything
2021-03-05 14:40:50 <Ikosit> geekosaur: It seems that PATH is set, because i can use e.g. 'spawn "pactl set-sink-mute @DEFAULT_SINK@ toggle"'
2021-03-05 14:41:31 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
2021-03-05 14:42:44 <Ikosit> the io in brightness_notify was a relict from a time when brightness_notify had the type X ()
2021-03-05 14:43:06 <Ikosit> Without it, brightness_notify still dosn't work
2021-03-05 14:43:42 <Ikosit> a full config: https://paste.tomsmeding.com/SV4Nesji
2021-03-05 14:47:45 ADG1089__ joins (~aditya@106.214.235.119)
2021-03-05 14:56:33 <heck-to-the-gnom> Why not just move this into a shell script and spawn that?
2021-03-05 14:56:44 <heck-to-the-gnom> That seems much simpler to me
2021-03-05 14:57:17 <Ikosit> I want to learn Haskell by doing
2021-03-05 14:57:20 <Ikosit> ¯\_(ツ)_/¯
2021-03-05 14:57:35 <Ikosit> But that would also be an option
2021-03-05 14:59:02 <Solid> what doesn't work? only the notification or the whole thing?
2021-03-05 15:00:25 <heck-to-the-gnom> it seems that the notification is all that's failing
2021-03-05 15:00:30 <Ikosit> yes
2021-03-05 15:00:36 <Ikosit> only the notification
2021-03-05 15:01:16 <heck-to-the-gnom> pro tip I learned less than 24 hrs ago: use `<>` instead of `++`
←Prev  Next→
Page 1 .. 210 211 212 213 214 215 216 217 218 219 220 .. 397

All times are in UTC.