2022/08/15

2022-08-15 00:01:25 +0000mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-08-15 00:05:31 +0000 <geekosaur> that implies that xmonad was still running, since the X session would exit when xmonad does
2022-08-15 00:05:40 +0000 <geekosaur> so what's your xmonad.hs?
2022-08-15 00:06:06 +0000vreahli10(~vreahli@2601:647:5700:1380:7900:ab45:4951:dbee) (Ping timeout: 252 seconds)
2022-08-15 00:07:35 +0000 <vreahli> Current xmonad.hs here: https://gist.github.com/vreahli/00231e22e6a65feaa9c4db6c17d25677 (the three lines from the starter tutorial.)
2022-08-15 00:08:15 +0000 <geekosaur> huh. that should not crash. how do you know that the process dies?
2022-08-15 00:08:48 +0000 <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 00:09:11 +0000 <vreahli> I'm not certain the process died, but it's a guess '=D
2022-08-15 00:09:32 +0000 <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 00:09:58 +0000 <geekosaur> what happens if you press alt-shift-return? (make sure xterm is installed)
2022-08-15 00:11:23 +0000vreahli86(~vreahli@2601:647:5700:1380:7900:ab45:4951:dbee)
2022-08-15 00:11:41 +0000 <geekosaur> https://paste.tomsmeding.com/afWxOZ2v
2022-08-15 00:12:13 +0000vreahli(~vreahli@2601:647:5700:1380::59e1) (Quit: Client closed)
2022-08-15 00:13:33 +0000 <vreahli86> Ah - good news - `~/.cache/xmonad/xmonad-x86_64-linux` is alive
2022-08-15 00:14:35 +0000 <vreahli86> alt+shift+enter unfortunately doesn't do anything. FWIW, there's also no cursor present.
2022-08-15 00:15:01 +0000 <geekosaur> that sounds odd
2022-08-15 00:15:11 +0000 <vreahli86> goddangit - alt+shift+enter works! Apologies!
2022-08-15 00:15:28 +0000 <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 00:15:39 +0000 <geekosaur> okay
2022-08-15 00:16:09 +0000 <vreahli86> Yup! Xterm is installed, sorry about that! I kept using i3 shortcuts without thinking about it.
2022-08-15 00:16:45 +0000 <geekosaur> alt-/ shows a cheatsheet if you need a reminder 🙂
2022-08-15 00:16:49 +0000 <vreahli86> Thank you for the help! FWIW I've been stuck on this for a few hours '=D
2022-08-15 00:16:54 +0000 <vreahli86> I will never forget that one :D
2022-08-15 00:17:12 +0000 <geekosaur> sorry alt-shift-/ aka alt-?
2022-08-15 00:17:35 +0000 <vreahli86> It's all good, I got the cheat sheet up :)
2022-08-15 01:04:02 +0000vreahli86(~vreahli@2601:647:5700:1380:7900:ab45:4951:dbee) (Ping timeout: 252 seconds)
2022-08-15 01:12:53 +0000twiclo1(~twiclo@mail.twil.cx)
2022-08-15 01:14:45 +0000 <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 01:20:21 +0000noex(~null@user/noex) (Quit: :q!)
2022-08-15 01:39:12 +0000mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds)
2022-08-15 02:04:23 +0000banc-(banc@gateway/vpn/airvpn/banc) (Ping timeout: 255 seconds)
2022-08-15 02:25:02 +0000banc(banc@gateway/vpn/airvpn/banc)
2022-08-15 02:27:35 +0000td_(~td@94.134.91.250) (Ping timeout: 252 seconds)
2022-08-15 02:29:18 +0000td_(~td@muedsl-82-207-238-255.citykom.de)
2022-08-15 02:51:35 +0000gdd1(~gdd@2001:470:1f13:187:2167:5afb:418e:21fa) (Ping timeout: 268 seconds)
2022-08-15 02:52:11 +0000gdd1(~gdd@2001:470:1f13:187:e8a5:fbff:fe29:42f5)
2022-08-15 02:56:55 +0000rekahsoft(~rekahsoft@bras-base-wdston4533w-grc-02-142-113-160-8.dsl.bell.ca)
2022-08-15 02:56:56 +0000rekahsoft(~rekahsoft@bras-base-wdston4533w-grc-02-142-113-160-8.dsl.bell.ca) (Remote host closed the connection)
2022-08-15 03:01:38 +0000rekahsoft(~rekahsoft@bras-base-wdston4533w-grc-02-142-113-160-8.dsl.bell.ca)
2022-08-15 03:18:24 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 244 seconds)
2022-08-15 03:41:11 +0000mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-08-15 03:55:26 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net)
2022-08-15 03:55:57 +0000trillpoli[m]1(~trillpoli@2001:470:69fc:105::da4e)
2022-08-15 04:52:57 +0000rekahsoft(~rekahsoft@bras-base-wdston4533w-grc-02-142-113-160-8.dsl.bell.ca) (Ping timeout: 244 seconds)
2022-08-15 05:02:03 +0000Florian[m]1(~qe7ftcyrp@2001:470:69fc:105::2:4ea8) (*.net *.split)
2022-08-15 05:02:03 +0000thaumavorio(~thaumavor@thaumavor.io) (*.net *.split)
2022-08-15 05:02:03 +0000burp(~quassel@hedgewars/sysadmin/burp) (*.net *.split)
2022-08-15 05:02:14 +0000burp(~quassel@hedgewars/sysadmin/burp)
2022-08-15 05:03:21 +0000thaumavorio(~thaumavor@thaumavor.io)
2022-08-15 05:06:36 +0000Florian[m]1(~qe7ftcyrp@2001:470:69fc:105::2:4ea8)
2022-08-15 05:13:55 +0000twiclo1(~twiclo@mail.twil.cx) (Ping timeout: 268 seconds)
2022-08-15 05:16:58 +0000Solid[m](~slot-matr@2001:470:69fc:105::1:a84) (*.net *.split)
2022-08-15 05:16:58 +0000Neo[Envs][m](~neovoiden@2001:470:69fc:105::2:b07) (*.net *.split)
2022-08-15 05:16:59 +0000ChaoticMist[m](~gilganixm@2001:470:69fc:105::3d09) (*.net *.split)
2022-08-15 05:16:59 +0000craige[m](~craigemcw@2001:470:69fc:105::35f1) (*.net *.split)
2022-08-15 05:16:59 +0000cdepillabout[m](~cdepillab@2001:470:69fc:105::3d3) (*.net *.split)
2022-08-15 05:16:59 +0000davean(~davean@davean.sciesnet.net) (*.net *.split)
2022-08-15 05:16:59 +0000FatBoyXPC(~FatBoyXPC@user/fatboyxpc) (*.net *.split)
2022-08-15 05:16:59 +0000jsoo(~znc@irc.refl.club) (*.net *.split)
2022-08-15 05:17:53 +0000FatBoyXPC(~FatBoyXPC@user/fatboyxpc)
2022-08-15 05:18:00 +0000cdepillabout[m](~cdepillab@2001:470:69fc:105::3d3)
2022-08-15 05:18:17 +0000jsoo(~znc@irc.refl.club)
2022-08-15 05:18:25 +0000davean(~davean@davean.sciesnet.net)
2022-08-15 05:21:05 +0000Neo[Envs][m](~neovoiden@2001:470:69fc:105::2:b07)
2022-08-15 05:21:29 +0000Solid[m](~slot-matr@2001:470:69fc:105::1:a84)
2022-08-15 05:23:11 +0000ChaoticMist[m](~gilganixm@2001:470:69fc:105::3d09)
2022-08-15 05:23:14 +0000craige[m](~craigemcw@2001:470:69fc:105::35f1)
2022-08-15 05:23:30 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 264 seconds)
2022-08-15 05:54:44 +0000Lears(~Leary]@122-58-224-198-vdsl.sparkbb.co.nz) (Ping timeout: 268 seconds)
2022-08-15 05:59:45 +0000Guest3741(~Guest37@2401:4900:1c21:e9d:ee5:cdce:6440:7ff6)
2022-08-15 06:00:25 +0000Guest3741(~Guest37@2401:4900:1c21:e9d:ee5:cdce:6440:7ff6) (Client Quit)
2022-08-15 06:32:07 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-08-15 06:43:57 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 268 seconds)
2022-08-15 07:42:53 +0000Hash(~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net) (Quit: ZNC - https://znc.in)
2022-08-15 07:50:03 +0000benin0(~benin@183.82.206.125)
2022-08-15 08:03:02 +0000chomwitt(~chomwitt@2a02:587:dc15:5e00:1cf8:31f1:edb9:8492)
2022-08-15 08:41:50 +0000Hash(~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net)
2022-08-15 08:49:41 +0000cfricke(~cfricke@user/cfricke)
2022-08-15 08:58:44 +0000trillpoli[m]1(~trillpoli@2001:470:69fc:105::da4e) ()
2022-08-15 09:47:14 +0000[Leary](~Leary]@122-58-224-198-vdsl.sparkbb.co.nz)
2022-08-15 10:05:27 +0000 <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 10:05:31 +0000 <zim0369[m]1> geekosaur:
2022-08-15 10:08:55 +0000 <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 10:09:35 +0000 <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 10:15:01 +0000 <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 10:16:47 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.6)
2022-08-15 10:17:44 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-08-15 10:22:11 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-08-15 11:06:38 +0000vyorkin[m](~vyorkinma@2001:470:69fc:105::a5e)
2022-08-15 11:27:29 +0000bubbler(~bubbler@2a02:810d:8cc0:3fa0:28f1:2f9d:d0e4:6494) (Quit: WeeChat 3.5)
2022-08-15 11:36:48 +0000dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.6)
2022-08-15 11:39:49 +0000justache(~justache@user/justache)
2022-08-15 12:12:33 +0000zawaken(~zawaken@user/zawaken) (Quit: ZNC 1.9.x-nightly-20220808-32d4a4d5 - https://znc.in)
2022-08-15 12:14:33 +0000justache(~justache@user/justache) (Quit: ZNC 1.8.2 - https://znc.in)
2022-08-15 12:14:41 +0000zawaken(~zawaken@user/zawaken)
2022-08-15 12:15:07 +0000justache(~justache@user/justache)
2022-08-15 12:16:43 +0000Alok[m]uploaded an image: (77KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/QeqHUkwbnDCZotevUNFrvQbJ/image.png >
2022-08-15 12:17:16 +0000 <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 +0000mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 255 seconds)
2022-08-15 12:30:00 +0000 <geekosaur> Alok[m], the application has to do the fullscreening
2022-08-15 12:30:19 +0000 <geekosaur> we could force the window fullscreen but there's no guarantee the app would follow suit
2022-08-15 12:30:32 +0000 <Alok[m]> how does other wms handle this?
2022-08-15 12:30:55 +0000 <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 +0000 <geekosaur> which is not quite the same thing as EWMH fullscreen
2022-08-15 12:35:48 +0000 <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 +0000 <Alok[m]> <geekosaur> "unless you mean switching..." <- I mean overlapping all windows
2022-08-15 12:46:26 +0000 <geekosaur> then you want the Full layout and you want to look at the module I indicated
2022-08-15 12:46:40 +0000 <geekosaur> just don't expect it to behave like pressing F11
2022-08-15 13:17:06 +0000 <geekosaur> zim0369[m]1, didn''t you ask for that code block to do what it currently does?
2022-08-15 13:17:22 +0000 <geekosaur> (which I'm not even sure of, I don't recall shiftRL any more)
2022-08-15 13:20:25 +0000 <geekosaur> [ ((0,k),windows $ W.greedyView i) | (i,k) <- zip myWorkspaces [xK_a .. xK_i] ]
2022-08-15 13:35:49 +0000 <zim0369[m]1> <geekosaur> "zim0369, didn''t you ask for..." <- Umm.. Yea.. But
2022-08-15 13:36:09 +0000 <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 13:36:11 +0000 <lambdabot> <hint>:1:1: error: parse error on input ‘<@’
2022-08-15 13:36:32 +0000 <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 +0000 <geekosaur> MultiToggle is the same as Toggle but harder to use because it supports multiple toggles
2022-08-15 13:37:05 +0000 <geekosaur> I pointed to single-toggle, which is simpler
2022-08-15 13:37:53 +0000 <geekosaur> zim0369[m]1, so I gave you a replacement list comprehension that does what you want
2022-08-15 14:24:41 +0000Alok[m]uploaded an image: (7KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/ykeJvDOgLGwtaaZaPEQTMVrg/image.png >
2022-08-15 14:25:50 +0000 <Alok[m]> is it correct?
2022-08-15 14:27:32 +0000 <geekosaur> presuming you also have the layout part to receive the message, yes
2022-08-15 14:28:12 +0000 <geekosaur> myLayout = toggleLayout Full $ (rest of your layout here)
2022-08-15 14:28:30 +0000 <geekosaur> or however you have your layouts set up
2022-08-15 14:34:13 +0000 <Alok[m]> <geekosaur> "myLayout = toggleLayout Full..." <- what is `toggleLayout Full`?
2022-08-15 14:34:27 +0000Alok[m]uploaded an image: (77KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/HsxrbLEXMLcGaQVhQqVWcegK/image.png >
2022-08-15 14:34:29 +0000 <Alok[m]> I have it like this
2022-08-15 14:34:48 +0000 <Alok[m]> <geekosaur> "presuming you also have the..." <- ummm no probably
2022-08-15 14:36:40 +0000 <geekosaur[m]> Sorry I'll have to get back to my desktop first
2022-08-15 14:38:32 +0000 <geekosaur[m]> But `toggleLayout Full` is the part you need for the message to work
2022-08-15 14:43:54 +0000 <Alok[m]> <geekosaur[m]> "But `toggleLayout Full` is the..." <- I can't find what `toggleLayout` is
2022-08-15 14:44:14 +0000 <Alok[m]> I have imported that package though
2022-08-15 14:44:28 +0000 <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 +0000 <geekosaur> it shows how to use it
2022-08-15 14:44:55 +0000 <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 +0000 <geekosaur> `myLayout = smartBorders $ toggleLayout Full $ tiled ||| Mirror tiled ||| Full`
2022-08-15 14:46:11 +0000 <geekosaur> (leave the following `where` clause as is)
2022-08-15 14:49:47 +0000 <Alok[m]> geekosaur: there's no variable `toggleLayout`
2022-08-15 14:49:56 +0000 <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 +0000Alok[m]uploaded an image: (12KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/mhxCMfNLTPSInwYMDzIOGJgn/image.png >
2022-08-15 14:50:00 +0000justache(~justache@user/justache) (Remote host closed the connection)
2022-08-15 14:50:01 +0000Alok[m]uploaded an image: (70KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/OrBPEusXEXlhTCzIjgWtbBEF/image.png >
2022-08-15 14:50:13 +0000justache(~justache@user/justache)
2022-08-15 14:50:21 +0000 <geekosaur> sorry, it's `toggleLayouts`
2022-08-15 14:50:31 +0000 <Alok[m]> geekosaur: oh ok sorry
2022-08-15 14:50:43 +0000 <geekosaur> exampple from the webpage
2022-08-15 14:50:45 +0000 <geekosaur> myLayout = toggleLayouts Full (Tall 1 (3/100) (1/2)) ||| etc..
2022-08-15 14:50:45 +0000 <geekosaur> main = xmonad def { layoutHook = myLayout }
2022-08-15 14:51:01 +0000 <geekosaur> because it could be more than one conceivably
2022-08-15 14:51:13 +0000 <geekosaur> using ||| to separate them just as with the main layout
2022-08-15 14:51:23 +0000 <Alok[m]> yes, I did exactly the same
2022-08-15 14:51:41 +0000 <Alok[m]> Should I send full config?
2022-08-15 14:54:30 +0000 <geekosaur> and error message if any, yes
2022-08-15 14:54:30 +0000 <Alok[m]> ok it changes layout, but nothing happens to the windows lol
2022-08-15 14:55:03 +0000 <geekosaur> how do you know it changed layout if nothing happens to the windows?
2022-08-15 14:55:20 +0000 <Alok[m]> I am expecting the current window to go full screen
2022-08-15 14:55:37 +0000 <Alok[m]> I'm not sure if I am doing the right thing
2022-08-15 14:55:37 +0000 <Alok[m]> with bar hidden and no space on edges
2022-08-15 14:56:10 +0000 <Alok[m]> * full screen, when theres a single window
2022-08-15 14:56:59 +0000 <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 +0000 <geekosaur> yes, you need to add something for the bar to toggle off because that's separate
2022-08-15 14:57:58 +0000 <geekosaur> where is `avoidStruts` in your config?
2022-08-15 14:58:30 +0000 <geekosaur> I suspect you have `layout = avoidStruts myLayout` somewhere?
2022-08-15 15:01:04 +0000 <Alok[m]> there's no avoidStruts
2022-08-15 15:01:36 +0000 <Alok[m]> https://batbin.me/unthorny
2022-08-15 15:02:51 +0000 <geekosaur> huh. I wonder how the bar is visible at all, then. must be on top instead of below
2022-08-15 15:03:43 +0000 <geekosaur> (which means it's overlapping windows instead of displaying below/above them)
2022-08-15 15:03:44 +0000 <geekosaur> do you have an xmobar config?
2022-08-15 15:04:39 +0000 <geekosaur> `myLayout = smartBorders $ toggleLayouts Full $ avoidStruts $ tiled ||| Mirror tiled ||| Full`
2022-08-15 15:04:50 +0000 <geekosaur> and make sure xmobar is set with `lowerOnStart = True`
2022-08-15 15:05:19 +0000 <Alok[m]> geekosaur: it was on top, I changed it to below lol. I was following official xmonad tutorial
2022-08-15 15:05:30 +0000 <Alok[m]> geekosaur: Ye, lemme send
2022-08-15 15:05:56 +0000 <geekosaur> not lower as in bottom of the screen, lower as in "below all other windows"
2022-08-15 15:06:10 +0000 <geekosaur> instead of overlapping them because it's over them
2022-08-15 15:06:56 +0000 <Alok[m]> https://batbin.me/overurbanization
2022-08-15 15:07:09 +0000 <Alok[m]> geekosaur: oh no
2022-08-15 15:07:43 +0000 <Alok[m]> sometimes it is above them sometimes below, idk how but yeah I've noticed that too
2022-08-15 15:12:33 +0000 <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 15:13:18 +0000 <geekosaur> and the modified `myLayout` aith `avoidStruts` should stop it from overlapping when `Full` is toggled on, once `lowerOnStart` is set
2022-08-15 15:17:06 +0000 <Alok[m]> how to fix ;(
2022-08-15 15:17:36 +0000 <geekosaur> ?
2022-08-15 15:17:44 +0000 <geekosaur> didn't I just tell you?
2022-08-15 15:19:12 +0000 <geekosaur> first, edit your xmobar config and add `, lowerOnStart = True` to it, just after the first line
2022-08-15 15:19:39 +0000 <geekosaur> second, change your xmonad config the way I said earlier
2022-08-15 15:19:49 +0000 <geekosaur> [15 15:04:38] <geekosaur> `myLayout = smartBorders $ toggleLayouts Full $ avoidStruts $ tiled ||| Mirror tiled ||| Full`
2022-08-15 15:31:26 +0000catman(~catman@user/catman) (Quit: WeeChat 3.6)
2022-08-15 15:34:34 +0000catman(~catman@user/catman)
2022-08-15 15:47:47 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 248 seconds)
2022-08-15 15:51:35 +0000cfricke(~cfricke@user/cfricke)
2022-08-15 15:53:59 +0000logzet(~quassel@2001:9e8:e518:c800:dabb:c1ff:fed3:a1b9)
2022-08-15 15:57:20 +0000catman(~catman@user/catman) (Quit: WeeChat 3.6)
2022-08-15 15:59:51 +0000catman(~catman@user/catman)
2022-08-15 16:04:11 +0000cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.6)
2022-08-15 16:31:05 +0000chomwitt(~chomwitt@2a02:587:dc15:5e00:1cf8:31f1:edb9:8492) (Ping timeout: 255 seconds)
2022-08-15 16:46:48 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net)
2022-08-15 17:16:42 +0000chomwitt(~chomwitt@2a02:587:dc15:5e00:ece7:3fb3:7c32:eccf)
2022-08-15 17:24:40 +0000diep(~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c)
2022-08-15 17:25:41 +0000mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-08-15 17:46:33 +0000benin0(~benin@183.82.206.125) (Quit: The Lounge - https://thelounge.chat)
2022-08-15 18:32:05 +0000 <zim0369[m]1> <geekosaur> "[ ((0,k),windows $ W.greedyView..." <- not exactly what I'm trying to do
2022-08-15 18:33:23 +0000zim0369[m]1sent a hs code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/3cc62d6066da8a53f6df89ac9ed1ef4db7d9…
2022-08-15 18:33:50 +0000 <zim0369[m]1> but I prolly would have to do something like a nested submap
2022-08-15 18:34:57 +0000 <geekosaur[m]> No, that would replace the existing one since they both bind the same keys
2022-08-15 18:35:27 +0000 <geekosaur[m]> But I guess I don't understand how you're expecting to have both
2022-08-15 18:36:02 +0000 <zim0369[m]1> no I want the last one to be under a "m" submap instead of using shift
2022-08-15 18:36:40 +0000 <zim0369[m]1> `M-o m a` to move a window to workspace 1 and take focus to workspace 1
2022-08-15 18:36:40 +0000 <zim0369[m]1> while `M-o a` to just take focus to workspace 1
2022-08-15 18:36:59 +0000 <geekosaur[m]> Then yes, you need another submap
2022-08-15 18:39:40 +0000zim0369[m]1sent a hs code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/4f1cbbacaabbbc547ad568d5df28052553ba…
2022-08-15 18:42:16 +0000 <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 18:42:17 +0000 <zim0369[m]1> or maybe this?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/1ba9aa96cd556474deb78c535aea92f40c4c…)
2022-08-15 18:44:51 +0000 <geekosaur> https://paste.tomsmeding.com/h12iePrn
2022-08-15 18:45:27 +0000 <geekosaur> (I haven't syntax checked that but I think everything matches up)
2022-08-15 18:47:53 +0000 <geekosaur> a comma inside a list comprehension introduces a filter condition, not a new list item
2022-08-15 18:52:02 +0000 <zim0369[m]1> geekosaur: I couldn't quite understand this
2022-08-15 18:52:04 +0000 <zim0369[m]1> but your implementation works flawlessly
2022-08-15 18:52:21 +0000 <zim0369[m]1> I'm rather convinced with the use of `++` and why it didn't come to my mind
2022-08-15 19:04:49 +0000 <zim0369[m]1> but doesn't work
2022-08-15 19:04:50 +0000 <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 19:05:51 +0000 <geekosaur> I think you need to pastebin your whole xmonad.hs, or at least the whole keybindings part
2022-08-15 19:07:51 +0000sogens(~sogens@211.30.173.20) (Ping timeout: 252 seconds)
2022-08-15 19:08:32 +0000 <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 19:09:55 +0000sogens(~sogens@211.30.156.66)
2022-08-15 19:10:59 +0000 <geekosaur> missed a line when testing in ghci, maybe it's okay as is
2022-08-15 19:11:30 +0000 <zim0369[m]1> https://paste.tomsmeding.com/b5iF3uJf
2022-08-15 19:14:10 +0000 <geekosaur> not sure that would work as written, since additionalKeysP doesn't control the submap you manually created
2022-08-15 19:15:42 +0000 <geekosaur> https://paste.tomsmeding.com/egfv9ETB
2022-08-15 19:16:35 +0000 <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 19:18:43 +0000 <zim0369[m]1> oh just had to add it inside the submap list
2022-08-15 19:18:47 +0000 <zim0369[m]1> nice
2022-08-15 19:18:48 +0000 <geekosaur> right
2022-08-15 19:19:15 +0000 <zim0369[m]1> sometimes I feel like I get the smartest ideas about/for tiling wms
2022-08-15 19:19:32 +0000isaacthekind[m]uploaded an image: (120KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/NldBAIkawKMgvksDkITlbRQq/image.png >
2022-08-15 19:19:33 +0000 <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 19:20:50 +0000 <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 19:22:32 +0000 <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 19:22:40 +0000 <zim0369[m]1> isaacthekind[m]: why don't u put your xmobar config in .xmobarrc instead?
2022-08-15 19:22:41 +0000 <isaacthekind[m]> and yeah hopefully solid shows up, i'm stuck
2022-08-15 19:22:54 +0000 <isaacthekind[m]> zim0369[m]1: vastly prefer working with haskell
2022-08-15 19:23:15 +0000 <zim0369[m]1> oh
2022-08-15 19:23:43 +0000 <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 19:24:30 +0000 <isaacthekind[m]> that's ok, i am patient, i'll work on xmonad for now
2022-08-15 19:25:22 +0000 <geekosaur> my status bar isn't xmobar
2022-08-15 19:25:51 +0000 <geekosaur> it's mate-panel, using xmonad-log-applet via dbus
2022-08-15 19:28:02 +0000 <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 19:32:06 +0000 <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 19:32:31 +0000 <isaacthekind[m]> could you clarify that last bit
2022-08-15 19:33:03 +0000 <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 19:33:16 +0000 <isaacthekind[m]> that's at least what it looks like, without knowing what's happening under the hood
2022-08-15 19:33:53 +0000 <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 19:35:02 +0000 <isaacthekind[m]> no, i'm doing the first, i didn't realize the second was possible
2022-08-15 19:35:17 +0000 <geekosaur> so what is the name of the result?
2022-08-15 19:35:56 +0000 <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 19:36:02 +0000 <isaacthekind[m]> like what is the "result"
2022-08-15 19:36:27 +0000 <isaacthekind[m]> i can show my basic structure here if that helps.
2022-08-15 19:36:29 +0000 <geekosaur> when you compile a config like this (or an xmonad.hs) it produces an executable
2022-08-15 19:36:54 +0000 <isaacthekind[m]> oh
2022-08-15 19:36:58 +0000 <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 19:37:01 +0000 <isaacthekind[m]> like the executable name specified in the cabal
2022-08-15 19:37:09 +0000 <geekosaur> *his
2022-08-15 19:37:38 +0000 <isaacthekind[m]> mine is "xmobad"
2022-08-15 19:37:49 +0000 <geekosaur> ok, so that shouldn't collide
2022-08-15 19:38:12 +0000isaacthekind[m]uploaded an image: (123KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/LJkqjFyWFUrlzpTVIzAGJpNX/image.png >
2022-08-15 19:38:14 +0000 <isaacthekind[m]> this is my dir structure
2022-08-15 19:38:20 +0000 <isaacthekind[m]> then this is how i call it in xmonad.hs
2022-08-15 19:38:38 +0000isaacthekind[m]uploaded an image: (515KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/JTEKSvsALonfVkTZulZgizDg/image.png >
2022-08-15 19:38:41 +0000 <isaacthekind[m]> code is a bit cluttered atm
2022-08-15 19:39:17 +0000 <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 19:40:27 +0000 <isaacthekind[m]> yeah i'm not sure how to approach those questions
2022-08-15 19:40:39 +0000 <isaacthekind[m]> aside from just spending a bunch of time learning cabal (which i do intend to do at some point)
2022-08-15 19:44:46 +0000 <geekosaur> when you make changes to your xmobar.hs, do you do anything else afterward?
2022-08-15 19:45:33 +0000 <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 19:45:38 +0000 <isaacthekind[m]> none of those seemed to do it
2022-08-15 19:45:51 +0000 <geekosaur> "cabal install" in the same directory as your xmobar.hs
2022-08-15 19:46:02 +0000 <geekosaur> (no package name)
2022-08-15 19:48:36 +0000 <geekosaur> after that, presuming you're using `withEasySB`, you press `mod-q` to restart xmonad and xmobar/xmobad
2022-08-15 19:52:03 +0000 <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 19:53:51 +0000 <isaacthekind[m]> hmm
2022-08-15 19:53:54 +0000 <isaacthekind[m]> no effect
2022-08-15 19:54:18 +0000 <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 19:54:32 +0000 <isaacthekind[m]> s/idx/idk/
2022-08-15 20:04:54 +0000 <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 20:07:40 +0000 <geekosaur> I have no idea, it's not a standard operator or one we define?
2022-08-15 20:08:17 +0000 <isaacthekind[m]> https://github.com/altercation/dotfiles-tilingwm/blob/master/.xmonad/xmonad.hs
2022-08-15 20:08:26 +0000 <isaacthekind[m]> check line 1204
2022-08-15 20:08:37 +0000 <isaacthekind[m]> he uses a bunch of them around there
2022-08-15 20:13:09 +0000 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-NamedActions.html#v:-94…
2022-08-15 20:13:20 +0000 <geekosaur> it apparently combines named keymaps
2022-08-15 20:13:40 +0000 <isaacthekind[m]> ohh i see
2022-08-15 20:13:42 +0000 <geekosaur> (the `Submap "name here" (` things)
2022-08-15 20:14:27 +0000 <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 20:14:28 +0000 <isaacthekind[m]> thank you for finding that
2022-08-15 20:14:55 +0000Forkk_(~forkk@li926-228.members.linode.com) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
2022-08-15 20:15:00 +0000 <geekosaur> it's a wrapped list that has to be combined specially, I think
2022-08-15 20:18:05 +0000Forkk(~forkk@li926-228.members.linode.com)
2022-08-15 20:20:50 +0000 <isaacthekind[m]> ok noted
2022-08-15 20:21:35 +0000noex(~null@user/noex)
2022-08-15 20:42:39 +0000logzet(~quassel@2001:9e8:e518:c800:dabb:c1ff:fed3:a1b9) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
2022-08-15 20:58:39 +0000noex(~null@user/noex) (Quit: :q!)
2022-08-15 21:06:07 +0000diep(~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) (Remote host closed the connection)
2022-08-15 21:08:28 +0000 <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.
2022-08-15 22:16:33 +0000sagax(~sagax_nb@user/sagax)
2022-08-15 22:39:31 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 248 seconds)
2022-08-15 22:46:50 +0000noex(~null@user/noex)
2022-08-15 22:50:26 +0000h7x4[m](~h7x4naniw@2001:470:69fc:105::1:f33d)
2022-08-15 23:25:47 +0000noex(~null@user/noex) (Quit: :q!)
2022-08-15 23:57:28 +0000tikosh(~tikosh@2601:201:301:c5e0::a254)
2022-08-15 23:58:43 +0000 <tikosh> I attempt to have three instances of xmobar on my xmonad system. but every time I compile i get variable not in scope xmproc
2022-08-15 23:59:11 +0000 <tikosh> I feel like an idiot sometimes interacting to make haskell code especially as a novice