Home freenode/#xmonad: Logs Calendar

Logs on 2021-02-20 (freenode/#xmonad)

00:03:26 × thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 240 seconds)
00:10:35 × seschwar quits (~seschwar@unaffiliated/seschwar) (Quit: :wq)
00:14:42 × growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Ping timeout: 256 seconds)
00:38:42 × notis quits (~notis@185.51.134.222) (Ping timeout: 246 seconds)
01:40:51 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 272 seconds)
01:59:54 × eqw quits (~eqw@31.134.178.99) (Ping timeout: 246 seconds)
02:07:04 eqw joins (~eqw@31.134.178.99)
02:26:16 palo1 joins (~weechat@c-base/crew/palo)
02:29:05 × palo quits (~weechat@c-base/crew/palo) (Ping timeout: 240 seconds)
02:29:05 palo1 is now known as palo
02:49:58 gazler joins (~gazler@195.107.2.81.in-addr.arpa)
02:52:03 × gazler_ quits (~gazler@195.107.2.81.in-addr.arpa) (Ping timeout: 246 seconds)
03:02:00 × adamik quits (~nodelet@unaffiliated/adamik) (Quit: leaving)
03:25:43 × AlexNevesky quits (~brtt@2600:8804:8689:3f00::2395) (Quit: WeeChat 3.0)
03:55:26 × theDon quits (~td@muedsl-82-207-238-165.citykom.de) (Ping timeout: 240 seconds)
03:57:30 theDon joins (~td@94.134.91.113)
03:58:36 × s00pcan quits (~chris@107.181.165.217) (Ping timeout: 240 seconds)
04:00:49 s00pcan joins (~chris@075-133-056-178.res.spectrum.com)
05:41:00 × toniz4 quits (~toniz4@unaffiliated/toniz4) (Quit: leaving)
05:56:07 × thunderrd quits (~thunderrd@183.182.113.172) (Remote host closed the connection)
06:30:35 palo1 joins (~weechat@c-base/crew/palo)
06:33:25 × palo quits (~weechat@c-base/crew/palo) (Ping timeout: 240 seconds)
06:33:25 palo1 is now known as palo
06:55:18 × novas0x2a1 quits (~blah@157-131-126-102.fiber.dynamic.sonic.net) (Quit: Leaving.)
06:56:59 novas0x2a joins (~blah@157-131-126-102.fiber.dynamic.sonic.net)
06:57:54 thunderrd joins (~thunderrd@183.182.113.172)
07:44:40 × meck quits (~meck@li1809-18.members.linode.com) (Quit: ZNC 1.8.2 - https://znc.in)
08:09:40 sheepfleece joins (~sheep@46.53.253.85)
08:12:23 <sheepfleece> Good day! I'm not sure what the problem is exactly, but sometimes when I move between two visible workspaces (on different screens) xmonad doesn't swap them and only changes focus to the other screen. I'm not sure when it started happenning, but what might be the problem, why does xmonad sometimes only change focus and not swap workspaces?
08:16:43 <Solid> If you're moving between screens with M-{w,e,r} you should not see any workspace swapping at all
08:17:56 <sheepfleece> I'm moving with M-{1..}
08:18:59 <sheepfleece> No, to be precise I'm moving with M-{;,'}, but I mapped them with greedyView
08:19:46 <Solid> Well that's certainly odd
08:19:48 <sheepfleece> What's even more strange is that now it doesn't work with M-{;,'} workspaces but does work with M-{n,m,[,],\}
08:21:27 <Solid> Are you able to reliably reproduce this?
08:22:26 <sheepfleece> Right now, yes. But I'm not sure how exactly it didn't work before
08:24:27 <sheepfleece> here is an exert from my config, https://paste.debian.net/1186190/
08:28:45 <Solid> mh looks right to me
08:47:49 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
08:49:50 × sheepfleece quits (~sheep@46.53.253.85) (Remote host closed the connection)
08:52:35 sheepfleece joins (~sheep@46.53.253.85)
08:52:55 mc47 joins (~yecinem@89.246.239.190)
08:52:58 <sheepfleece> It fixed itself after complete reboot, I have no idea what is going on, ehhh
08:53:25 <Solid> Oo
08:53:35 <Solid> Sounds like some fun X11 fuckery :)
08:57:22 notis joins (~notis@185.51.134.229)
08:57:32 × sheepfleece quits (~sheep@46.53.253.85) (Remote host closed the connection)
08:59:21 sheepfleece joins (~sheep@46.53.253.85)
09:00:29 <sheepfleece> Okay, I can reproduce it, the config I showed was a bit of a lie, because some time ago I also had this line in it. https://paste.debian.net/1186193/
09:00:42 <sheepfleece> So there were two ways to switching to those two workspaces
09:01:18 <sheepfleece> I returned it again, and voila, it does this strange thing again
09:10:41 <mc47> how does the entire config look like?
09:12:17 <sheepfleece> https://paste.debian.net/1186194/
09:20:00 × sheepfleece quits (~sheep@46.53.253.85) (Remote host closed the connection)
09:22:31 <mc47> no idea..
09:23:30 sheepfleece joins (~sheep@46.53.253.85)
09:27:02 <mc47> on another note, I think we should add RRScreenChangeNotifyEvent to the docksEventHook
09:27:50 <mc47> or something similar to react to changes in the screen config
09:32:50 <sheepfleece> Also would it be possible to somehow change LayoutModifier to completely intercept messages? `handleMessOrMaybeModifyIt` is insufficient because it allows to either modify the message or state of LayoutModifier, not both at the same time. Also it doesn't allow to simply discard message (which can be done by changing message to something no one will handle, but it is a workaround)
09:33:58 <sheepfleece> I already had two times when I wanted this new behaviour: first, when I wanted to modify how IncMasterN is handled by all Layouts (now instead I have a newtype wrapper for each layout I use to change the behaviour)
09:35:40 <sheepfleece> and second, when I wanted to use the same LayoutModifier twice, I needed a way to say that this message should be handled by, say, first or second instance of the modifier. (I wanted to use Magnify layout for magnifying a little bit or by opening window in fullscreen)
09:36:54 <sheepfleece> I know it can be done with Full layout, but there are other frustrations then (I want to toggle only between two layouts and open windows in fullscreen using other keybindings)
09:39:26 <sheepfleece> I think it can be done with adding new method with signature `m a -> SomeMessage -> X (Maybe (These (m a) SomeMessage))`
09:39:29 <sheepfleece> https://hackage.haskell.org/package/strict-0.4.0.1/docs/Data-Strict-These.html#t:These
10:25:23 seschwar joins (~seschwar@unaffiliated/seschwar)
10:28:19 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 258 seconds)
10:28:38 × scardinal quits (~supreme@unaffiliated/scardinal) (Quit: leaving)
10:45:35 <Liskni_si> mc47: why? calcGap runs in the layout, not in the event hook
10:46:11 <Liskni_si> If the screen config changes, the layout is refreshed
10:47:03 <Liskni_si> So there's nothing we need to do in the hook. If the bar program doesn't update its struts for the new screen config, we can't do anything meaningful.
10:48:25 <Liskni_si> sheepfleece: for the second usecase there's https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Layout/MessageControl.hs
10:52:09 <byorgey> Liskni_si, Solid: I just removed peti from the core xmonad team on github. I'm sorry it took me so long to get around to really looking into it, this has been a crazy few months for me.
10:53:30 <byorgey> I have no idea about the merits of the various technical things being discussed, but it doesn't matter; after reading through everything I agree he was being pretty toxic.
11:12:41 × sheepfleece quits (~sheep@46.53.253.85) (Quit: Lost terminal)
11:36:41 <Liskni_si> byorgey: I am on a walk so I can't chat more, but: thanks
11:36:52 scardinal joins (~supreme@unaffiliated/scardinal)
11:37:03 <Liskni_si> We'll need to deal with hackage access as well
11:37:22 <Liskni_si> Right now none of the active people can upload anything
11:39:22 <Liskni_si> See the X11 pr where I highlighted you and where dmwit replied
11:45:51 × scardinal quits (~supreme@unaffiliated/scardinal) (Remote host closed the connection)
11:47:27 scardinal joins (~supreme@unaffiliated/scardinal)
11:52:10 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
12:33:19 geekosaur joins (ac3a537e@172.58.83.126)
12:53:46 <byorgey> Liskni_si: right, I'll look into that too. Don't remember if I have Hackage upload access for things or not.
13:27:16 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 240 seconds)
13:36:15 <mc47> Liskni_si I'm not sure if that will solve my problem, which is: when I unplug my main monitor, the windows are over the xmobars
13:36:33 <mc47> I guess I need to find out exactly what's causing the problem
13:39:14 <mc47> xmobar seems to be updating the struts correctly, reseting the config also doesn't fix it.. it only goes away when I restart xmonad
13:51:51 <Liskni_si> I had this happen to me as well
13:52:12 <Liskni_si> Solved by telling xmobar to act as a dock instead of just override redirect
13:52:43 <Liskni_si> I don't remember the details though. Will check when I get home
13:53:46 <mc47> that would be awesome! thanks
13:55:13 <mc47> nevermind, I took a look at your config and it's there
13:55:27 <mc47> overrideRedirect = False must be added to the xmobar config
13:56:49 drdo joins (~drdo@overlord0.drdo.eu)
13:58:57 <Liskni_si> Yeah but now that I think about it, it's a bit weird. I'd like to remind myself what the root cause was and whether it should perhaps be fixed.
13:59:53 <Liskni_si> It's not good if it only works sometimes. If with override redirect it didn't work at all, that would be consistent. Now it's not.
14:02:20 <Liskni_si> Also without override redirect you need to manually doLower
14:02:43 <Liskni_si> This probably deserves a deeper look
14:36:07 × Natch quits (~natch@c-b471e255.014-297-73746f25.bbcust.telenor.se) (Remote host closed the connection)
14:41:29 Natch joins (~Natch@c-b471e255.014-297-73746f25.bbcust.telenor.se)
14:59:18 × geekosaur quits (ac3a537e@172.58.83.126) (Quit: Connection closed)
15:30:04 × s00pcan quits (~chris@075-133-056-178.res.spectrum.com) (Remote host closed the connection)
15:35:21 everythingTaken joins (~everythin@gateway/tor-sasl/everythingtaken)
15:39:35 deepy is now known as Dreamcast
15:39:36 × everythingTaken quits (~everythin@gateway/tor-sasl/everythingtaken) (Client Quit)
16:00:47 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:33f6:9077:f7e2:df6e) (Ping timeout: 246 seconds)
16:13:24 ericsagn1 joins (~ericsagne@2405:6580:0:5100:86fb:42bc:1428:8130)
16:29:33 idhugo joins (~idhugo@80-62-117-97-mobile.dk.customer.tdc.net)
16:33:54 × idhugo quits (~idhugo@80-62-117-97-mobile.dk.customer.tdc.net) (Ping timeout: 256 seconds)
16:40:57 × eyenx quits (~eyenxeyen@unaffiliated/eye/x-1653358) (Remote host closed the connection)
16:53:28 eyenx joins (~eyenxeyen@unaffiliated/eye/x-1653358)
17:06:48 geekosaur joins (82650c7a@130.101.12.122)
17:51:46 insanya joins (b04f1553@176.79.21.83)
17:53:53 × insanya quits (b04f1553@176.79.21.83) (Client Quit)
17:54:15 insanya joins (b04f1553@176.79.21.83)
17:54:23 × insanya quits (b04f1553@176.79.21.83) (Client Quit)
18:00:39 × batdog quits (~batdog@lnsq.elkins.co) (Quit: Bye)
18:02:47 batdog joins (~batdog@lnsq.elkins.co)
18:15:44 <Liskni_si> byorgey: you do have hackage access to xmonad and xmonad-contrib, for X11 we'll need dminuoso or dmwit or one of the others that aren't here
18:25:36 Dreamcast is now known as deepy
18:48:25 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
18:57:22 × geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds)
19:06:29 × notis quits (~notis@185.51.134.229) (Read error: Connection reset by peer)
19:06:50 × hexo quits (~hexo@gateway/tor-sasl/hexo) (Ping timeout: 268 seconds)
19:08:15 hexo joins (~hexo@gateway/tor-sasl/hexo)
19:11:27 × thunderrd quits (~thunderrd@183.182.113.172) (Ping timeout: 272 seconds)
19:22:59 geekosaur joins (82650c7a@130.101.12.122)
19:40:29 some_alex joins (~some_alex@188.239.60.41.nash.net.ua)
19:58:58 × some_alex quits (~some_alex@188.239.60.41.nash.net.ua) (Ping timeout: 260 seconds)
20:00:07 × jchia1 quits (~jchia@58.41.30.202) (Ping timeout: 256 seconds)
20:13:18 × fr33domlover quits (~fr33domlo@fsf/member/fr33domlover) (Ping timeout: 260 seconds)
20:15:42 fr33domlover joins (~fr33domlo@fsf/member/fr33domlover)
20:20:15 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
20:20:32 geekosaur joins (82650c7a@130.101.12.122)
20:51:33 kw joins (d4662d5d@212.102.45.93)
21:03:40 notis joins (~notis@185.51.134.229)
21:03:55 qbit2821 joins (~qbit2821@94-255-133-216.cust.bredband2.com)
21:05:06 × qbit2821 quits (~qbit2821@94-255-133-216.cust.bredband2.com) (Client Quit)
21:41:50 × mc47 quits (~yecinem@89.246.239.190) (Quit: Leaving)
21:44:20 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
22:26:16 some_alex joins (~some_alex@188.239.60.41.nash.net.ua)
22:26:22 <some_alex> hi
22:27:45 <some_alex> how do I override default keybindings without having to copy-paste those defaults that I don't intend to change?
22:41:42 <vrs> that's the default behavior
22:41:56 <vrs> just specify some keybindings and the rest will be left alone
22:45:10 <some_alex> vrs: I assign `keys` variable of defaultConfig to my own list of keys. So I don't get the default bindings if they are not in my list
22:46:03 <vrs> https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Util-EZConfig.html
22:47:02 <vrs> I forget that people sometimes don't use this
23:01:24 <some_alex> vrs: thanks! I think I might need to learn a bit of Haskell xD
23:11:04 × some_alex quits (~some_alex@188.239.60.41.nash.net.ua) (Ping timeout: 272 seconds)
23:24:17 <ectospasm> some_alex: I've been saying that for years!

All times are in UTC on 2021-02-20.