Logs: liberachat/#xmonad
| 2022-08-12 05:56:08 | → | hrberg joins (~quassel@171.79-160-161.customer.lyse.net) |
| 2022-08-12 06:36:50 | × | sogens quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.5) |
| 2022-08-12 06:45:53 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 06:53:13 | → | chomwitt joins (~chomwitt@2a02:587:dc15:5e00:e515:c8d5:9938:b1b6) |
| 2022-08-12 07:03:56 | × | chomwitt quits (~chomwitt@2a02:587:dc15:5e00:e515:c8d5:9938:b1b6) (Ping timeout: 268 seconds) |
| 2022-08-12 07:37:53 | × | sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5) |
| 2022-08-12 08:06:40 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 08:15:19 | × | sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5) |
| 2022-08-12 08:23:03 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2022-08-12 08:29:38 | → | sogens joins (~sogens@gateway/vpn/pia/sogens) |
| 2022-08-12 08:41:24 | × | sogens quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.5) |
| 2022-08-12 08:42:35 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 08:43:48 | → | sogens2 joins (~sogens@gateway/vpn/pia/sogens) |
| 2022-08-12 08:44:17 | → | thunderrd joins (~thunderrd@183.182.110.20) |
| 2022-08-12 08:47:23 | × | sogens quits (~sogens@211.30.173.20) (Ping timeout: 252 seconds) |
| 2022-08-12 09:00:26 | × | lambdadelta-[m]1 quits (~lambdadel@2001:470:69fc:105::2:44c7) (Quit: You have been kicked for being idle) |
| 2022-08-12 09:22:00 | → | benin0 joins (~benin@183.82.31.108) |
| 2022-08-12 10:04:16 | → | chomwitt joins (~chomwitt@2a02:587:dc15:5e00:38ea:666e:63fd:fbc3) |
| 2022-08-12 10:23:07 | × | chomwitt quits (~chomwitt@2a02:587:dc15:5e00:38ea:666e:63fd:fbc3) (Ping timeout: 268 seconds) |
| 2022-08-12 10:30:51 | × | haskl quits (~haskl@user/haskl) (Read error: Connection reset by peer) |
| 2022-08-12 10:32:42 | → | Jade1 joins (~Jade1@ip-178-201-128-039.um46.pools.vodafone-ip.de) |
| 2022-08-12 10:33:10 | → | haskl joins (~haskl@user/haskl) |
| 2022-08-12 10:35:27 | <Jade1> | Hello! I currently mainly use a master and stack layout. I binded my `M-S-l` and `M-S-r` to resizing it. My problem is that I want to have this be conditional on the layout. When it is Master left and and stack right I want it to be L/R and when it's Master top and stack bottom I want it to be U/D |
| 2022-08-12 10:35:44 | <Jade1> | is it possible to make keybinds conditional on current state? |
| 2022-08-12 10:40:00 | <vrs> | sounds easier to make the function called by the keybind depend on current state |
| 2022-08-12 10:40:34 | <Jade1> | yeah that's what I mean but I'm not sure about how to achieve it |
| 2022-08-12 10:41:38 | <vrs> | last time I tried, getting layout state specifically was pretty annoying, but layouts in general are the part of xmonad I understand least |
| 2022-08-12 10:42:15 | <Lears> | Jade1: We have X.A.PerLayoutKeys if your xmonad is new enough. Otherwise, you can just copy the source for the module; it's really small anyway. |
| 2022-08-12 10:42:52 | <vrs> | I have something to get a printable layout name that looks like this: do layout <- gets (W.layout . W.workspace . W.current . windowset); [..] let lname = head $ words $ description layout; [...] |
| 2022-08-12 10:43:15 | <Jade1> | Thanks! |
| 2022-08-12 10:43:19 | <Jade1> | I have 17 I think |
| 2022-08-12 10:43:26 | <Jade1> | 0.17.0 |
| 2022-08-12 10:53:19 | <Jade1> | Lears: I can't find this module on hackage |
| 2022-08-12 10:55:25 | <Solid> | Jade1: I believe this is only available in git at the moment |
| 2022-08-12 10:55:37 | <Solid> | probably best to just copy the module if you're on 0.17.0 |
| 2022-08-12 10:57:26 | <Jade1> | alright! |
| 2022-08-12 10:57:47 | <Jade1> | How do I properly do that |
| 2022-08-12 10:57:51 | <Jade1> | where do I place it |
| 2022-08-12 10:59:58 | <Lears> | It depends on how exactly your xmonad config is built. Normally, you'd put it in lib/XMonad/Actions/PerLayoutKeys.hs, where lib is in the same directory as xmonad.hs. |
| 2022-08-12 11:00:25 | <Solid> | (probably easiest to create lib/PerLayoutKeys.hs and rename the module) |
| 2022-08-12 11:17:51 | <Jade1> | hm ok |
| 2022-08-12 11:18:24 | → | alternateved joins (~user@staticline-31-183-149-36.toya.net.pl) |
| 2022-08-12 11:40:18 | × | Jade1 quits (~Jade1@ip-178-201-128-039.um46.pools.vodafone-ip.de) (Quit: Client closed) |
| 2022-08-12 11:43:36 | → | Jade1 joins (~Jade1@ip-178-201-128-039.um46.pools.vodafone-ip.de) |
| 2022-08-12 11:44:28 | → | chomwitt joins (~chomwitt@2a02:587:dc15:5e00:454b:92f1:2a92:b402) |
| 2022-08-12 12:04:54 | × | Jade1 quits (~Jade1@ip-178-201-128-039.um46.pools.vodafone-ip.de) (Quit: Client closed) |
| 2022-08-12 12:11:24 | → | benin04 joins (~benin@2401:4900:2325:5674:b133:d14b:76b3:3d8) |
| 2022-08-12 12:13:37 | × | benin0 quits (~benin@183.82.31.108) (Ping timeout: 268 seconds) |
| 2022-08-12 12:13:37 | benin04 | is now known as benin0 |
| 2022-08-12 12:17:10 | → | benin04 joins (~benin@183.82.178.4) |
| 2022-08-12 12:19:32 | × | benin0 quits (~benin@2401:4900:2325:5674:b133:d14b:76b3:3d8) (Ping timeout: 255 seconds) |
| 2022-08-12 12:19:32 | benin04 | is now known as benin0 |
| 2022-08-12 12:33:07 | → | twiclo1 joins (~twiclo@mail.twil.cx) |
| 2022-08-12 12:38:08 | × | twiclo1 quits (~twiclo@mail.twil.cx) (Ping timeout: 268 seconds) |
| 2022-08-12 12:43:09 | × | chomwitt quits (~chomwitt@2a02:587:dc15:5e00:454b:92f1:2a92:b402) (Remote host closed the connection) |
| 2022-08-12 12:43:28 | → | chomwitt joins (~chomwitt@2a02:587:dc15:5e00:41c2:c97c:1364:63b1) |
| 2022-08-12 13:06:28 | × | sogens2 quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.5) |
| 2022-08-12 13:07:31 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 13:15:30 | × | alternateved quits (~user@staticline-31-183-149-36.toya.net.pl) (Remote host closed the connection) |
| 2022-08-12 13:23:23 | × | sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5) |
| 2022-08-12 13:23:40 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 14:05:56 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds) |
| 2022-08-12 14:14:31 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-08-12 14:14:36 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.6) |
| 2022-08-12 14:15:31 | × | amenonsen quits (~amenonsen@pitta.toroid.org) (Remote host closed the connection) |
| 2022-08-12 14:15:56 | → | amenonsen joins (~amenonsen@pitta.toroid.org) |
| 2022-08-12 14:19:54 | × | chomwitt quits (~chomwitt@2a02:587:dc15:5e00:41c2:c97c:1364:63b1) (Ping timeout: 264 seconds) |
| 2022-08-12 14:29:35 | × | sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5) |
| 2022-08-12 14:29:53 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 14:31:17 | × | sogens quits (~sogens@211.30.173.20) (Client Quit) |
| 2022-08-12 14:32:29 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 14:35:04 | × | sogens quits (~sogens@211.30.173.20) (Client Quit) |
| 2022-08-12 14:35:21 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 14:38:32 | × | sogens quits (~sogens@211.30.173.20) (Client Quit) |
| 2022-08-12 14:38:49 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 14:59:53 | → | chomwitt joins (~chomwitt@2a02:587:dc15:5e00:8ebc:7ad0:4cb3:bd5d) |
| 2022-08-12 15:35:04 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec) |
| 2022-08-12 16:04:12 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Read error: Connection reset by peer) |
| 2022-08-12 16:08:02 | × | sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5) |
| 2022-08-12 16:08:19 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 16:09:37 | × | sogens quits (~sogens@211.30.173.20) (Client Quit) |
| 2022-08-12 16:09:43 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-08-12 16:10:37 | → | sogens joins (~sogens@gateway/vpn/pia/sogens) |
| 2022-08-12 16:11:24 | × | sogens quits (~sogens@gateway/vpn/pia/sogens) (Client Quit) |
| 2022-08-12 16:12:44 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 16:14:12 | × | sogens quits (~sogens@211.30.173.20) (Client Quit) |
| 2022-08-12 16:14:28 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 16:22:39 | × | benin0 quits (~benin@183.82.178.4) (Quit: The Lounge - https://thelounge.chat) |
| 2022-08-12 16:28:41 | × | sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5) |
| 2022-08-12 16:28:58 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 16:51:16 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds) |
| 2022-08-12 17:46:35 | × | sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5) |
| 2022-08-12 17:46:52 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 18:24:14 | → | alternateved joins (~user@staticline-31-183-149-36.toya.net.pl) |
| 2022-08-12 18:35:51 | × | sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5) |
| 2022-08-12 18:51:26 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-12 19:13:23 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2022-08-12 19:52:36 | × | zawaken quits (~zawaken@user/zawaken) (Quit: ZNC 1.9.x-git-unknown - https://znc.in) |
| 2022-08-12 19:52:55 | → | zawaken joins (~zawaken@user/zawaken) |
| 2022-08-12 19:53:39 | × | sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5) |
All times are in UTC.