Home freenode/#xmonad: Logs Calendar

Logs: freenode/#xmonad

←Prev  Next→
Page 1 .. 181 182 183 184 185 186 187 188 189 190 191 .. 397
39,606 events total
2021-02-18 21:44:53 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
2021-02-18 21:57:01 × ixian quits (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) (Quit: leaving)
2021-02-18 22:04:59 × mc47 quits (~yecinem@89.246.239.190) (Remote host closed the connection)
2021-02-18 22:07:32 growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
2021-02-18 22:13:47 × tremon quits (~aschuring@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
2021-02-18 22:18:06 × growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Ping timeout: 246 seconds)
2021-02-18 22:27:04 ixian joins (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269)
2021-02-18 22:44:28 sheepfleece joins (~sheep@46.53.253.85)
2021-02-18 22:47:20 <sheepfleece> Good day! Can you please tell me whether it is possible or not to write LayoutModifier which can intercept messages and change its own state at the same time? As I've read the code I don't think it is possible right now. The closest thing is `handleMessOrMaybeModifyIt` but it is not enough.
2021-02-18 22:48:50 <sheepfleece> The problem I'm trying to solve is that I don't like the default way number of master windows is tracked. And to change it I need to inspect IncMasterN messages and the current number of windows.
2021-02-18 22:49:33 <sheepfleece> I did solve the problem by wrapping all needed Modifiers and Layouts into newtypes with the same logic redefined everywhere
2021-02-18 22:49:45 drl joins (~l@2600:1700:8360:3870:96f:b9e6:2385:66eb)
2021-02-18 22:49:46 <sheepfleece> Which works, but is not beautiful, and I'm not happy with it!
2021-02-18 22:50:40 × drl quits (~l@2600:1700:8360:3870:96f:b9e6:2385:66eb) (Client Quit)
2021-02-18 22:52:15 <Liskni_si> it seems this really can't be done as a LayoutModifier
2021-02-18 22:52:44 <Liskni_si> but you can create a layout modifier that is not a LayoutModifier :-)
2021-02-18 22:53:19 <Liskni_si> https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Layout/LayoutModifier.hs#L253-L270
2021-02-18 22:53:36 <Liskni_si> this is how LayoutModifier works
2021-02-18 22:54:15 <Liskni_si> you can define your own "modifier" and implement instance LayoutClass for it, and then both intercept the message and modify your modifiers state in handleMessage
2021-02-18 22:54:17 <sheepfleece> I see, thank you! I guess I need to write my own then!
2021-02-18 22:56:12 × s00pcan quits (~chris@075-133-056-178.res.spectrum.com) (Ping timeout: 265 seconds)
2021-02-18 22:56:41 <sheepfleece> Well, I leave everything as is for now, I guess. There is one more question, I made it so new windows are incerted below (so they do not swap master window), but when I close them the focus goes down, not up, again, I read the code and it doesn't seem to be possible to change the default behaviour without changing `delete` function in StackSet module
2021-02-18 22:56:52 <sheepfleece> However maybe I can somehow workaround this?
2021-02-18 22:57:50 <sheepfleece> What I did is added focusUp hook to Mod4+x shortcut, but it doesn't work when windows are closed differently
2021-02-18 22:58:01 s00pcan joins (~chris@107.181.165.217)
2021-02-18 22:58:08 <sheepfleece> maybe there is some X event, which I can subscribe to..
2021-02-18 22:59:58 <Liskni_si> https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Hooks/RefocusLast.hs#L158
2021-02-18 23:00:48 <Liskni_si> either use RefocusLast directly, or if you really just want to move the focus up after window disappears, write your own hook inspired by this code
2021-02-18 23:03:42 <sheepfleece> Hmm, yes, I think it would work, but where should I write this function, because I can't get access to X Events directly, or at least I don't know how
2021-02-18 23:04:02 <sheepfleece> They are managed in `handle` function in Main, but are not passed anywhere
2021-02-18 23:04:15 <Liskni_si> they're passed to handleEventHook
2021-02-18 23:04:28 <sheepfleece> Yes, thank you! I just noticed
2021-02-18 23:04:35 <sheepfleece> Thank you one more time :3
2021-02-18 23:04:50 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 264 seconds)
2021-02-18 23:11:53 × seschwar quits (~seschwar@unaffiliated/seschwar) (Quit: :wq)
2021-02-18 23:16:38 growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
2021-02-18 23:18:09 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:2bc8:4fa9:77f0:c682) (Ping timeout: 272 seconds)
2021-02-18 23:30:20 ericsagn1 joins (~ericsagne@2405:6580:0:5100:d30e:d5f0:fb8d:e928)
2021-02-18 23:37:24 × growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Ping timeout: 256 seconds)
2021-02-18 23:47:13 × sheepfleece quits (~sheep@46.53.253.85) (Quit: Lost terminal)
2021-02-19 00:52:04 × notis quits (~notis@185.51.134.222) (Ping timeout: 260 seconds)
2021-02-19 00:56:16 × rotaerk quits (rotaerk@2600:3c02::f03c:91ff:fe70:4a45) (Ping timeout: 265 seconds)
2021-02-19 00:56:44 rotaerk joins (~rotaerk@ender.afternet.org)
2021-02-19 01:22:18 × endiruna1 quits (~endiendir@46.101.187.207) (Read error: Connection reset by peer)
2021-02-19 01:27:04 gazler_ joins (~gazler@195.107.2.81.in-addr.arpa)
2021-02-19 01:29:24 × gazler quits (~gazler@81.2.107.195) (Ping timeout: 260 seconds)
2021-02-19 02:38:45 ttmx joins (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111)
2021-02-19 03:06:52 <ttmx> Anyone more proficient than me wants to help me tackle mpris signals as an xmobar module?
2021-02-19 03:11:21 <ttmx> Is seems that the module doesn't call itself repeatedly, and instead something calls the module with whatever delay we input
2021-02-19 03:26:07 <ttmx> I guess to start, how would I even make my own plugin?
2021-02-19 03:27:54 <ttmx> jk found docs
2021-02-19 03:33:12 <ttmx> I dont want to pull the whole toolchain :(
2021-02-19 03:36:02 <ttmx> Also why tf is haskell so huge with so many packages
2021-02-19 03:37:16 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
2021-02-19 03:38:32 × ttmx quits (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) (Quit: Connection closed)
2021-02-19 03:41:09 × theDon quits (~td@94.134.91.146) (Ping timeout: 246 seconds)
2021-02-19 03:43:02 theDon joins (~td@muedsl-82-207-238-210.citykom.de)
2021-02-19 04:01:15 × jmct quits (sid160793@gateway/web/irccloud.com/x-hxrheimaayulxjym) (Ping timeout: 272 seconds)
2021-02-19 04:03:03 jmct joins (sid160793@gateway/web/irccloud.com/x-hrjltvcsjooogdaa)
2021-02-19 04:40:31 kw joins (d4662d5d@212.102.45.93)
2021-02-19 04:54:45 × kw quits (d4662d5d@212.102.45.93) (Quit: Connection closed)
2021-02-19 05:20:21 × ixian quits (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) (Remote host closed the connection)
2021-02-19 05:20:33 ixian joins (~mgold@terra.bitplane.org)
2021-02-19 06:08:54 palo1 joins (~weechat@c-base/crew/palo)
2021-02-19 06:12:12 × palo quits (~weechat@c-base/crew/palo) (Ping timeout: 260 seconds)
2021-02-19 06:12:12 palo1 is now known as palo
2021-02-19 07:06:03 <Solid> ?tell ttmx because arch broke haskell by deciding that everything has to be installed dynamically
2021-02-19 07:06:03 <lambdabot> Consider it noted.
2021-02-19 07:06:14 <Solid> ?tell ttmx I would advise you to build via stack instead
2021-02-19 07:06:14 <lambdabot> Consider it noted.
2021-02-19 07:07:23 jchia1 joins (~jchia@58.41.30.202)
2021-02-19 07:08:05 × jchia quits (~jchia@218.80.123.13) (Ping timeout: 272 seconds)
2021-02-19 07:10:45 × theDon quits (~td@muedsl-82-207-238-210.citykom.de) (Ping timeout: 264 seconds)
2021-02-19 08:00:24 idhugo_ joins (~idhugo@80-62-117-97-mobile.dk.customer.tdc.net)
2021-02-19 08:03:28 idhugo__ joins (~idhugo@80-62-117-86-mobile.dk.customer.tdc.net)
2021-02-19 08:05:36 × idhugo_ quits (~idhugo@80-62-117-97-mobile.dk.customer.tdc.net) (Ping timeout: 240 seconds)
2021-02-19 08:12:33 × liskin[m] quits (liskinmatr@gateway/shell/matrix.org/x-rtblbtrhhlnaoxpg) (*.net *.split)
2021-02-19 08:23:02 liskin[m] joins (liskinmatr@gateway/shell/matrix.org/x-rtblbtrhhlnaoxpg)
2021-02-19 08:25:56 × jeyj0[m] quits (jeyj0matri@gateway/shell/matrix.org/x-irgugsyilbnwwalh) (Ping timeout: 240 seconds)
2021-02-19 08:25:58 × noIOBeforeBedtim quits (dissatisfi@gateway/shell/matrix.org/x-nbankxgtuymsnayq) (Ping timeout: 240 seconds)
2021-02-19 08:26:14 × liskin[m] quits (liskinmatr@gateway/shell/matrix.org/x-rtblbtrhhlnaoxpg) (Ping timeout: 258 seconds)
2021-02-19 08:26:18 × jerin quits (jerinmatri@gateway/shell/matrix.org/x-ylhmfqomuosfeoaw) (Ping timeout: 246 seconds)
2021-02-19 08:26:20 × rednaZ[m] quits (r3dnazmatr@gateway/shell/matrix.org/x-mcdfzotmprrhasmv) (Ping timeout: 244 seconds)
2021-02-19 08:26:40 × molinus[m] quits (molinusmat@gateway/shell/matrix.org/x-vvucyaqehpgwepna) (Ping timeout: 268 seconds)
2021-02-19 08:26:40 × PotatoHatsue quits (berbermanp@gateway/shell/matrix.org/x-ucrbucgjroxpbmok) (Ping timeout: 268 seconds)
2021-02-19 08:26:40 × psibi[m] quits (psibimatri@gateway/shell/matrix.org/x-paktfkxlenpcfdah) (Ping timeout: 268 seconds)
2021-02-19 08:26:40 × By_JumperX4[m] quits (byjumperx4@gateway/shell/matrix.org/x-iccskfhakoyeovdb) (Ping timeout: 268 seconds)
2021-02-19 08:26:46 × psamim quits (samimpmatr@gateway/shell/matrix.org/x-xqjbkjnbgtsutvol) (Ping timeout: 265 seconds)
2021-02-19 08:28:21 notis joins (~notis@185.51.134.222)
2021-02-19 08:37:57 cfricke joins (~cfricke@unaffiliated/cfricke)
2021-02-19 08:53:25 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0.1)
2021-02-19 08:53:36 cfricke joins (~cfricke@unaffiliated/cfricke)
2021-02-19 08:56:07 mc47 joins (~yecinem@89.246.239.190)
2021-02-19 09:01:50 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:d30e:d5f0:fb8d:e928) (Ping timeout: 264 seconds)
2021-02-19 09:13:21 ericsagn1 joins (~ericsagne@2405:6580:0:5100:33f6:9077:f7e2:df6e)
2021-02-19 09:16:45 × mc47 quits (~yecinem@89.246.239.190) (Quit: Leaving)
2021-02-19 09:17:01 mc47 joins (~yecinem@89.246.239.190)
2021-02-19 09:21:38 psibi[m] joins (psibimatri@gateway/shell/matrix.org/x-ldvxqemmckkptjwe)
2021-02-19 09:35:21 Half-Shot joins (half-shoth@gateway/shell/matrix.org/x-ocvpwymxnnvaeldl)
2021-02-19 09:35:21 rednaZ[m] joins (r3dnazmatr@gateway/shell/matrix.org/x-beuyrqjzjrcpwkkf)
←Prev  Next→
Page 1 .. 181 182 183 184 185 186 187 188 189 190 191 .. 397

All times are in UTC.