2022/08/15

2022-08-15 00:03:25 +0200 <isaacthekind[m]> not for me personally, i'm just curious if there are plans to move. i'm under the impression that wayland has a lot of advantages over x11
2022-08-15 00:05:31 +0200 <geekosaur> it also has a bunch of disadvantages though. it's crashy still, it still doesn't handle multiple monitors even as well as x11 does (even though it has the potential to do better), etc.
2022-08-15 00:06:49 +0200 <geekosaur> if an x11 component wigs out you can restart it. if something connected to the compositor wigs out your whole session is toast
2022-08-15 00:09:16 +0200 <geekosaur> it still handles the case of an internal standard res monitor and an external 4k monitor worse than x11, even though it should be better
2022-08-15 00:12:08 +0200 <geekosaur> red hat was forced by its customers to commit to x11 support through 2030 because they rejected wayland
2022-08-15 00:18:38 +0200 <geekosaur> anyway, it's on the list, there isn't a lot of rush for it though
2022-08-15 00:19:32 +0200 <geekosaur> we'll probably have to pay someone to write it given the compositor situation in wayland (that is, that we would have to provide our own and the compositor is effectively the equivalent of an X11 server)
2022-08-15 00:22:28 +0200 <geekosaur> the current waymonad uses sway's compositor, which is a poor fit and leads to it being unstable
2022-08-15 00:23:11 +0200 <geekosaur> especially since sway makes no promises about api/abi stability of wlroots for uses other than sway itself
2022-08-15 00:29:24 +0200 <isaacthekind[m]> hmm ok i didn't realize there were trade offs, i thought basically that wayland was just the new thing
2022-08-15 00:29:32 +0200 <isaacthekind[m]> good points
2022-08-15 00:36:56 +0200noex(~null@user/noex) (Ping timeout: 255 seconds)
2022-08-15 00:38:22 +0200noex(~null@user/noex)
2022-08-15 00:44:20 +0200 <geekosaur> personally I'm still waiting for RH to find itself between a rock and a hard place
2022-08-15 00:44:47 +0200 <geekosaur> its customers are still pissed that it forced them over to systemd when it wasn't stable
2022-08-15 00:45:05 +0200 <geekosaur> they're not sitting still for the same with wayland
2022-08-15 00:45:24 +0200 <geekosaur> but the gnome devs (who de facto are the wayland devs) keep trying to desupport x11
2022-08-15 00:46:23 +0200 <geekosaur> I suspect they're going to lose some major customers before it gets through that they mean it
2022-08-15 00:49:44 +0200chomwitt(~chomwitt@2a02:587:dc15:5e00:4394:5e3a:258b:d8da) (Ping timeout: 268 seconds)
2022-08-15 01:47:27 +0200vreahli(~vreahli@2601:647:5700:1380::59e1)
2022-08-15 01:50:20 +0200vreahli10(~vreahli@2601:647:5700:1380:7900:ab45:4951:dbee)
2022-08-15 01:51:42 +0200 <vreahli10> Heya - I finished compiling xmonad a few hours ago, but after adding it to .xinitrc it runs, the process dies (somewhere), and Xorg stays running. Any ideas on troubleshooting or what to check?
2022-08-15 01:55:32 +0200 <geekosaur[m]> What does your .xinitrc look like?
2022-08-15 01:58:15 +0200 <vreahli> Currently: https://gist.github.com/vreahli/a89b54a6f343cca75636f4d75ca40a5c - ending with `exec xmonad`
2022-08-15 02:01:25 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-08-15 02:05:31 +0200 <geekosaur> that implies that xmonad was still running, since the X session would exit when xmonad does
2022-08-15 02:05:40 +0200 <geekosaur> so what's your xmonad.hs?
2022-08-15 02:06:06 +0200vreahli10(~vreahli@2601:647:5700:1380:7900:ab45:4951:dbee) (Ping timeout: 252 seconds)
2022-08-15 02:07:35 +0200 <vreahli> Current xmonad.hs here: https://gist.github.com/vreahli/00231e22e6a65feaa9c4db6c17d25677 (the three lines from the starter tutorial.)
2022-08-15 02:08:15 +0200 <geekosaur> huh. that should not crash. how do you know that the process dies?
2022-08-15 02:08:48 +0200 <vreahli> I guessed xmonad stopped because `killall xmonad` couldn't find a process, however `killall Xorg` was able to get rid of the blank screen and return me to the virtual console
2022-08-15 02:09:11 +0200 <vreahli> I'm not certain the process died, but it's a guess '=D
2022-08-15 02:09:32 +0200 <geekosaur> xmonad will have replaced itself by a process named xmonad-x86_64-linux (or whatever arch and system you're on) which is the compiled config
2022-08-15 02:09:58 +0200 <geekosaur> what happens if you press alt-shift-return? (make sure xterm is installed)
2022-08-15 02:11:23 +0200vreahli86(~vreahli@2601:647:5700:1380:7900:ab45:4951:dbee)
2022-08-15 02:11:41 +0200 <geekosaur> https://paste.tomsmeding.com/afWxOZ2v
2022-08-15 02:12:13 +0200vreahli(~vreahli@2601:647:5700:1380::59e1) (Quit: Client closed)
2022-08-15 02:13:33 +0200 <vreahli86> Ah - good news - `~/.cache/xmonad/xmonad-x86_64-linux` is alive
2022-08-15 02:14:35 +0200 <vreahli86> alt+shift+enter unfortunately doesn't do anything. FWIW, there's also no cursor present.
2022-08-15 02:15:01 +0200 <geekosaur> that sounds odd
2022-08-15 02:15:11 +0200 <vreahli86> goddangit - alt+shift+enter works! Apologies!
2022-08-15 02:15:28 +0200 <geekosaur> again, is xterm installed? these days it's usually not, and overriding the terminal is one of the first things the tutorial has you do
2022-08-15 02:15:39 +0200 <geekosaur> okay
2022-08-15 02:16:09 +0200 <vreahli86> Yup! Xterm is installed, sorry about that! I kept using i3 shortcuts without thinking about it.
2022-08-15 02:16:45 +0200 <geekosaur> alt-/ shows a cheatsheet if you need a reminder 🙂
2022-08-15 02:16:49 +0200 <vreahli86> Thank you for the help! FWIW I've been stuck on this for a few hours '=D
2022-08-15 02:16:54 +0200 <vreahli86> I will never forget that one :D
2022-08-15 02:17:12 +0200 <geekosaur> sorry alt-shift-/ aka alt-?
2022-08-15 02:17:35 +0200 <vreahli86> It's all good, I got the cheat sheet up :)
2022-08-15 03:04:02 +0200vreahli86(~vreahli@2601:647:5700:1380:7900:ab45:4951:dbee) (Ping timeout: 252 seconds)
2022-08-15 03:12:53 +0200twiclo1(~twiclo@mail.twil.cx)
2022-08-15 03:14:45 +0200 <twiclo1> I have ewmhFullscreen enabled. When I fullscreen a youtube video it takes up the whole monitor. Unfortunately it's not working with an old java game client. If I enable fullscreen the window takes up the whole monitor but the actual game doesn't fill to fit its window. This does work under cinnamon
2022-08-15 03:20:21 +0200noex(~null@user/noex) (Quit: :q!)
2022-08-15 03:39:12 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds)
2022-08-15 04:04:23 +0200banc-(banc@gateway/vpn/airvpn/banc) (Ping timeout: 255 seconds)
2022-08-15 04:25:02 +0200banc(banc@gateway/vpn/airvpn/banc)
2022-08-15 04:27:35 +0200td_(~td@94.134.91.250) (Ping timeout: 252 seconds)
2022-08-15 04:29:18 +0200td_(~td@muedsl-82-207-238-255.citykom.de)
2022-08-15 04:51:35 +0200gdd1(~gdd@2001:470:1f13:187:2167:5afb:418e:21fa) (Ping timeout: 268 seconds)
2022-08-15 04:52:11 +0200gdd1(~gdd@2001:470:1f13:187:e8a5:fbff:fe29:42f5)
2022-08-15 04:56:55 +0200rekahsoft(~rekahsoft@bras-base-wdston4533w-grc-02-142-113-160-8.dsl.bell.ca)
2022-08-15 04:56:56 +0200rekahsoft(~rekahsoft@bras-base-wdston4533w-grc-02-142-113-160-8.dsl.bell.ca) (Remote host closed the connection)
2022-08-15 05:01:38 +0200rekahsoft(~rekahsoft@bras-base-wdston4533w-grc-02-142-113-160-8.dsl.bell.ca)
2022-08-15 05:18:24 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 244 seconds)
2022-08-15 05:41:11 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-08-15 05:55:26 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net)
2022-08-15 05:55:57 +0200trillpoli[m]1(~trillpoli@2001:470:69fc:105::da4e)
2022-08-15 06:52:57 +0200rekahsoft(~rekahsoft@bras-base-wdston4533w-grc-02-142-113-160-8.dsl.bell.ca) (Ping timeout: 244 seconds)
2022-08-15 07:02:03 +0200Florian[m]1(~qe7ftcyrp@2001:470:69fc:105::2:4ea8) (*.net *.split)
2022-08-15 07:02:03 +0200thaumavorio(~thaumavor@thaumavor.io) (*.net *.split)
2022-08-15 07:02:03 +0200burp(~quassel@hedgewars/sysadmin/burp) (*.net *.split)
2022-08-15 07:02:14 +0200burp(~quassel@hedgewars/sysadmin/burp)
2022-08-15 07:03:21 +0200thaumavorio(~thaumavor@thaumavor.io)
2022-08-15 07:06:36 +0200Florian[m]1(~qe7ftcyrp@2001:470:69fc:105::2:4ea8)
2022-08-15 07:13:55 +0200twiclo1(~twiclo@mail.twil.cx) (Ping timeout: 268 seconds)
2022-08-15 07:16:58 +0200Solid[m](~slot-matr@2001:470:69fc:105::1:a84) (*.net *.split)
2022-08-15 07:16:58 +0200Neo[Envs][m](~neovoiden@2001:470:69fc:105::2:b07) (*.net *.split)
2022-08-15 07:16:59 +0200ChaoticMist[m](~gilganixm@2001:470:69fc:105::3d09) (*.net *.split)
2022-08-15 07:16:59 +0200craige[m](~craigemcw@2001:470:69fc:105::35f1) (*.net *.split)
2022-08-15 07:16:59 +0200cdepillabout[m](~cdepillab@2001:470:69fc:105::3d3) (*.net *.split)
2022-08-15 07:16:59 +0200davean(~davean@davean.sciesnet.net) (*.net *.split)
2022-08-15 07:16:59 +0200FatBoyXPC(~FatBoyXPC@user/fatboyxpc) (*.net *.split)
2022-08-15 07:16:59 +0200jsoo(~znc@irc.refl.club) (*.net *.split)
2022-08-15 07:17:53 +0200FatBoyXPC(~FatBoyXPC@user/fatboyxpc)
2022-08-15 07:18:00 +0200cdepillabout[m](~cdepillab@2001:470:69fc:105::3d3)
2022-08-15 07:18:17 +0200jsoo(~znc@irc.refl.club)
2022-08-15 07:18:25 +0200davean(~davean@davean.sciesnet.net)
2022-08-15 07:21:05 +0200Neo[Envs][m](~neovoiden@2001:470:69fc:105::2:b07)
2022-08-15 07:21:29 +0200Solid[m](~slot-matr@2001:470:69fc:105::1:a84)
2022-08-15 07:23:11 +0200ChaoticMist[m](~gilganixm@2001:470:69fc:105::3d09)
2022-08-15 07:23:14 +0200craige[m](~craigemcw@2001:470:69fc:105::35f1)
2022-08-15 07:23:30 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 264 seconds)
2022-08-15 07:54:44 +0200Lears(~Leary]@122-58-224-198-vdsl.sparkbb.co.nz) (Ping timeout: 268 seconds)
2022-08-15 07:59:45 +0200Guest3741(~Guest37@2401:4900:1c21:e9d:ee5:cdce:6440:7ff6)
2022-08-15 08:00:25 +0200Guest3741(~Guest37@2401:4900:1c21:e9d:ee5:cdce:6440:7ff6) (Client Quit)
2022-08-15 08:32:07 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-08-15 08:43:57 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 268 seconds)
2022-08-15 09:42:53 +0200Hash(~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net) (Quit: ZNC - https://znc.in)
2022-08-15 09:50:03 +0200benin0(~benin@183.82.206.125)
2022-08-15 10:03:02 +0200chomwitt(~chomwitt@2a02:587:dc15:5e00:1cf8:31f1:edb9:8492)
2022-08-15 10:41:50 +0200Hash(~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net)
2022-08-15 10:49:41 +0200cfricke(~cfricke@user/cfricke)
2022-08-15 10:58:44 +0200trillpoli[m]1(~trillpoli@2001:470:69fc:105::da4e) ()
2022-08-15 11:47:14 +0200[Leary](~Leary]@122-58-224-198-vdsl.sparkbb.co.nz)
2022-08-15 12:05:27 +0200 <zim0369[m]1> I need help with this code block:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/14508e951ab2b078a1efee90cfdbbdbb72bb…)
2022-08-15 12:05:31 +0200 <zim0369[m]1> geekosaur:
2022-08-15 12:08:55 +0200 <zim0369[m]1> I want to edit this submap to do:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/25223ac5b155f2e95c7462f0efd5b7626a7c…)
2022-08-15 12:09:35 +0200 <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/9dacd8dac4a0fe87c1f250eb1215e651347e…)
2022-08-15 12:15:01 +0200 <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/bf9e5886f2a176c2022a580bb321460419c8…)
2022-08-15 12:16:47 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.6)
2022-08-15 12:17:44 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-08-15 12:22:11 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-08-15 13:06:38 +0200vyorkin[m](~vyorkinma@2001:470:69fc:105::a5e)
2022-08-15 13:27:29 +0200bubbler(~bubbler@2a02:810d:8cc0:3fa0:28f1:2f9d:d0e4:6494) (Quit: WeeChat 3.5)
2022-08-15 13:36:48 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.6)
2022-08-15 13:39:49 +0200justache(~justache@user/justache)
2022-08-15 14:12:33 +0200zawaken(~zawaken@user/zawaken) (Quit: ZNC 1.9.x-nightly-20220808-32d4a4d5 - https://znc.in)
2022-08-15 14:14:33 +0200justache(~justache@user/justache) (Quit: ZNC 1.8.2 - https://znc.in)
2022-08-15 14:14:41 +0200zawaken(~zawaken@user/zawaken)
2022-08-15 14:15:07 +0200justache(~justache@user/justache)
2022-08-15 14:16:43 +0200Alok[m]uploaded an image: (77KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/QeqHUkwbnDCZotevUNFrvQbJ/image.png >
2022-08-15 14:17:16 +0200 <Alok[m]> how can I make a mod + f toggle keybinding to toggle fullscreen. I am using ewmh fullscreen
2022-08-15 14:25:50 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 255 seconds)
2022-08-15 14:30:00 +0200 <geekosaur> Alok[m], the application has to do the fullscreening
2022-08-15 14:30:19 +0200 <geekosaur> we could force the window fullscreen but there's no guarantee the app would follow suit
2022-08-15 14:30:32 +0200 <Alok[m]> how does other wms handle this?
2022-08-15 14:30:55 +0200 <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 14:31:07 +0200 <geekosaur> which is not quite the same thing as EWMH fullscreen
2022-08-15 14:35:48 +0200 <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 14:44:36 +0200 <Alok[m]> <geekosaur> "unless you mean switching..." <- I mean overlapping all windows
2022-08-15 14:46:26 +0200 <geekosaur> then you want the Full layout and you want to look at the module I indicated
2022-08-15 14:46:40 +0200 <geekosaur> just don't expect it to behave like pressing F11
2022-08-15 15:17:06 +0200 <geekosaur> zim0369[m]1, didn''t you ask for that code block to do what it currently does?
2022-08-15 15:17:22 +0200 <geekosaur> (which I'm not even sure of, I don't recall shiftRL any more)
2022-08-15 15:20:25 +0200 <geekosaur> [ ((0,k),windows $ W.greedyView i) | (i,k) <- zip myWorkspaces [xK_a .. xK_i] ]
2022-08-15 15:35:49 +0200 <zim0369[m]1> <geekosaur> "zim0369, didn''t you ask for..." <- Umm.. Yea.. But
2022-08-15 15:36:09 +0200 <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/2bace14c1ec57dc7e02d4eda667bba701645…)
2022-08-15 15:36:11 +0200 <lambdabot> <hint>:1:1: error: parse error on input ‘<@’
2022-08-15 15:36:32 +0200 <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 15:36:52 +0200 <geekosaur> MultiToggle is the same as Toggle but harder to use because it supports multiple toggles
2022-08-15 15:37:05 +0200 <geekosaur> I pointed to single-toggle, which is simpler
2022-08-15 15:37:53 +0200 <geekosaur> zim0369[m]1, so I gave you a replacement list comprehension that does what you want
2022-08-15 16:24:41 +0200Alok[m]uploaded an image: (7KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/ykeJvDOgLGwtaaZaPEQTMVrg/image.png >
2022-08-15 16:25:50 +0200 <Alok[m]> is it correct?
2022-08-15 16:27:32 +0200 <geekosaur> presuming you also have the layout part to receive the message, yes
2022-08-15 16:28:12 +0200 <geekosaur> myLayout = toggleLayout Full $ (rest of your layout here)
2022-08-15 16:28:30 +0200 <geekosaur> or however you have your layouts set up
2022-08-15 16:34:13 +0200 <Alok[m]> <geekosaur> "myLayout = toggleLayout Full..." <- what is `toggleLayout Full`?
2022-08-15 16:34:27 +0200Alok[m]uploaded an image: (77KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/HsxrbLEXMLcGaQVhQqVWcegK/image.png >
2022-08-15 16:34:29 +0200 <Alok[m]> I have it like this
2022-08-15 16:34:48 +0200 <Alok[m]> <geekosaur> "presuming you also have the..." <- ummm no probably
2022-08-15 16:36:40 +0200 <geekosaur[m]> Sorry I'll have to get back to my desktop first
2022-08-15 16:38:32 +0200 <geekosaur[m]> But `toggleLayout Full` is the part you need for the message to work
2022-08-15 16:43:54 +0200 <Alok[m]> <geekosaur[m]> "But `toggleLayout Full` is the..." <- I can't find what `toggleLayout` is
2022-08-15 16:44:14 +0200 <Alok[m]> I have imported that package though
2022-08-15 16:44:28 +0200 <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 16:44:33 +0200 <geekosaur> it shows how to use it
2022-08-15 16:44:55 +0200 <geekosaur> simply importing a package in Haskell only makes names available for use, it doesn't actually do anything
2022-08-15 16:46:02 +0200 <geekosaur> `myLayout = smartBorders $ toggleLayout Full $ tiled ||| Mirror tiled ||| Full`
2022-08-15 16:46:11 +0200 <geekosaur> (leave the following `where` clause as is)
2022-08-15 16:49:47 +0200 <Alok[m]> geekosaur: there's no variable `toggleLayout`
2022-08-15 16:49:56 +0200 <geekosaur> you might at some point learn how to use a pastebin, it's hard to copy from an image 🙂
2022-08-15 16:49:59 +0200Alok[m]uploaded an image: (12KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/mhxCMfNLTPSInwYMDzIOGJgn/image.png >
2022-08-15 16:50:00 +0200justache(~justache@user/justache) (Remote host closed the connection)
2022-08-15 16:50:01 +0200Alok[m]uploaded an image: (70KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/OrBPEusXEXlhTCzIjgWtbBEF/image.png >
2022-08-15 16:50:13 +0200justache(~justache@user/justache)
2022-08-15 16:50:21 +0200 <geekosaur> sorry, it's `toggleLayouts`
2022-08-15 16:50:31 +0200 <Alok[m]> geekosaur: oh ok sorry
2022-08-15 16:50:43 +0200 <geekosaur> exampple from the webpage
2022-08-15 16:50:45 +0200 <geekosaur> myLayout = toggleLayouts Full (Tall 1 (3/100) (1/2)) ||| etc..
2022-08-15 16:50:45 +0200 <geekosaur> main = xmonad def { layoutHook = myLayout }
2022-08-15 16:51:01 +0200 <geekosaur> because it could be more than one conceivably
2022-08-15 16:51:13 +0200 <geekosaur> using ||| to separate them just as with the main layout
2022-08-15 16:51:23 +0200 <Alok[m]> yes, I did exactly the same
2022-08-15 16:51:41 +0200 <Alok[m]> Should I send full config?
2022-08-15 16:54:30 +0200 <geekosaur> and error message if any, yes
2022-08-15 16:54:30 +0200 <Alok[m]> ok it changes layout, but nothing happens to the windows lol
2022-08-15 16:55:03 +0200 <geekosaur> how do you know it changed layout if nothing happens to the windows?
2022-08-15 16:55:20 +0200 <Alok[m]> I am expecting the current window to go full screen
2022-08-15 16:55:37 +0200 <Alok[m]> I'm not sure if I am doing the right thing
2022-08-15 16:55:37 +0200 <Alok[m]> with bar hidden and no space on edges
2022-08-15 16:56:10 +0200 <Alok[m]> * full screen, when theres a single window
2022-08-15 16:56:59 +0200 <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 16:57:48 +0200 <geekosaur> yes, you need to add something for the bar to toggle off because that's separate
2022-08-15 16:57:58 +0200 <geekosaur> where is `avoidStruts` in your config?
2022-08-15 16:58:30 +0200 <geekosaur> I suspect you have `layout = avoidStruts myLayout` somewhere?
2022-08-15 17:01:04 +0200 <Alok[m]> there's no avoidStruts
2022-08-15 17:01:36 +0200 <Alok[m]> https://batbin.me/unthorny
2022-08-15 17:02:51 +0200 <geekosaur> huh. I wonder how the bar is visible at all, then. must be on top instead of below
2022-08-15 17:03:43 +0200 <geekosaur> (which means it's overlapping windows instead of displaying below/above them)
2022-08-15 17:03:44 +0200 <geekosaur> do you have an xmobar config?
2022-08-15 17:04:39 +0200 <geekosaur> `myLayout = smartBorders $ toggleLayouts Full $ avoidStruts $ tiled ||| Mirror tiled ||| Full`
2022-08-15 17:04:50 +0200 <geekosaur> and make sure xmobar is set with `lowerOnStart = True`
2022-08-15 17:05:19 +0200 <Alok[m]> geekosaur: it was on top, I changed it to below lol. I was following official xmonad tutorial
2022-08-15 17:05:30 +0200 <Alok[m]> geekosaur: Ye, lemme send
2022-08-15 17:05:56 +0200 <geekosaur> not lower as in bottom of the screen, lower as in "below all other windows"
2022-08-15 17:06:10 +0200 <geekosaur> instead of overlapping them because it's over them
2022-08-15 17:06:56 +0200 <Alok[m]> https://batbin.me/overurbanization
2022-08-15 17:07:09 +0200 <Alok[m]> geekosaur: oh no
2022-08-15 17:07:43 +0200 <Alok[m]> sometimes it is above them sometimes below, idk how but yeah I've noticed that too
2022-08-15 17:12:33 +0200 <geekosaur> right, without the `lowerOnStart` it'll be wherever it was relative to other windows when it launched, so it'll float around. `avoidStruts` and `lowerOnStart` should make it behave
2022-08-15 17:13:18 +0200 <geekosaur> and the modified `myLayout` aith `avoidStruts` should stop it from overlapping when `Full` is toggled on, once `lowerOnStart` is set
2022-08-15 17:17:06 +0200 <Alok[m]> how to fix ;(
2022-08-15 17:17:36 +0200 <geekosaur> ?
2022-08-15 17:17:44 +0200 <geekosaur> didn't I just tell you?
2022-08-15 17:19:12 +0200 <geekosaur> first, edit your xmobar config and add `, lowerOnStart = True` to it, just after the first line
2022-08-15 17:19:39 +0200 <geekosaur> second, change your xmonad config the way I said earlier
2022-08-15 17:19:49 +0200 <geekosaur> [15 15:04:38] <geekosaur> `myLayout = smartBorders $ toggleLayouts Full $ avoidStruts $ tiled ||| Mirror tiled ||| Full`
2022-08-15 17:31:26 +0200catman(~catman@user/catman) (Quit: WeeChat 3.6)
2022-08-15 17:34:34 +0200catman(~catman@user/catman)
2022-08-15 17:47:47 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 248 seconds)
2022-08-15 17:51:35 +0200cfricke(~cfricke@user/cfricke)
2022-08-15 17:53:59 +0200logzet(~quassel@2001:9e8:e518:c800:dabb:c1ff:fed3:a1b9)
2022-08-15 17:57:20 +0200catman(~catman@user/catman) (Quit: WeeChat 3.6)
2022-08-15 17:59:51 +0200catman(~catman@user/catman)
2022-08-15 18:04:11 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.6)
2022-08-15 18:31:05 +0200chomwitt(~chomwitt@2a02:587:dc15:5e00:1cf8:31f1:edb9:8492) (Ping timeout: 255 seconds)
2022-08-15 18:46:48 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net)
2022-08-15 19:16:42 +0200chomwitt(~chomwitt@2a02:587:dc15:5e00:ece7:3fb3:7c32:eccf)
2022-08-15 19:24:40 +0200diep(~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c)
2022-08-15 19:25:41 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-08-15 19:46:33 +0200benin0(~benin@183.82.206.125) (Quit: The Lounge - https://thelounge.chat)
2022-08-15 20:32:05 +0200 <zim0369[m]1> <geekosaur> "[ ((0,k),windows $ W.greedyView..." <- not exactly what I'm trying to do
2022-08-15 20:33:23 +0200zim0369[m]1sent a hs code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/3cc62d6066da8a53f6df89ac9ed1ef4db7d9…
2022-08-15 20:33:50 +0200 <zim0369[m]1> but I prolly would have to do something like a nested submap
2022-08-15 20:34:57 +0200 <geekosaur[m]> No, that would replace the existing one since they both bind the same keys
2022-08-15 20:35:27 +0200 <geekosaur[m]> But I guess I don't understand how you're expecting to have both
2022-08-15 20:36:02 +0200 <zim0369[m]1> no I want the last one to be under a "m" submap instead of using shift
2022-08-15 20:36:40 +0200 <zim0369[m]1> `M-o m a` to move a window to workspace 1 and take focus to workspace 1
2022-08-15 20:36:40 +0200 <zim0369[m]1> while `M-o a` to just take focus to workspace 1
2022-08-15 20:36:59 +0200 <geekosaur[m]> Then yes, you need another submap
2022-08-15 20:39:40 +0200zim0369[m]1sent a hs code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/4f1cbbacaabbbc547ad568d5df28052553ba…
2022-08-15 20:42:16 +0200 <geekosaur> no, that's not quite right. the list comprehension produces a complete list, you need to append to it with ++, not just add an item with a comma
2022-08-15 20:42:17 +0200 <zim0369[m]1> or maybe this?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/1ba9aa96cd556474deb78c535aea92f40c4c…)
2022-08-15 20:44:51 +0200 <geekosaur> https://paste.tomsmeding.com/h12iePrn
2022-08-15 20:45:27 +0200 <geekosaur> (I haven't syntax checked that but I think everything matches up)
2022-08-15 20:47:53 +0200 <geekosaur> a comma inside a list comprehension introduces a filter condition, not a new list item
2022-08-15 20:52:02 +0200 <zim0369[m]1> geekosaur: I couldn't quite understand this
2022-08-15 20:52:04 +0200 <zim0369[m]1> but your implementation works flawlessly
2022-08-15 20:52:21 +0200 <zim0369[m]1> I'm rather convinced with the use of `++` and why it didn't come to my mind
2022-08-15 21:04:49 +0200 <zim0369[m]1> but doesn't work
2022-08-15 21:04:50 +0200 <zim0369[m]1> I'm trying to combine this with the previous implementation:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/6ecf610b50f32bbe88849a6b05a602a7c8fe…)
2022-08-15 21:05:51 +0200 <geekosaur> I think you need to pastebin your whole xmonad.hs, or at least the whole keybindings part
2022-08-15 21:07:51 +0200sogens(~sogens@211.30.173.20) (Ping timeout: 252 seconds)
2022-08-15 21:08:32 +0200 <geekosaur> tbh I tried checking it locally and had an unmatched brace somewhere, but I had to make several edits because my workspace list is named differently and I don't have shiftRL
2022-08-15 21:09:55 +0200sogens(~sogens@211.30.156.66)
2022-08-15 21:10:59 +0200 <geekosaur> missed a line when testing in ghci, maybe it's okay as is
2022-08-15 21:11:30 +0200 <zim0369[m]1> https://paste.tomsmeding.com/b5iF3uJf
2022-08-15 21:14:10 +0200 <geekosaur> not sure that would work as written, since additionalKeysP doesn't control the submap you manually created
2022-08-15 21:15:42 +0200 <geekosaur> https://paste.tomsmeding.com/egfv9ETB
2022-08-15 21:16:35 +0200 <geekosaur> you would have to have additionalKeysP create the submaps for you, by defining the keys as e.g. "M-o a"
2022-08-15 21:18:43 +0200 <zim0369[m]1> oh just had to add it inside the submap list
2022-08-15 21:18:47 +0200 <zim0369[m]1> nice
2022-08-15 21:18:48 +0200 <geekosaur> right
2022-08-15 21:19:15 +0200 <zim0369[m]1> sometimes I feel like I get the smartest ideas about/for tiling wms
2022-08-15 21:19:32 +0200isaacthekind[m]uploaded an image: (120KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/NldBAIkawKMgvksDkITlbRQq/image.png >
2022-08-15 21:19:33 +0200 <isaacthekind[m]> sorry to butt in, i have this xmobar config. but no matter what i do to it, it doesn't seem to change, the status bar just always looks the same. tried rebooting, building, recompiling xmonad. not sure what to do. this is my current file:
2022-08-15 21:20:50 +0200 <geekosaur> not sure I can help much since I don't really do xmobar. I think Solid has some clue about this but don't know if he's about
2022-08-15 21:22:32 +0200 <isaacthekind[m]> any chance you wanna show what your status bar looks like? iirc you said you built it just using xmonad?
2022-08-15 21:22:40 +0200 <zim0369[m]1> isaacthekind[m]: why don't u put your xmobar config in .xmobarrc instead?
2022-08-15 21:22:41 +0200 <isaacthekind[m]> and yeah hopefully solid shows up, i'm stuck
2022-08-15 21:22:54 +0200 <isaacthekind[m]> zim0369[m]1: vastly prefer working with haskell
2022-08-15 21:23:15 +0200 <zim0369[m]1> oh
2022-08-15 21:23:43 +0200 <zim0369[m]1> then I can't help with this way of configuring things. I've configured xmobar a lot before with the traditional way.
2022-08-15 21:24:30 +0200 <isaacthekind[m]> that's ok, i am patient, i'll work on xmonad for now
2022-08-15 21:25:22 +0200 <geekosaur> my status bar isn't xmobar
2022-08-15 21:25:51 +0200 <geekosaur> it's mate-panel, using xmonad-log-applet via dbus
2022-08-15 21:28:02 +0200 <geekosaur> I did find Solid's own xmobar config, dunno how much that might help you: https://gitlab.com/slotThe/dotfiles/-/blob/master/xmobar/.config/xmobarrc/src/xmobarrc.hs
2022-08-15 21:32:06 +0200 <geekosaur> you probably want to install it under a name different from "xmobar" so you don't run the standard one with its defaults instead
2022-08-15 21:32:31 +0200 <isaacthekind[m]> could you clarify that last bit
2022-08-15 21:33:03 +0200 <isaacthekind[m]> the file is somewhat helpful, but it's not the haskell syntax part that's weird. it's that i think i'm not calling it properly elsewhere and it's defaulting to whatever the base config is.
2022-08-15 21:33:16 +0200 <isaacthekind[m]> that's at least what it looks like, without knowing what's happening under the hood
2022-08-15 21:33:53 +0200 <geekosaur> right, so when yiou build the xmobar config, are you building it separately like Solid is or are you passing your .hs as a parameter?
2022-08-15 21:35:02 +0200 <isaacthekind[m]> no, i'm doing the first, i didn't realize the second was possible
2022-08-15 21:35:17 +0200 <geekosaur> so what is the name of the result?
2022-08-15 21:35:56 +0200 <isaacthekind[m]> i'm really confused with that kinda stuff. like i don't really understand any of the compilation things, i just know how to write the actual haskell code and run it in a cmd line.
2022-08-15 21:36:02 +0200 <isaacthekind[m]> like what is the "result"
2022-08-15 21:36:27 +0200 <isaacthekind[m]> i can show my basic structure here if that helps.
2022-08-15 21:36:29 +0200 <geekosaur> when you compile a config like this (or an xmonad.hs) it produces an executable
2022-08-15 21:36:54 +0200 <isaacthekind[m]> oh
2022-08-15 21:36:58 +0200 <geekosaur> https://gitlab.com/slotThe/dotfiles/-/blob/master/xmobar/.config/xmobarrc/xmobarrc.cabal <-- Solid calls his "xmobar" and then uses hiw $PATH to make sure the correct "xmobar" is run
2022-08-15 21:37:01 +0200 <isaacthekind[m]> like the executable name specified in the cabal
2022-08-15 21:37:09 +0200 <geekosaur> *his
2022-08-15 21:37:38 +0200 <isaacthekind[m]> mine is "xmobad"
2022-08-15 21:37:49 +0200 <geekosaur> ok, so that shouldn't collide
2022-08-15 21:38:12 +0200isaacthekind[m]uploaded an image: (123KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/LJkqjFyWFUrlzpTVIzAGJpNX/image.png >
2022-08-15 21:38:14 +0200 <isaacthekind[m]> this is my dir structure
2022-08-15 21:38:20 +0200 <isaacthekind[m]> then this is how i call it in xmonad.hs
2022-08-15 21:38:38 +0200isaacthekind[m]uploaded an image: (515KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/JTEKSvsALonfVkTZulZgizDg/image.png >
2022-08-15 21:38:41 +0200 <isaacthekind[m]> code is a bit cluttered atm
2022-08-15 21:39:17 +0200 <geekosaur> directory structure doesn't really matter here, the questions are (a) is it actually getting rebuilt? (b) where is the executable getting put?
2022-08-15 21:40:27 +0200 <isaacthekind[m]> yeah i'm not sure how to approach those questions
2022-08-15 21:40:39 +0200 <isaacthekind[m]> aside from just spending a bunch of time learning cabal (which i do intend to do at some point)
2022-08-15 21:44:46 +0200 <geekosaur> when you make changes to your xmobar.hs, do you do anything else afterward?
2022-08-15 21:45:33 +0200 <isaacthekind[m]> not consistently, cause i can't figure out what works. i've tried building after, installing, updating, recompiling and restarting xmonad
2022-08-15 21:45:38 +0200 <isaacthekind[m]> none of those seemed to do it
2022-08-15 21:45:51 +0200 <geekosaur> "cabal install" in the same directory as your xmobar.hs
2022-08-15 21:46:02 +0200 <geekosaur> (no package name)
2022-08-15 21:48:36 +0200 <geekosaur> after that, presuming you're using `withEasySB`, you press `mod-q` to restart xmonad and xmobar/xmobad
2022-08-15 21:52:03 +0200 <geekosaur> hm, XMonadLog. so you're doing it the old way with a pipe? then `mod-q` should work. but if you're using `withEasySB` you probably aren't using a pipe to communicate with xmobad and things won't work well
2022-08-15 21:53:51 +0200 <isaacthekind[m]> hmm
2022-08-15 21:53:54 +0200 <isaacthekind[m]> no effect
2022-08-15 21:54:18 +0200 <isaacthekind[m]> idx about pipe, i haven't been able to play with it at all yet cause i can't get it to respond to config changes
2022-08-15 21:54:32 +0200 <isaacthekind[m]> s/idx/idk/
2022-08-15 22:04:54 +0200 <isaacthekind[m]> also one separate q wrt xmonad. i notice i have a case where i can use ++ or ^++^, i've never seen the latter before, and i can't find any docs on it. could someone explain what that is
2022-08-15 22:07:40 +0200 <geekosaur> I have no idea, it's not a standard operator or one we define?
2022-08-15 22:08:17 +0200 <isaacthekind[m]> https://github.com/altercation/dotfiles-tilingwm/blob/master/.xmonad/xmonad.hs
2022-08-15 22:08:26 +0200 <isaacthekind[m]> check line 1204
2022-08-15 22:08:37 +0200 <isaacthekind[m]> he uses a bunch of them around there
2022-08-15 22:13:09 +0200 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-NamedActions.html#v:-94…
2022-08-15 22:13:20 +0200 <geekosaur> it apparently combines named keymaps
2022-08-15 22:13:40 +0200 <isaacthekind[m]> ohh i see
2022-08-15 22:13:42 +0200 <geekosaur> (the `Submap "name here" (` things)
2022-08-15 22:14:27 +0200 <isaacthekind[m]> i bet the list it's producing is actually not of the right type when i use the normal concat
2022-08-15 22:14:28 +0200 <isaacthekind[m]> thank you for finding that
2022-08-15 22:14:55 +0200Forkk_(~forkk@li926-228.members.linode.com) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
2022-08-15 22:15:00 +0200 <geekosaur> it's a wrapped list that has to be combined specially, I think
2022-08-15 22:18:05 +0200Forkk(~forkk@li926-228.members.linode.com)
2022-08-15 22:20:50 +0200 <isaacthekind[m]> ok noted
2022-08-15 22:21:35 +0200noex(~null@user/noex)
2022-08-15 22:42:39 +0200logzet(~quassel@2001:9e8:e518:c800:dabb:c1ff:fed3:a1b9) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
2022-08-15 22:58:39 +0200noex(~null@user/noex) (Quit: :q!)
2022-08-15 23:06:07 +0200diep(~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) (Remote host closed the connection)
2022-08-15 23:08:28 +0200 <isaacthekind[m]> Solid: if you're around later today to answer a q or two about using a haskell xmobar config, that would be killer.