2023/02/08

2023-02-08 00:06:47 +0100mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2023-02-08 00:52:19 +0100gauge_gauge
2023-02-08 01:29:49 +0100patrl(~patrl@user/patrl) (Quit: WeeChat 3.8)
2023-02-08 02:52:55 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-02-08 03:33:26 +0100 <ectospasm> I finally fixed my DisplayLink setup in X.org, and I'm trying to resurrect my multiheaded setup in XMonad. Here is what I have so far: https://git.eldon.me/trey/XMonad/src/branch/multiheaded-fixup/xmonad.hs
2023-02-08 03:33:41 +0100unclechu(~unclechu@2001:470:69fc:105::354)
2023-02-08 03:34:09 +0100 <ectospasm> I had this working some time ago, but hadn't really played with it in years (ever since the evdi DisplayLink kernel driver was so far behind the current stable Linux kernel).
2023-02-08 03:34:25 +0100 <ectospasm> Now I've finally fixed that problem, and I'd like to revamp my multiheaded setup.
2023-02-08 03:34:52 +0100 <ectospasm> I usually run this laptop in single-screen mode, and I'd like to keep that part functioning.
2023-02-08 03:35:23 +0100 <ectospasm> My current issues: I can't remember how to set up workspaces for multiple screens (I have comments and the vestiges of my previous setup)
2023-02-08 03:36:06 +0100 <ectospasm> I also have a big gap at the bottom for some conky CLI system view stuff. I only want that on my primary laptop monitor, don't know where to start to eliminate these gaps on the external monitors.
2023-02-08 03:36:31 +0100 <ectospasm> The main issue is the workspaces for now. I found this: https://www.reddit.com/r/xmonad/comments/o0drvz/multiple_workspace_swap_for_multiple_monitors/
2023-02-08 03:37:11 +0100 <ectospasm> But that is using an XMonad.Actions package I haven't yet used (I've just imported it without using it in my current working branch)
2023-02-08 03:38:36 +0100 <ectospasm> My first order of business is to move my workspace named "shell" to monitor 2 (which I believe is the one physically to the right of the primary laptop screen).
2023-02-08 03:41:54 +0100 <ectospasm> I admit, my Haskell is always perennially rusty, if it's any good at all. I did manage to write that activateMyTerminal function, but it's probably not the greatest way to do that.
2023-02-08 03:42:25 +0100 <ectospasm> wrote it yesterday*
2023-02-08 04:03:07 +0100banc(banc@gateway/vpn/protonvpn/banc) (Ping timeout: 248 seconds)
2023-02-08 04:20:51 +0100banc(banc@gateway/vpn/protonvpn/banc)
2023-02-08 04:41:11 +0100terrorjack(~terrorjac@2a01:4f8:1c1e:4e8c::) (Quit: The Lounge - https://thelounge.chat)
2023-02-08 04:43:27 +0100terrorjack(~terrorjac@2a01:4f8:1c1e:4e8c::)
2023-02-08 04:50:11 +0100beastwick(~beastwick@pool-74-102-103-88.nwrknj.fios.verizon.net)
2023-02-08 04:52:03 +0100 <beastwick> hello all, I am working with Dynamic Workspaces in addition to the 1 - 9 default spaces. Is it possible to manually set a newly created workspace's index? Basically I would like to create/add a new named space and set that workspace's index to say 1, so I can use a hotkey to jump to it.
2023-02-08 04:52:25 +0100 <beastwick> I don't mind if the original "1" workspace loses its associated hotkey.
2023-02-08 05:01:54 +0100td_(~td@i5387092C.versanet.de) (Ping timeout: 260 seconds)
2023-02-08 05:03:38 +0100td_(~td@i53870902.versanet.de)
2023-02-08 05:40:56 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net)
2023-02-08 05:41:30 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net) (Client Quit)
2023-02-08 05:52:37 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net)
2023-02-08 05:53:04 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net) (Client Quit)
2023-02-08 05:55:00 +0100 <ectospasm> I'm not sure about assigning numbers to workspaces, all of my workspaces are named. They're dynamic, but I rarely ever delete or add any.
2023-02-08 05:55:51 +0100 <ectospasm> I also just switch to them by name, rather than hotkey.
2023-02-08 06:46:43 +0100[Leary](~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
2023-02-08 06:48:09 +0100[Leary](~Leary]@user/Leary/x-0910699)
2023-02-08 07:28:42 +0100 <galactic_starfis> <[Leary]> "vents into sequences of model..." <- sounds epic
2023-02-08 07:29:44 +0100 <galactic_starfis> ectospasm and beastwick, I also am interested in what you're after, I'll get back to you if I figure that out
2023-02-08 07:36:42 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds)
2023-02-08 08:18:01 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 268 seconds)
2023-02-08 08:19:30 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-02-08 09:25:25 +0100yosafbridge(~yosafbrid@static.38.6.217.95.clients.your-server.de) (Quit: Leaving)
2023-02-08 09:33:31 +0100yosafbridge(~yosafbrid@static.38.6.217.95.clients.your-server.de)
2023-02-08 09:34:39 +0100xacktm(~xacktm@user/xacktm) (Ping timeout: 260 seconds)
2023-02-08 09:41:03 +0100xacktm(~xacktm@user/xacktm)
2023-02-08 09:49:33 +0100cfricke(~cfricke@user/cfricke)
2023-02-08 09:56:31 +0100ft(~ft@p508dbcc4.dip0.t-ipconnect.de) (Quit: leaving)
2023-02-08 10:58:40 +0100jludwig(~justin@li657-110.members.linode.com) (Read error: Connection reset by peer)
2023-02-08 11:01:12 +0100jludwig(~justin@li657-110.members.linode.com)
2023-02-08 11:10:53 +0100jludwig(~justin@li657-110.members.linode.com) (Quit: ZNC - https://znc.in)
2023-02-08 11:11:55 +0100jludwig(~justin@li657-110.members.linode.com)
2023-02-08 11:15:16 +0100jludwig(~justin@li657-110.members.linode.com) (Client Quit)
2023-02-08 11:23:28 +0100mc47(~mc47@xmonad/TheMC47)
2023-02-08 11:23:48 +0100themc47(~mc47@xmonad/TheMC47)
2023-02-08 11:23:59 +0100themc47(~mc47@xmonad/TheMC47) (Client Quit)
2023-02-08 12:16:20 +0100jludwig(~justin@li657-110.members.linode.com)
2023-02-08 13:13:36 +0100jludwig(~justin@li657-110.members.linode.com) (Quit: ZNC - https://znc.in)
2023-02-08 13:52:58 +0100jludwig(~justin@li657-110.members.linode.com)
2023-02-08 14:28:10 +0100 <geekosaur> re workspaces, you would have to rename the existing workspace before you could rename your new one. see https://hackage.haskell.org/package/xmonad-0.17.1/docs/XMonad-StackSet.html#v:renameTag
2023-02-08 14:33:56 +0100 <geekosaur> (workspace "numbers" are just default names; nothing special. I don't even use them, I provide names for all my workspaces)
2023-02-08 15:55:24 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2023-02-08 17:00:12 +0100unclechu(~unclechu@2001:470:69fc:105::354) (Quit: You have been kicked for being idle)
2023-02-08 18:02:02 +0100patrl(~patrl@user/patrl)
2023-02-08 18:02:07 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
2023-02-08 18:12:14 +0100 <beastwick> galactic_starfish, taking a break from figuring that out, trying to not pay attention to indices atm - sort of driving my self nuts that way, but it is something I will look into again soon, so i'll keep you updated. So far go to empty/move to empty and listing all open windows is helping a lot
2023-02-08 18:12:39 +0100unclechu(~unclechu@2001:470:69fc:105::354)
2023-02-08 18:33:41 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net)
2023-02-08 18:40:23 +0100cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.8)
2023-02-08 18:58:22 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net) (Remote host closed the connection)
2023-02-08 19:02:01 +0100patrl(~patrl@user/patrl) (Quit: WeeChat 3.8)
2023-02-08 19:08:20 +0100jeeeun(~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
2023-02-08 19:11:57 +0100jeeeun(~jeeeun@78.40.148.178)
2023-02-08 19:30:02 +0100 <beastwick> actually, I do need some help, actual haskell here
2023-02-08 19:30:07 +0100 <beastwick> since i'm not very good
2023-02-08 19:30:28 +0100 <beastwick> in additionalKeysP, I am trying to do something like: , ("M-C-" ++ [n], setWorkspaceIndex [n] | n <- ['1'..'9'])
2023-02-08 19:30:48 +0100 <beastwick> i want to create a keybind for 1-9 to set the workspace index, any ideas?
2023-02-08 19:31:02 +0100 <beastwick> error: parse error on input `|`
2023-02-08 19:31:49 +0100 <geekosaur> you can't do it that way; a list comprehension is a separate list, not something you can embed in an existing one
2023-02-08 19:33:02 +0100 <beastwick> ah is there where a ++ [] comes in handy?
2023-02-08 19:33:04 +0100 <geekosaur> `++ [ ("M-C-" ++ [n], setWorkspaceIndex [n] | n <- ['1'..'9'] ]`
2023-02-08 19:33:21 +0100 <beastwick> this*, lol 'there where'
2023-02-08 19:33:42 +0100 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L258-L265 is another example
2023-02-08 19:34:59 +0100 <beastwick> hmm it still doesn't like the where |
2023-02-08 19:35:06 +0100 <beastwick> xmonad.hs:68:43: error: parse error on input `|`
2023-02-08 19:35:45 +0100 <geekosaur> @where paste
2023-02-08 19:35:45 +0100 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2023-02-08 19:36:30 +0100 <beastwick> https://paste.tomsmeding.com/04jXdsh1
2023-02-08 19:37:07 +0100 <geekosaur> you're missing the closing parenthesis on the tuple
2023-02-08 19:37:27 +0100 <geekosaur> oh, because I dropped it in mine, sorry
2023-02-08 19:37:32 +0100 <beastwick> that's ok
2023-02-08 19:37:35 +0100 <geekosaur> `++ [ ("M-C-" ++ [n], setWorkspaceIndex [n]) | n <- ['1'..'9'] ]`
2023-02-08 19:37:42 +0100 <beastwick> ty :) let me try
2023-02-08 19:39:19 +0100 <beastwick> ouch it really didn't like that, https://paste.tomsmeding.com/9lnVeHoJ
2023-02-08 19:39:29 +0100 <beastwick> yeah this is a bit beyond me now, type error looks like
2023-02-08 19:40:51 +0100 <geekosaur> yeh, you need extra parentheses like mine has (the github paste) so it appends to the list passed to `additionalKeysP` instead of trying to append to your config
2023-02-08 19:41:43 +0100 <geekosaur> in mine, the open paren is on line 203 and the close paren on line 265
2023-02-08 19:46:40 +0100 <geekosaur> I think we've talked about changing the precedence of `additionalKeysP`, but never actually did it
2023-02-08 19:50:06 +0100Yeuuuuuuu[m]qzedcvfe[m]
2023-02-08 19:54:50 +0100ft(~ft@p508dbcc4.dip0.t-ipconnect.de)
2023-02-08 20:05:41 +0100 <beastwick> ok, i'll review your gist
2023-02-08 20:11:52 +0100 <geekosaur> liskin, Solid, mc47: at one point we discussed dropping the precedence of infix `additionalKeysP` and friends to 4. does anyone recall why we didn't?
2023-02-08 20:24:28 +0100rekahsoft(~rekahsoft@bras-base-orllon1122w-grc-05-174-88-194-86.dsl.bell.ca)
2023-02-08 20:24:35 +0100rekahsoft(~rekahsoft@bras-base-orllon1122w-grc-05-174-88-194-86.dsl.bell.ca) (Remote host closed the connection)
2023-02-08 20:29:11 +0100rekahsoft(~rekahsoft@bras-base-orllon1122w-grc-05-174-88-194-86.dsl.bell.ca)
2023-02-08 20:30:03 +0100 <geekosaur> nothing in issues or PRs about it, unfortunately; I think we only discussed it in here
2023-02-08 20:31:40 +0100 <geekosaur> found discussion in my log, we concluded about what I just said and then did nothing about it
2023-02-08 20:33:31 +0100rekahsoft(~rekahsoft@bras-base-orllon1122w-grc-05-174-88-194-86.dsl.bell.ca) (Ping timeout: 248 seconds)
2023-02-08 20:39:33 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net)
2023-02-08 20:42:55 +0100 <beastwick> geekosaur, this compiles, but it seems to not have any effect https://paste.tomsmeding.com/DlBbEFKU
2023-02-08 20:43:14 +0100 <beastwick> pressing M-C-1..9 doesn't change the workspace index
2023-02-08 20:43:18 +0100 <geekosaur> on the phone, will have to wait a bit, sorry
2023-02-08 20:43:22 +0100 <beastwick> np
2023-02-08 20:48:16 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net) (Quit: ERC 5.4 (IRC client for GNU Emacs 28.1))
2023-02-08 20:48:50 +0100kayvank(~user@52-119-115-185.public.monkeybrains.net)
2023-02-08 20:50:18 +0100werneta(~werneta@137.79.219.74)
2023-02-08 20:53:34 +0100kayvank(~user@52-119-115-185.public.monkeybrains.net) (Client Quit)
2023-02-08 20:54:00 +0100 <geekosaur> okay, that's going to run once for each combination of tag and index
2023-02-08 20:54:55 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net)
2023-02-08 20:55:19 +0100 <geekosaur> you probably need something like: `[("M-C-" ++ show x, setWorkspaceIndex x) | x <- [1..9]]`
2023-02-08 20:55:20 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net) (Client Quit)
2023-02-08 20:55:49 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net)
2023-02-08 20:56:04 +0100 <beastwick> using this as ref `removeKeysP` ["M-S-" ++ [n] | n <- ['1'..'9']]
2023-02-08 21:00:10 +0100 <geekosaur[m]> > [(n,x) | n <- ['1'..'9'], x <- [1..9]]
2023-02-08 21:00:12 +0100 <lambdabot> [('1',1),('1',2),('1',3),('1',4),('1',5),('1',6),('1',7),('1',8),('1',9),('2...
2023-02-08 21:01:19 +0100 <beastwick> oh what
2023-02-08 21:01:28 +0100 <beastwick> the first element in the pair should increment no?
2023-02-08 21:02:01 +0100 <geekosaur[m]> Cartesian product
2023-02-08 21:02:14 +0100 <beastwick> > [(n,x) | n <- [1..9], x <- [1..9]]
2023-02-08 21:02:15 +0100 <lambdabot> [(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9),(2,1),(2,2),(2,3),(2,...
2023-02-08 21:02:20 +0100 <beastwick> oh it is
2023-02-08 21:02:30 +0100 <beastwick> oh I see why what I did is bad
2023-02-08 21:03:04 +0100 <beastwick> however, it still has no effect lol
2023-02-08 21:03:47 +0100 <beastwick> I did not convert this, as I saw no need since my default keybinds of 1 - 9 are setup, would this be part of the prob? zip (zip (repeat (modm)) [xK_1..xK_9]) (map (withWorkspaceIndex W.greedyView) [1..]) This is from the DynamicWorkspaces module
2023-02-08 21:04:03 +0100 <beastwick> not sure why I would need to do that
2023-02-08 21:05:39 +0100 <geekosaur> that just changes the default keybinds to go by your assigned workspace index instead of by the order of workspaces in `workspaces`. you may want it, yes
2023-02-08 21:06:20 +0100 <beastwick> that looks a bit tougher to convert to additionalKeysP, but i'll try
2023-02-08 21:09:08 +0100 <geekosaur> second `zip` becomes `map (("M-" ++) . show . subtract 48`, I think
2023-02-08 21:09:22 +0100 <beastwick> [("M-" ++ show x, withWorkspaceIndex W.greedyView x) | x <- [1..9]])
2023-02-08 21:09:22 +0100 <geekosaur> wait, dropped a close paren
2023-02-08 21:09:27 +0100 <geekosaur> second `zip` becomes `map (("M-" ++) . show . subtract 48)`, I think
2023-02-08 21:10:32 +0100 <beastwick> ok my M-<1-9> keys seem to not work now, I think I need to unbind the originals
2023-02-08 21:10:44 +0100 <geekosaur> this should replace them
2023-02-08 21:12:09 +0100 <mc47> geekosaur: I don't recall that
2023-02-08 21:13:51 +0100 <geekosaur> I apparently only discussed it with Solid in channel
2023-02-08 21:14:33 +0100 <geekosaur> https://paste.tomsmeding.com/X8KYGl28
2023-02-08 21:20:03 +0100 <beastwick> geekosaur, ok removing the original binds, and including the new binds works, but it seems like I need to manually set each workspace to an index
2023-02-08 21:23:34 +0100 <beastwick> this is the working config https://paste.tomsmeding.com/aONGGndu
2023-02-08 21:23:39 +0100 <beastwick> awesome
2023-02-08 21:24:28 +0100 <geekosaur> well yes, that's the downside of doing things by index
2023-02-08 21:24:45 +0100 <geekosaur> I'm wondering if you maybe just want to change to named workspaces instead of using the default numbers
2023-02-08 21:25:07 +0100 <beastwick> yeah, I think I am conflicted about how to approach my workspaces lol
2023-02-08 21:25:25 +0100 <beastwick> i like both the dynamic workspaces, but now i'm wondering if I just need an extra set
2023-02-08 21:25:32 +0100 <beastwick> F1 - F12 or w/e
2023-02-08 21:25:32 +0100 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L59-L61 and https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L133
2023-02-08 21:25:45 +0100 <beastwick> and the ability to name them
2023-02-08 21:25:54 +0100 <beastwick> or rename them
2023-02-08 21:26:25 +0100 <geekosaur> and maybe up the number of keys used, yes. I use keys xK_1 through xK_equals (which sadly can't be specified as a simple range)
2023-02-08 21:26:39 +0100 <beastwick> can F1 - F12 be ranged?
2023-02-08 21:26:39 +0100 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L261
2023-02-08 21:26:42 +0100 <beastwick> or I have to do each one
2023-02-08 21:26:43 +0100 <geekosaur> yes
2023-02-08 21:27:02 +0100 <geekosaur> [xK_F1 .. xK_F12] is fine
2023-02-08 21:27:11 +0100 <beastwick> nice
2023-02-08 21:27:28 +0100 <geekosaur> may need an import, lemme check
2023-02-08 21:27:53 +0100 <geekosaur> no, no extra import needed
2023-02-08 21:28:27 +0100 <geekosaur> ghci> [xK_F1 .. xK_F12]
2023-02-08 21:28:28 +0100 <geekosaur> [65470,65471,65472,65473,65474,65475,65476,65477,65478,65479,65480,65481]
2023-02-08 22:42:48 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net) (Remote host closed the connection)
2023-02-08 22:43:24 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net)
2023-02-08 22:52:07 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net) (Quit: ERC 5.4 (IRC client for GNU Emacs 28.1))
2023-02-08 22:52:37 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net)
2023-02-08 22:53:12 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net) (Remote host closed the connection)
2023-02-08 22:53:36 +0100kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net)
2023-02-08 23:22:56 +0100mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2023-02-08 23:38:30 +0100 <kayvank> is there a way to force xmobar to a specific monitor/display?
2023-02-08 23:40:25 +0100 <geekosaur> -x displayNumber
2023-02-08 23:44:15 +0100 <xmonadtrack> New xmonad-contrib branch created: pull/799 (1 commit) https://github.com/xmonad/xmonad-contrib/pull/799