Logs: liberachat/#xmonad
| 2022-08-15 05:18:00 | → | cdepillabout[m] joins (~cdepillab@2001:470:69fc:105::3d3) |
| 2022-08-15 05:18:17 | → | jsoo joins (~znc@irc.refl.club) |
| 2022-08-15 05:18:25 | → | davean joins (~davean@davean.sciesnet.net) |
| 2022-08-15 05:21:05 | → | Neo[Envs][m] joins (~neovoiden@2001:470:69fc:105::2:b07) |
| 2022-08-15 05:21:29 | → | Solid[m] joins (~slot-matr@2001:470:69fc:105::1:a84) |
| 2022-08-15 05:23:11 | → | ChaoticMist[m] joins (~gilganixm@2001:470:69fc:105::3d09) |
| 2022-08-15 05:23:14 | → | craige[m] joins (~craigemcw@2001:470:69fc:105::35f1) |
| 2022-08-15 05:23:30 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 264 seconds) |
| 2022-08-15 05:54:44 | × | Lears quits (~Leary]@122-58-224-198-vdsl.sparkbb.co.nz) (Ping timeout: 268 seconds) |
| 2022-08-15 05:59:45 | → | Guest3741 joins (~Guest37@2401:4900:1c21:e9d:ee5:cdce:6440:7ff6) |
| 2022-08-15 06:00:25 | × | Guest3741 quits (~Guest37@2401:4900:1c21:e9d:ee5:cdce:6440:7ff6) (Client Quit) |
| 2022-08-15 06:32:07 | → | dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net) |
| 2022-08-15 06:43:57 | × | steve_ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 268 seconds) |
| 2022-08-15 07:42:53 | × | Hash quits (~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net) (Quit: ZNC - https://znc.in) |
| 2022-08-15 07:50:03 | → | benin0 joins (~benin@183.82.206.125) |
| 2022-08-15 08:03:02 | → | chomwitt joins (~chomwitt@2a02:587:dc15:5e00:1cf8:31f1:edb9:8492) |
| 2022-08-15 08:41:50 | → | Hash joins (~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net) |
| 2022-08-15 08:49:41 | → | cfricke joins (~cfricke@user/cfricke) |
| 2022-08-15 08:58:44 | ← | trillpoli[m]1 parts (~trillpoli@2001:470:69fc:105::da4e) () |
| 2022-08-15 09:47:14 | → | [Leary] joins (~Leary]@122-58-224-198-vdsl.sparkbb.co.nz) |
| 2022-08-15 10:05:27 | <zim0369[m]1> | I need help with this code block:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/14508e951ab2b078a1efee90cfdbbdbb72bb7d59) |
| 2022-08-15 10:05:31 | <zim0369[m]1> | geekosaur: |
| 2022-08-15 10:08:55 | <zim0369[m]1> | I want to edit this submap to do:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/25223ac5b155f2e95c7462f0efd5b7626a7cf167) |
| 2022-08-15 10:09:35 | <zim0369[m]1> | M-o a sends the focus to workspace 1... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/9dacd8dac4a0fe87c1f250eb1215e651347e95b0) |
| 2022-08-15 10:15:01 | <zim0369[m]1> | * `M-o a` sends the focus to workspace 1... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/bf9e5886f2a176c2022a580bb321460419c86c81) |
| 2022-08-15 10:16:47 | × | dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.6) |
| 2022-08-15 10:17:44 | → | dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net) |
| 2022-08-15 10:22:11 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-08-15 11:06:38 | → | vyorkin[m] joins (~vyorkinma@2001:470:69fc:105::a5e) |
| 2022-08-15 11:27:29 | × | bubbler quits (~bubbler@2a02:810d:8cc0:3fa0:28f1:2f9d:d0e4:6494) (Quit: WeeChat 3.5) |
| 2022-08-15 11:36:48 | × | dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.6) |
| 2022-08-15 11:39:49 | → | justache joins (~justache@user/justache) |
| 2022-08-15 12:12:33 | × | zawaken quits (~zawaken@user/zawaken) (Quit: ZNC 1.9.x-nightly-20220808-32d4a4d5 - https://znc.in) |
| 2022-08-15 12:14:33 | × | justache quits (~justache@user/justache) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2022-08-15 12:14:41 | → | zawaken joins (~zawaken@user/zawaken) |
| 2022-08-15 12:15:07 | → | justache joins (~justache@user/justache) |
| 2022-08-15 12:16:43 | Alok[m] | uploaded an image: (77KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/QeqHUkwbnDCZotevUNFrvQbJ/image.png > |
| 2022-08-15 12:17:16 | <Alok[m]> | how can I make a mod + f toggle keybinding to toggle fullscreen. I am using ewmh fullscreen |
| 2022-08-15 12:25:50 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 255 seconds) |
| 2022-08-15 12:30:00 | <geekosaur> | Alok[m], the application has to do the fullscreening |
| 2022-08-15 12:30:19 | <geekosaur> | we could force the window fullscreen but there's no guarantee the app would follow suit |
| 2022-08-15 12:30:32 | <Alok[m]> | how does other wms handle this? |
| 2022-08-15 12:30:55 | <geekosaur> | unless you mean switching temporarily to Full layout, in which case look at https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-ToggleLayouts.html |
| 2022-08-15 12:31:07 | <geekosaur> | which is not quite the same thing as EWMH fullscreen |
| 2022-08-15 12:35:48 | <geekosaur> | there are differences between this and ewmh fullscreen. if you press F11 in a browser ewmh fullscreen is used, and since the browser is initiating the fullscreen it can do things like hide the titlebar and address bar |
| 2022-08-15 12:44:36 | <Alok[m]> | <geekosaur> "unless you mean switching..." <- I mean overlapping all windows |
| 2022-08-15 12:46:26 | <geekosaur> | then you want the Full layout and you want to look at the module I indicated |
| 2022-08-15 12:46:40 | <geekosaur> | just don't expect it to behave like pressing F11 |
| 2022-08-15 13:17:06 | <geekosaur> | zim0369[m]1, didn''t you ask for that code block to do what it currently does? |
| 2022-08-15 13:17:22 | <geekosaur> | (which I'm not even sure of, I don't recall shiftRL any more) |
| 2022-08-15 13:20:25 | <geekosaur> | [ ((0,k),windows $ W.greedyView i) | (i,k) <- zip myWorkspaces [xK_a .. xK_i] ] |
| 2022-08-15 13:35:49 | <zim0369[m]1> | <geekosaur> "zim0369, didn''t you ask for..." <- Umm.. Yea.. But |
| 2022-08-15 13:36:09 | <zim0369[m]1> | > <@zim0369:matrix.org> I want to edit this submap to do:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/2bace14c1ec57dc7e02d4eda667bba701645efed) |
| 2022-08-15 13:36:11 | <lambdabot> | <hint>:1:1: error: parse error on input ‘<@’ |
| 2022-08-15 13:36:32 | <quarkQuark[m]111> | Alok: I think XMonad.Layout.MultiToggle is what you're looking for. Here's the relevant part of my config: https://paste.tomsmeding.com/unSQP0XI |
| 2022-08-15 13:36:52 | <geekosaur> | MultiToggle is the same as Toggle but harder to use because it supports multiple toggles |
| 2022-08-15 13:37:05 | <geekosaur> | I pointed to single-toggle, which is simpler |
| 2022-08-15 13:37:53 | <geekosaur> | zim0369[m]1, so I gave you a replacement list comprehension that does what you want |
| 2022-08-15 14:24:41 | Alok[m] | uploaded an image: (7KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/ykeJvDOgLGwtaaZaPEQTMVrg/image.png > |
| 2022-08-15 14:25:50 | <Alok[m]> | is it correct? |
| 2022-08-15 14:27:32 | <geekosaur> | presuming you also have the layout part to receive the message, yes |
| 2022-08-15 14:28:12 | <geekosaur> | myLayout = toggleLayout Full $ (rest of your layout here) |
| 2022-08-15 14:28:30 | <geekosaur> | or however you have your layouts set up |
| 2022-08-15 14:34:13 | <Alok[m]> | <geekosaur> "myLayout = toggleLayout Full..." <- what is `toggleLayout Full`? |
| 2022-08-15 14:34:27 | Alok[m] | uploaded an image: (77KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/HsxrbLEXMLcGaQVhQqVWcegK/image.png > |
| 2022-08-15 14:34:29 | <Alok[m]> | I have it like this |
| 2022-08-15 14:34:48 | <Alok[m]> | <geekosaur> "presuming you also have the..." <- ummm no probably |
| 2022-08-15 14:36:40 | <geekosaur[m]> | Sorry I'll have to get back to my desktop first |
| 2022-08-15 14:38:32 | <geekosaur[m]> | But `toggleLayout Full` is the part you need for the message to work |
| 2022-08-15 14:43:54 | <Alok[m]> | <geekosaur[m]> "But `toggleLayout Full` is the..." <- I can't find what `toggleLayout` is |
| 2022-08-15 14:44:14 | <Alok[m]> | I have imported that package though |
| 2022-08-15 14:44:28 | <geekosaur> | did you read the page I sent? https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-ToggleLayouts.html |
| 2022-08-15 14:44:33 | <geekosaur> | it shows how to use it |
| 2022-08-15 14:44:55 | <geekosaur> | simply importing a package in Haskell only makes names available for use, it doesn't actually do anything |
| 2022-08-15 14:46:02 | <geekosaur> | `myLayout = smartBorders $ toggleLayout Full $ tiled ||| Mirror tiled ||| Full` |
| 2022-08-15 14:46:11 | <geekosaur> | (leave the following `where` clause as is) |
| 2022-08-15 14:49:47 | <Alok[m]> | geekosaur: there's no variable `toggleLayout` |
| 2022-08-15 14:49:56 | <geekosaur> | you might at some point learn how to use a pastebin, it's hard to copy from an image 🙂 |
| 2022-08-15 14:49:59 | Alok[m] | uploaded an image: (12KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/mhxCMfNLTPSInwYMDzIOGJgn/image.png > |
| 2022-08-15 14:50:00 | × | justache quits (~justache@user/justache) (Remote host closed the connection) |
| 2022-08-15 14:50:01 | Alok[m] | uploaded an image: (70KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/OrBPEusXEXlhTCzIjgWtbBEF/image.png > |
| 2022-08-15 14:50:13 | → | justache joins (~justache@user/justache) |
| 2022-08-15 14:50:21 | <geekosaur> | sorry, it's `toggleLayouts` |
| 2022-08-15 14:50:31 | <Alok[m]> | geekosaur: oh ok sorry |
| 2022-08-15 14:50:43 | <geekosaur> | exampple from the webpage |
| 2022-08-15 14:50:45 | <geekosaur> | myLayout = toggleLayouts Full (Tall 1 (3/100) (1/2)) ||| etc.. |
| 2022-08-15 14:50:45 | <geekosaur> | main = xmonad def { layoutHook = myLayout } |
| 2022-08-15 14:51:01 | <geekosaur> | because it could be more than one conceivably |
| 2022-08-15 14:51:13 | <geekosaur> | using ||| to separate them just as with the main layout |
| 2022-08-15 14:51:23 | <Alok[m]> | yes, I did exactly the same |
| 2022-08-15 14:51:41 | <Alok[m]> | Should I send full config? |
| 2022-08-15 14:54:30 | <geekosaur> | and error message if any, yes |
| 2022-08-15 14:54:30 | <Alok[m]> | ok it changes layout, but nothing happens to the windows lol |
| 2022-08-15 14:55:03 | <geekosaur> | how do you know it changed layout if nothing happens to the windows? |
| 2022-08-15 14:55:20 | <Alok[m]> | I am expecting the current window to go full screen |
| 2022-08-15 14:55:37 | <Alok[m]> | I'm not sure if I am doing the right thing |
| 2022-08-15 14:55:37 | <Alok[m]> | with bar hidden and no space on edges |
| 2022-08-15 14:56:10 | <Alok[m]> | * full screen, when theres a single window |
| 2022-08-15 14:56:59 | <Alok[m]> | * full screen, when there's only one window. If multiple windows, it works almost fine, by making the focused window fullscreen but doesn't overlap the bar) |
| 2022-08-15 14:57:48 | <geekosaur> | yes, you need to add something for the bar to toggle off because that's separate |
All times are in UTC.