Logs: freenode/#xmonad
| 2021-02-20 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) |
| 2021-02-20 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) |
| 2021-02-20 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) |
| 2021-02-20 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) |
| 2021-02-20 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))` |
| 2021-02-20 09:39:29 | <sheepfleece> | https://hackage.haskell.org/package/strict-0.4.0.1/docs/Data-Strict-These.html#t:These |
| 2021-02-20 10:25:23 | → | seschwar joins (~seschwar@unaffiliated/seschwar) |
| 2021-02-20 10:28:19 | × | xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 258 seconds) |
| 2021-02-20 10:28:38 | × | scardinal quits (~supreme@unaffiliated/scardinal) (Quit: leaving) |
| 2021-02-20 10:45:35 | <Liskni_si> | mc47: why? calcGap runs in the layout, not in the event hook |
| 2021-02-20 10:46:11 | <Liskni_si> | If the screen config changes, the layout is refreshed |
| 2021-02-20 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. |
| 2021-02-20 10:48:25 | <Liskni_si> | sheepfleece: for the second usecase there's https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Layout/MessageControl.hs |
| 2021-02-20 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. |
| 2021-02-20 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. |
| 2021-02-20 11:12:41 | × | sheepfleece quits (~sheep@46.53.253.85) (Quit: Lost terminal) |
| 2021-02-20 11:36:41 | <Liskni_si> | byorgey: I am on a walk so I can't chat more, but: thanks |
| 2021-02-20 11:36:52 | → | scardinal joins (~supreme@unaffiliated/scardinal) |
| 2021-02-20 11:37:03 | <Liskni_si> | We'll need to deal with hackage access as well |
| 2021-02-20 11:37:22 | <Liskni_si> | Right now none of the active people can upload anything |
| 2021-02-20 11:39:22 | <Liskni_si> | See the X11 pr where I highlighted you and where dmwit replied |
| 2021-02-20 11:45:51 | × | scardinal quits (~supreme@unaffiliated/scardinal) (Remote host closed the connection) |
| 2021-02-20 11:47:27 | → | scardinal joins (~supreme@unaffiliated/scardinal) |
| 2021-02-20 11:52:10 | → | xaltsc joins (~xaltsc@unaffiliated/xaltsc) |
| 2021-02-20 12:33:19 | → | geekosaur joins (ac3a537e@172.58.83.126) |
| 2021-02-20 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. |
| 2021-02-20 13:27:16 | × | xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 240 seconds) |
| 2021-02-20 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 |
| 2021-02-20 13:36:33 | <mc47> | I guess I need to find out exactly what's causing the problem |
| 2021-02-20 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 |
| 2021-02-20 13:51:51 | <Liskni_si> | I had this happen to me as well |
| 2021-02-20 13:52:12 | <Liskni_si> | Solved by telling xmobar to act as a dock instead of just override redirect |
| 2021-02-20 13:52:43 | <Liskni_si> | I don't remember the details though. Will check when I get home |
| 2021-02-20 13:53:46 | <mc47> | that would be awesome! thanks |
| 2021-02-20 13:55:13 | <mc47> | nevermind, I took a look at your config and it's there |
| 2021-02-20 13:55:27 | <mc47> | overrideRedirect = False must be added to the xmobar config |
| 2021-02-20 13:56:49 | → | drdo joins (~drdo@overlord0.drdo.eu) |
| 2021-02-20 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. |
| 2021-02-20 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. |
| 2021-02-20 14:02:20 | <Liskni_si> | Also without override redirect you need to manually doLower |
| 2021-02-20 14:02:43 | <Liskni_si> | This probably deserves a deeper look |
| 2021-02-20 14:36:07 | × | Natch quits (~natch@c-b471e255.014-297-73746f25.bbcust.telenor.se) (Remote host closed the connection) |
| 2021-02-20 14:41:29 | → | Natch joins (~Natch@c-b471e255.014-297-73746f25.bbcust.telenor.se) |
| 2021-02-20 14:59:18 | × | geekosaur quits (ac3a537e@172.58.83.126) (Quit: Connection closed) |
| 2021-02-20 15:30:04 | × | s00pcan quits (~chris@075-133-056-178.res.spectrum.com) (Remote host closed the connection) |
| 2021-02-20 15:35:21 | → | everythingTaken joins (~everythin@gateway/tor-sasl/everythingtaken) |
| 2021-02-20 15:39:35 | deepy | is now known as Dreamcast |
| 2021-02-20 15:39:36 | × | everythingTaken quits (~everythin@gateway/tor-sasl/everythingtaken) (Client Quit) |
| 2021-02-20 16:00:47 | × | ericsagn1 quits (~ericsagne@2405:6580:0:5100:33f6:9077:f7e2:df6e) (Ping timeout: 246 seconds) |
| 2021-02-20 16:13:24 | → | ericsagn1 joins (~ericsagne@2405:6580:0:5100:86fb:42bc:1428:8130) |
| 2021-02-20 16:29:33 | → | idhugo joins (~idhugo@80-62-117-97-mobile.dk.customer.tdc.net) |
| 2021-02-20 16:33:54 | × | idhugo quits (~idhugo@80-62-117-97-mobile.dk.customer.tdc.net) (Ping timeout: 256 seconds) |
| 2021-02-20 16:40:57 | × | eyenx quits (~eyenxeyen@unaffiliated/eye/x-1653358) (Remote host closed the connection) |
| 2021-02-20 16:53:28 | → | eyenx joins (~eyenxeyen@unaffiliated/eye/x-1653358) |
| 2021-02-20 17:06:48 | → | geekosaur joins (82650c7a@130.101.12.122) |
| 2021-02-20 17:51:46 | → | insanya joins (b04f1553@176.79.21.83) |
| 2021-02-20 17:53:53 | × | insanya quits (b04f1553@176.79.21.83) (Client Quit) |
| 2021-02-20 17:54:15 | → | insanya joins (b04f1553@176.79.21.83) |
| 2021-02-20 17:54:23 | × | insanya quits (b04f1553@176.79.21.83) (Client Quit) |
| 2021-02-20 18:00:39 | × | batdog quits (~batdog@lnsq.elkins.co) (Quit: Bye) |
| 2021-02-20 18:02:47 | → | batdog joins (~batdog@lnsq.elkins.co) |
| 2021-02-20 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 |
| 2021-02-20 18:25:36 | Dreamcast | is now known as deepy |
| 2021-02-20 18:48:25 | → | xaltsc joins (~xaltsc@unaffiliated/xaltsc) |
| 2021-02-20 18:57:22 | × | geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds) |
| 2021-02-20 19:06:29 | × | notis quits (~notis@185.51.134.229) (Read error: Connection reset by peer) |
| 2021-02-20 19:06:50 | × | hexo quits (~hexo@gateway/tor-sasl/hexo) (Ping timeout: 268 seconds) |
| 2021-02-20 19:08:15 | → | hexo joins (~hexo@gateway/tor-sasl/hexo) |
| 2021-02-20 19:11:27 | × | thunderrd quits (~thunderrd@183.182.113.172) (Ping timeout: 272 seconds) |
| 2021-02-20 19:22:59 | → | geekosaur joins (82650c7a@130.101.12.122) |
| 2021-02-20 19:40:29 | → | some_alex joins (~some_alex@188.239.60.41.nash.net.ua) |
| 2021-02-20 19:58:58 | × | some_alex quits (~some_alex@188.239.60.41.nash.net.ua) (Ping timeout: 260 seconds) |
| 2021-02-20 20:00:07 | × | jchia1 quits (~jchia@58.41.30.202) (Ping timeout: 256 seconds) |
| 2021-02-20 20:13:18 | × | fr33domlover quits (~fr33domlo@fsf/member/fr33domlover) (Ping timeout: 260 seconds) |
| 2021-02-20 20:15:42 | → | fr33domlover joins (~fr33domlo@fsf/member/fr33domlover) |
| 2021-02-20 20:20:15 | × | geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed) |
| 2021-02-20 20:20:32 | → | geekosaur joins (82650c7a@130.101.12.122) |
| 2021-02-20 20:51:33 | → | kw joins (d4662d5d@212.102.45.93) |
| 2021-02-20 21:03:40 | → | notis joins (~notis@185.51.134.229) |
| 2021-02-20 21:03:55 | → | qbit2821 joins (~qbit2821@94-255-133-216.cust.bredband2.com) |
| 2021-02-20 21:05:06 | × | qbit2821 quits (~qbit2821@94-255-133-216.cust.bredband2.com) (Client Quit) |
| 2021-02-20 21:41:50 | × | mc47 quits (~yecinem@89.246.239.190) (Quit: Leaving) |
| 2021-02-20 21:44:20 | × | geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed) |
| 2021-02-20 22:26:16 | → | some_alex joins (~some_alex@188.239.60.41.nash.net.ua) |
| 2021-02-20 22:26:22 | <some_alex> | hi |
| 2021-02-20 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? |
| 2021-02-20 22:41:42 | <vrs> | that's the default behavior |
| 2021-02-20 22:41:56 | <vrs> | just specify some keybindings and the rest will be left alone |
| 2021-02-20 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 |
| 2021-02-20 22:46:03 | <vrs> | https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Util-EZConfig.html |
| 2021-02-20 22:47:02 | <vrs> | I forget that people sometimes don't use this |
| 2021-02-20 23:01:24 | <some_alex> | vrs: thanks! I think I might need to learn a bit of Haskell xD |
| 2021-02-20 23:11:04 | × | some_alex quits (~some_alex@188.239.60.41.nash.net.ua) (Ping timeout: 272 seconds) |
| 2021-02-20 23:24:17 | <ectospasm> | some_alex: I've been saying that for years! |
| 2021-02-21 00:01:21 | × | seschwar quits (~seschwar@unaffiliated/seschwar) (Quit: :wq) |
| 2021-02-21 00:52:09 | × | notis quits (~notis@185.51.134.229) (Read error: Connection reset by peer) |
| 2021-02-21 01:08:44 | → | gazler_ joins (~gazler@195.107.2.81.in-addr.arpa) |
| 2021-02-21 01:11:24 | × | gazler quits (~gazler@195.107.2.81.in-addr.arpa) (Ping timeout: 272 seconds) |
| 2021-02-21 01:16:19 | → | thunderrd joins (~thunderrd@183.182.115.128) |
| 2021-02-21 01:51:52 | → | jchia joins (~jchia@218.80.126.10) |
All times are in UTC.