Logs: freenode/#xmonad
| 2021-05-19 10:34:21 | <wighawag> | Could the manage hook work on the spawned xterm window ? Like for every xterm window do not take main position |
| 2021-05-19 10:34:48 | <dminuoso> | As long as you can identify it, yes. |
| 2021-05-19 10:35:19 | <dminuoso> | manage hooks are essentially just callbacks inside xmonad when windows get created |
| 2021-05-19 10:35:38 | <dminuoso> | type ManageHook = Query (Endo WindowSet) |
| 2021-05-19 10:36:21 | <dminuoso> | This type reads a bit strange, but behind the newtypes this is just `Window -> X (WindowSet -> WindowSet)` |
| 2021-05-19 10:36:32 | <wighawag> | yes I use them with `doFLoat` |
| 2021-05-19 10:36:41 | <dminuoso> | Which says "given this new window, how do we manipulate the window set" |
| 2021-05-19 10:36:41 | <wighawag> | what command would ensure the main window is not moved |
| 2021-05-19 10:44:49 | <wighawag> | how can I log the window properties that Monad matches with the query. would like to debug |
| 2021-05-19 10:44:52 | × | sagax quits (~sagax_nb@213.138.71.146) (Ping timeout: 252 seconds) |
| 2021-05-19 10:45:31 | <Liskni_si> | wighawag: https://github.com/xmonad/xmonad-contrib/blob/master/scripts/window-properties.sh |
| 2021-05-19 10:49:42 | <wighawag> | thanks |
| 2021-05-19 10:50:02 | <wighawag> | title ?= do not work for some reason |
| 2021-05-19 10:50:29 | <wighawag> | anyway using appName will work for what I am trying to do, but wonder why title do not match |
| 2021-05-19 10:58:11 | <wighawag> | A bit lost with the API. how I could create a manageHook that ensure for certain window, they do not disturb the current main window |
| 2021-05-19 10:58:48 | <wighawag> | like I have a terminal that execute a cli tool that itself spawn multiple terminal. I want the original terminal to remain the main window in focus |
| 2021-05-19 10:59:10 | <Liskni_si> | you'll definitely need something like https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Hooks-InsertPosition.html |
| 2021-05-19 11:00:22 | <dminuoso> | Its been ages since I used manageHook, but presumably the input WindowSet already contains the new window ontop of the current stackset with focus on it? |
| 2021-05-19 11:01:31 | <wighawag> | thanks for the info |
| 2021-05-19 11:01:47 | <wighawag> | ANy easy way to debug like log the window set to see what is going on ? |
| 2021-05-19 11:02:12 | <dminuoso> | wighawag: inside the hook? you have X. |
| 2021-05-19 11:02:25 | <dminuoso> | https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Hooks-DebugStack.html |
| 2021-05-19 11:02:27 | <dminuoso> | Use this |
| 2021-05-19 11:08:13 | × | mohab quits (~mohab@156.223.213.178) (Ping timeout: 260 seconds) |
| 2021-05-19 11:14:01 | → | mohab joins (~mohab@156.223.213.178) |
| 2021-05-19 11:16:27 | → | _0dI joins (~user@193-154-38-161.adsl.highway.telekom.at) |
| 2021-05-19 11:26:44 | <wighawag> | thanks! |
| 2021-05-19 11:29:15 | → | idhugo joins (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net) |
| 2021-05-19 11:29:37 | × | idhugo quits (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net) (Remote host closed the connection) |
| 2021-05-19 11:33:11 | <wighawag> | Ok, lot to understand to make doF function that would ensure the master position is not changed. I guess I could simply swap the top most with the seoncd top most and be done, but I am not sure how I ca do that, |
| 2021-05-19 11:38:09 | × | kajzer quits (~kajzer@unaffiliated/kajzer) (Quit: WeeChat 3.1) |
| 2021-05-19 11:43:39 | → | kajzer joins (~kajzer@unaffiliated/kajzer) |
| 2021-05-19 11:52:43 | <wighawag> | I guess I could use W.swapDown |
| 2021-05-19 11:56:25 | <Liskni_si> | wighawag: is X.H.InsertPosition not enough for that? |
| 2021-05-19 11:56:55 | <wighawag> | I got that working: keepMaster = doF W.swapDown |
| 2021-05-19 11:57:03 | <wighawag> | but I now need to also keep focus |
| 2021-05-19 11:57:07 | <wighawag> | how do I combine 2 action |
| 2021-05-19 11:57:24 | <wighawag> | W.swapDown and W.focusMaster |
| 2021-05-19 12:01:27 | × | mniip quits (mniip@freenode/staff/mniip) (Quit: Changing host) |
| 2021-05-19 12:15:28 | <wighawag> | got it working with |
| 2021-05-19 12:15:28 | <wighawag> | keepMaster = doF W.focusMaster <+> doF W.swapDown |
| 2021-05-19 12:15:47 | <wighawag> | thanks for the help |
| 2021-05-19 12:20:23 | × | mohab quits (~mohab@156.223.213.178) (Ping timeout: 246 seconds) |
| 2021-05-19 12:21:43 | → | belphegor666 joins (~satan@2a02:8071:429b:600:6c4a:bff:fede:7c09) |
| 2021-05-19 12:22:27 | Liskni_si | still doesn't understand why X.H.InsertPosition isn't the answer |
| 2021-05-19 12:23:52 | → | mohab joins (~mohab@156.223.213.178) |
| 2021-05-19 12:25:48 | <dminuoso> | Are you folks considering moving away from freenode? |
| 2021-05-19 12:28:26 | × | mohab quits (~mohab@156.223.213.178) (Ping timeout: 260 seconds) |
| 2021-05-19 12:31:02 | × | eyenx quits (~eyenxeyen@unaffiliated/eye/x-1653358) (Quit: Bridge terminating on SIGTERM) |
| 2021-05-19 12:31:26 | → | eyenx joins (~eyenxeyen@unaffiliated/eye/x-1653358) |
| 2021-05-19 12:31:53 | <wighawag> | @Liskni_si did not really tried, how would that work ? |
| 2021-05-19 12:31:53 | <lambdabot> | Unknown command, try @list |
| 2021-05-19 12:32:04 | → | mohab joins (~mohab@156.223.213.178) |
| 2021-05-19 12:32:21 | <wighawag> | Liskni_si did not really tried, how would that work ? |
| 2021-05-19 12:32:51 | <wighawag> | , appName =? "xterm" --> keepMaster |
| 2021-05-19 12:33:04 | <wighawag> | keepMaster = doF W.focusMaster <+> doF W.swapDown |
| 2021-05-19 12:33:08 | <wighawag> | this is what I have |
| 2021-05-19 12:35:12 | → | kelnoky joins (~shao@ip1f128ba7.dynamic.kabel-deutschland.de) |
| 2021-05-19 12:37:30 | → | davemq joins (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net) |
| 2021-05-19 12:38:15 | × | eyenx quits (~eyenxeyen@unaffiliated/eye/x-1653358) (Quit: Bridge terminating on SIGTERM) |
| 2021-05-19 12:38:36 | → | eyenx joins (~eyenxeyen@unaffiliated/eye/x-1653358) |
| 2021-05-19 12:39:45 | × | eyenx quits (~eyenxeyen@unaffiliated/eye/x-1653358) (Client Quit) |
| 2021-05-19 12:40:05 | → | eyenx joins (~eyenxeyen@unaffiliated/eye/x-1653358) |
| 2021-05-19 12:47:32 | → | geekosaur joins (45870322@069-135-003-034.biz.spectrum.com) |
| 2021-05-19 12:58:59 | <eyenx> | anyone talking about the freenode chat drama here? |
| 2021-05-19 12:59:04 | <eyenx> | http://kline.sh |
| 2021-05-19 13:00:41 | → | sperber joins (~sperber@freebsd/developer/sperber) |
| 2021-05-19 13:02:11 | <Liskni_si> | dminuoso: I noticed the drama but I'd prefer a calmer response |
| 2021-05-19 13:02:40 | <Liskni_si> | people tend to suggest moving to Matrix but the UX is like a million times worse |
| 2021-05-19 13:02:52 | <dminuoso> | Liskni_si: well, libera.chat is the obvious alternative. |
| 2021-05-19 13:03:02 | <Liskni_si> | dminuoso: that doesn't even work yet |
| 2021-05-19 13:03:05 | <dminuoso> | it does. |
| 2021-05-19 13:03:11 | <Liskni_si> | it didn't two hours ago |
| 2021-05-19 13:03:14 | <dminuoso> | It does not :) |
| 2021-05-19 13:03:15 | <Liskni_si> | it really is _too_ early |
| 2021-05-19 13:03:16 | <dminuoso> | *now |
| 2021-05-19 13:03:24 | <dminuoso> | Well, Im very confident libera.chat is there to stay |
| 2021-05-19 13:10:29 | × | benin quits (~benin@183.82.177.199) (Quit: The Lounge - https://thelounge.chat) |
| 2021-05-19 13:12:14 | <Liskni_si> | wighawag: something like appName =? "xterm" --> insertPosition Below Older, I guess |
| 2021-05-19 13:12:33 | <Liskni_si> | dminuoso: oh well, better grab my nick early then :-/ |
| 2021-05-19 13:13:08 | <dminuoso> | Liskni_si: If I catch it first, how much will you pay me? |
| 2021-05-19 13:13:14 | <dminuoso> | a double choc chip cookie? |
| 2021-05-19 13:13:18 | <dminuoso> | Two of them? |
| 2021-05-19 13:13:43 | <dminuoso> | Or maybe a lava cake. Yes, that sounds like a fair price |
| 2021-05-19 13:15:33 | <Solid> | doesn't work for me yet |
| 2021-05-19 13:16:05 | <dminuoso> | Solid: The servers are under heavy pressure, currently. :p |
| 2021-05-19 13:16:14 | <Solid> | :) |
| 2021-05-19 13:16:33 | <Solid> | so the first stress test was a failure? :> |
| 2021-05-19 13:17:36 | <Liskni_si> | oh fuck it wouldn't let me register with a non-gmail email |
| 2021-05-19 13:17:39 | <Solid> | oh there we go |
| 2021-05-19 13:17:40 | <Liskni_si> | what a fucking load of crap |
| 2021-05-19 13:17:43 | <Solid> | wat |
| 2021-05-19 13:17:49 | <Solid> | is there a nickserv yet? |
| 2021-05-19 13:19:03 | <dminuoso> | yes |
| 2021-05-19 13:19:18 | <dminuoso> | 15:17:36 Liskni_si | oh fuck it wouldn't let me register with a non-gmail email |
| 2021-05-19 13:19:21 | <dminuoso> | what error do you get? |
| 2021-05-19 13:19:33 | <Liskni_si> | 15:16:12 -- NickServ: Sending email failed, sorry! Registration aborted. |
| 2021-05-19 13:19:53 | <dminuoso> | Yeah, try again in a while |
| 2021-05-19 13:20:01 | <dminuoso> | The mail server is completely overloaded |
| 2021-05-19 13:20:40 | <Solid> | mh yeah nickserv doesn't want to answer me either |
All times are in UTC.