Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 635 636 637 638 639 640 641 642 643 644 645 .. 1850
184,923 events total
2022-05-02 23:20:17 <abastro[m]> For treeselect
2022-05-02 23:27:07 <abastro[m]> Actually I might be able to interrupt main loop for a dialog to ask for quitting!
2022-05-02 23:30:16 <abastro[m]> Yea it must be, since keys stopped being passed to xmonsd
2022-05-02 23:31:48 <geekosaur> https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Actions/TreeSelect.hs#L529-L545
2022-05-02 23:32:09 werneta joins (~werneta@137.79.197.49)
2022-05-02 23:33:11 <geekosaur> with the loop being at https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Actions/TreeSelect.hs#L348-L358
2022-05-02 23:37:09 × werneta quits (~werneta@137.79.197.49) (Ping timeout: 246 seconds)
2022-05-02 23:37:12 <abastro[m]> Oh, that's it
2022-05-02 23:40:03 <abastro[m]> Uhm
2022-05-02 23:40:35 <abastro[m]> `treeselectAt` doesn't seem to fork tho
2022-05-02 23:40:57 <geekosaur> it doesn't
2022-05-02 23:41:09 <geekosaur> [02 23:13:02] <geekosaur> most of those run their own private event loops on the hopeful assumption that nothing will require the main loop
2022-05-02 23:41:12 <abastro[m]> It does seem like it would put xmonad event loop into halt...
2022-05-02 23:41:41 <geekosaur> at least it uses maskEvent so any wm events that come in will be held until the main loop next runs
2022-05-02 23:41:50 <abastro[m]> It immediately returns with the Maybe result
2022-05-02 23:41:56 <abastro[m]> Oh
2022-05-02 23:41:57 <geekosaur> instead of just discarding them
2022-05-02 23:42:04 <abastro[m]> So it does stop the main loop.
2022-05-02 23:42:27 stackdroid18 joins (14094@user/stackdroid)
2022-05-02 23:42:49 <abastro[m]> I guessthe right way to do it would be using `handleEventHook`
2022-05-02 23:50:18 <abastro[m]> Actually I could use X event to specify time, and send the actual payload through STM or sth
2022-05-02 23:52:38 <abastro[m]> Yea that might work
2022-05-02 23:54:07 werneta joins (~werneta@137.79.215.173)
2022-05-02 23:54:16 × mvk quits (~mvk@2607:fea8:5ce3:8500::aa1d) (Ping timeout: 250 seconds)
2022-05-02 23:55:38 <abastro[m]> geekosaur: How do I send X message from a client?
2022-05-02 23:58:15 <abastro[m]> s/X message/X event
2022-05-03 00:06:47 <geekosaur> you have to build it yourself. see https://github.com/xmonad/xmonad/blob/master/src/XMonad/Main.hs#L131-L140 for an example
2022-05-03 00:07:09 <geekosaur> (I had to dig for that, but knew I was in trouble when I found setClientMessageEvent)
2022-05-03 00:08:30 <abastro[m]> `setClientMessageEvent' e rw xmonad_restart 32 []`
2022-05-03 00:08:30 <abastro[m]> What is this?
2022-05-03 00:09:07 <geekosaur> https://hackage.haskell.org/package/X11-1.10.2/docs/Graphics-X11-Xlib-Extras.html#v:setClientMessageEvent
2022-05-03 00:09:44 <geekosaur> it takes an unpopulated X event and turns it into a ClientMessage event
2022-05-03 00:10:44 × werneta quits (~werneta@137.79.215.173) (Ping timeout: 248 seconds)
2022-05-03 00:12:32 <abastro[m]> Oh, I can make my own ClientMessage?
2022-05-03 00:12:48 <abastro[m]> Maybe I don't need mvars after all
2022-05-03 00:13:17 <geekosaur> with some limits, since you could go low level and use a C struct or something as the payload, but we don't support that currently
2022-05-03 00:14:19 <geekosaur> the problem with doing this, again, is there are some problems if there's one outstanding after a restart (I think if you get just the wrong timing with ShowWName you can still crash xmonad)
2022-05-03 00:21:04 <abastro[m]> Can I use a String?
2022-05-03 00:25:25 <geekosaur> hm. probably but you'd want to use the utf8_string package to encode it and set the format to UTF8_STRING, length 8, then the encoded characters as a packed (C) array
2022-05-03 00:26:13 <geekosaur> alternately if you don't care about anything but xmonad seeing it, output the codepoints with some user-chosen format and length 32
2022-05-03 00:26:41 <geekosaur> a literal String won'[t work since it's a linked list and messages have no provision for that
2022-05-03 00:35:14 <abastro[m]> Indeed literal string does not work
2022-05-03 00:35:30 <abastro[m]> How about making an Atom?
2022-05-03 00:36:28 <geekosaur> an atom is a number registered with the X server; you should not use them for arbitrary strings
2022-05-03 00:36:44 <geekosaur> things like the formats for events and properties are atoms
2022-05-03 00:37:55 <abastro[m]> Hmmm
2022-05-03 00:38:16 <abastro[m]> I am wondering how to implement tabs through gtk, then.
2022-05-03 00:43:31 <abastro[m]> I guess STM is less hassle
2022-05-03 00:45:04 benin joins (~benin@183.82.178.195)
2022-05-03 00:51:16 × benin quits (~benin@183.82.178.195) (Ping timeout: 248 seconds)
2022-05-03 01:11:35 benin joins (~benin@183.82.204.110)
2022-05-03 01:12:27 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-05-03 02:04:30 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 246 seconds)
2022-05-03 02:05:43 × Xioulious quits (~yourname@193.32.249.137) (Quit: leaving)
2022-05-03 02:22:57 banc joins (banc@gateway/vpn/airvpn/banc)
2022-05-03 02:28:16 abastro joins (~abab9579@192.249.26.68)
2022-05-03 02:55:01 mvk joins (~mvk@2607:fea8:5ce3:8500::aa1d)
2022-05-03 02:56:22 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-05-03 02:57:19 × td_ quits (~td@94.134.91.43) (Ping timeout: 240 seconds)
2022-05-03 02:59:27 td_ joins (~td@94.134.91.227)
2022-05-03 03:46:58 × stackdroid18 quits (14094@user/stackdroid) (Quit: Lost terminal)
2022-05-03 03:54:01 × abastro quits (~abab9579@192.249.26.68) (Remote host closed the connection)
2022-05-03 03:55:35 abastro joins (~abab9579@192.249.26.68)
2022-05-03 04:32:36 × abastro quits (~abab9579@192.249.26.68) (Ping timeout: 248 seconds)
2022-05-03 04:51:27 × benin quits (~benin@183.82.204.110) (Ping timeout: 246 seconds)
2022-05-03 04:52:26 benin joins (~benin@183.82.204.110)
2022-05-03 05:00:35 abastro joins (~abab9579@192.249.26.68)
2022-05-03 05:32:22 × abastro quits (~abab9579@192.249.26.68) (Remote host closed the connection)
2022-05-03 05:33:35 abastro joins (~abab9579@192.249.26.68)
2022-05-03 05:37:02 × mvk quits (~mvk@2607:fea8:5ce3:8500::aa1d) (Ping timeout: 250 seconds)
2022-05-03 05:42:06 × abastro quits (~abab9579@192.249.26.68) (Remote host closed the connection)
2022-05-03 05:52:07 abastro joins (~abab9579@192.249.26.68)
2022-05-03 05:52:46 × abastro quits (~abab9579@192.249.26.68) (Remote host closed the connection)
2022-05-03 05:53:54 <abastro[m]> Meh, xmonad always crash when I refresh.. :/
2022-05-03 06:17:28 globe_ is now known as deebo
2022-05-03 06:41:00 × benin quits (~benin@183.82.204.110) (Ping timeout: 260 seconds)
2022-05-03 06:55:44 <abastro[m]> Is there a way for gridselect to exclude windows from NSP workspace?
2022-05-03 06:57:57 abastro joins (~abab9579@192.249.26.68)
2022-05-03 07:30:57 <lyiriyah[m]> Probably want to rewrite the windowMap (https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/src/XMonad.Actions.GridSelect.html#windowMap) function to exclude windows from the NSP workspace. Not sure how you'd go about it.
2022-05-03 08:08:48 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 276 seconds)
2022-05-03 09:00:22 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
2022-05-03 09:37:17 <abastro[m]> Hm that might be quite a hassle
2022-05-03 09:39:42 × abastro quits (~abab9579@192.249.26.68) (Ping timeout: 250 seconds)
2022-05-03 11:50:54 hp77 joins (~hp77@157.119.207.150)
2022-05-03 11:52:02 <hp77> My System is not displaying some fonts, I am trying to see some downloaded fonts in font-manager
2022-05-03 11:52:13 <hp77> anyone know how can I overcome this?
2022-05-03 11:52:15 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
2022-05-03 12:25:54 sagax joins (~sagax_nb@user/sagax)
2022-05-03 12:37:05 arjun joins (~arjun@user/arjun)
2022-05-03 12:44:29 × hp77 quits (~hp77@157.119.207.150) (Quit: Client closed)
2022-05-03 12:56:08 × arjun quits (~arjun@user/arjun) (Quit: Leaving)
2022-05-03 13:06:24 srk- joins (~sorki@user/srk)
2022-05-03 13:09:45 × srk quits (~sorki@user/srk) (Ping timeout: 276 seconds)
2022-05-03 13:09:45 srk- is now known as srk
2022-05-03 13:12:35 srk- joins (~sorki@user/srk)
2022-05-03 13:13:09 srk| joins (~sorki@user/srk)
2022-05-03 13:16:17 srk^ joins (~sorki@user/srk)
2022-05-03 13:16:20 × srk quits (~sorki@user/srk) (Ping timeout: 248 seconds)
2022-05-03 13:17:33 × srk- quits (~sorki@user/srk) (Ping timeout: 276 seconds)
2022-05-03 13:18:12 × srk| quits (~sorki@user/srk) (Ping timeout: 276 seconds)

All times are in UTC.