Note: This channel on freenode is currently not being logged anymore. The logs are reproduced here for posterity.

2020-12-04 19:28:19 +0100 <geekosaur> ultimately it'll be converted to pixels, and there are only so many pixels on most screens. maybe 1/1000 would show on a fancy 4K UHD monitor
2020-12-04 19:29:11 +0100 <geekosaur> we use ratios because monitors don't have to be the same size, i used to have a 1366x768 next to a 1920x1080 and fixed pixel sizes don't work well for that
2020-12-04 19:29:32 +0100 <Shadorain> hm yeh that is true, i feel like i should get more pixels allowed tho with my resizing of screen
2020-12-04 19:29:58 +0100 <Shadorain> yeh thats very tru so the ration should allow for more since i theoretically have 5760 instead of 1920
2020-12-04 19:30:40 +0100 <sfrique> thanks, i will take a look in this perscreen module
2020-12-04 19:33:19 +0100 <sfrique> by the way, is there a site ranking "best" modules for xmonad?
2020-12-04 19:34:11 +0100 <Shadorain> dont think so but here is a site that shows all the descriptions of each module and their links all in one spot
2020-12-04 19:34:14 +0100 <Shadorain> https://hackage.haskell.org/package/xmonad-contrib-0.13/docs/XMonad-Doc-Extending.html
2020-12-04 19:34:58 +0100 <Solid> may want to link to the current version of that ;)
2020-12-04 19:35:11 +0100 <Shadorain> oh oof haha
2020-12-04 19:35:38 +0100Rockj(~rockj@2001:67c:550:feed::1)
2020-12-04 19:35:42 +0100 <Shadorain> https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Doc-Extending.html
2020-12-04 19:35:51 +0100 <Shadorain> there u go lol, sfrique
2020-12-04 19:37:20 +0100thc202(~thc202@unaffiliated/thc202) (Quit: thc202)
2020-12-04 19:39:30 +0100 <sfrique> @Shadorain, that list i know, thanks, but they are not ranking on any way, I was thinking it could be some how.. xD not a big deal, but =]
2020-12-04 19:39:30 +0100 <lambdabot> Unknown command, try @list
2020-12-04 19:39:51 +0100 <sfrique> Shadorain, that list i know, thanks, but they are not ranking on any way, I was thinking it could be some how.. xD not a big deal, but =]
2020-12-04 19:39:54 +0100 <Solid> how would you even rank something like xmonad's modules
2020-12-04 19:40:02 +0100 <geekosaur> I'm not sure we have enough users for a ranking system to do very much, to be honest
2020-12-04 19:41:38 +0100 <sfrique> Solid, voting system is something.. but yeah, i don't see much users and not sure it would work well, i am just sarting on xmonad..
2020-12-04 19:42:35 +0100 <Solid> I wouldn't be so sure about the numbers of users that we actually have, more the number of users who would even interact with these kinds of things
2020-12-04 19:43:23 +0100 <sfrique> since we here, is there a way to enter a "mode" for other short cuts? like resize mode of i3
2020-12-04 19:43:32 +0100 <Shadorain> yeh i dont think many users would ever dig that deep to see that sadly
2020-12-04 19:43:55 +0100 <Shadorain> explain mode? sounds like vim and its intriguing tehe
2020-12-04 19:45:10 +0100 <sfrique> well, yes, kind of vim maybe. The goal is to enter a "mode" and a new set of keybinds would exist for it, most used on resize i guess for me
2020-12-04 19:45:31 +0100 <Solid> there's a "modal xmonad bindings" module floating around, but the person who wrote it never submitted it to contrib for some reason
2020-12-04 19:45:34 +0100 <Shadorain> yeh thats totally vim
2020-12-04 19:45:36 +0100 <geekosaur> you can't do modes that readily, but there are some modules to allow keybindings to vary in a somewhat modal way
2020-12-04 19:45:48 +0100 <geekosaur> hm, I thought they did
2020-12-04 19:45:53 +0100 <Shadorain> subkeybinds can do something like that
2020-12-04 19:46:04 +0100 <Shadorain> geekosaur, nah if they did i woulda jumped on that so fast
2020-12-04 19:46:30 +0100 <sfrique> i saw the subkeybinds, but i am not sure it stays in the mode after pressed
2020-12-04 19:46:44 +0100 <Shadorain> ah yeh no it doesnt
2020-12-04 19:47:08 +0100 <sfrique> i found this: https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Actions-Submap.html
2020-12-04 19:47:24 +0100 <Solid> https://gist.github.com/LSLeary/6741b0572d62db3f0cea8e6618141b2f this is the gist
2020-12-04 19:48:11 +0100 <Solid> it's a bit hacky but I don't think it's too hacky for xmonad-contrib
2020-12-04 19:49:21 +0100 <sfrique> thanks, but i don't know haskell well enought to hack that much xD going to leave wihtout it hahaha
2020-12-04 19:50:09 +0100 <Shadorain> hacky is what i do anyways lol, using xmodmap and crap so lets do it!
2020-12-04 19:50:12 +0100rabliatu(~quassel@107.158.96.11) (Quit: 1)
2020-12-04 19:50:25 +0100 <geekosaur> apparently I was thinking of PerWindowKeys, whoops
2020-12-04 19:50:32 +0100 <Shadorain> the only ever non contrib module i found was PerLayoutKeys
2020-12-04 19:50:55 +0100 <Shadorain> ConditionalLayouts or something like that which got rejected from contrib
2020-12-04 19:54:55 +0100 <Solid> I'll try to contact the person; if they're not interested maybe they're fine with me cleaning this up and submitting it
2020-12-04 19:55:22 +0100 <Solid> seems like a module that's too useful for it not to live inside contrib
2020-12-04 19:56:31 +0100Shadorain_(uid453914@gateway/web/irccloud.com/x-zacharxypgsnvrfo)
2020-12-04 20:00:10 +0100notis(~notis@185.51.134.222) (Read error: Connection reset by peer)
2020-12-04 20:02:55 +0100berberman(~berberman@unaffiliated/berberman) (Ping timeout: 272 seconds)
2020-12-04 20:03:25 +0100berberman(~berberman@unaffiliated/berberman)
2020-12-04 20:10:05 +0100Shadorain(~shadow@pool-71-187-70-139.nwrknj.fios.verizon.net) (Read error: Connection reset by peer)
2020-12-04 20:10:05 +0100Shadorain_Shadorain
2020-12-04 20:12:25 +0100shadow__(~shadow@pool-71-187-70-139.nwrknj.fios.verizon.net)
2020-12-04 20:12:35 +0100geekosaur(82659a09@host154-009.vpn.uakron.edu) (Ping timeout: 245 seconds)
2020-12-04 20:12:45 +0100shadow__(~shadow@pool-71-187-70-139.nwrknj.fios.verizon.net) ()
2020-12-04 20:13:37 +0100Shadowraith(~shadow@pool-71-187-70-139.nwrknj.fios.verizon.net)
2020-12-04 20:13:40 +0100 <Shadowraith> test
2020-12-04 20:13:55 +0100 <Shadowraith> oof my bad yall my pc somehow froze, first time ever lol
2020-12-04 20:14:08 +0100 <Shadowraith> and lost all messages from here
2020-12-04 20:17:19 +0100abhixec(~abhixec@c-67-169-141-95.hsd1.ca.comcast.net) (Ping timeout: 246 seconds)
2020-12-04 20:17:48 +0100 <Solid> Shadowraith: you are in luck!
2020-12-04 20:18:07 +0100 <Solid> we have recently invited a bot that logs this channel
2020-12-04 20:18:12 +0100 <Solid> see the /topic
2020-12-04 20:19:29 +0100abhixec(~abhixec@c-67-169-141-95.hsd1.ca.comcast.net)
2020-12-04 20:24:36 +0100 <Shadowraith> oh nuts sweet!
2020-12-04 20:29:04 +0100 <Shadowraith> oh cool, Solid, ur gonna try to get that modal binds module passed in?
2020-12-04 20:31:10 +0100 <Solid> Shadowraith: yeah as soon as I find a way to contact the original author
2020-12-04 20:31:32 +0100geekosaur(82659a09@host154-009.vpn.uakron.edu)
2020-12-04 20:32:30 +0100 <Shadowraith> i agree it will be an extremely useful module
2020-12-04 20:32:45 +0100 <Shadowraith> who wouldnt want vim in their wm pretty much haha!
2020-12-04 20:34:28 +0100 <Solid> well, I for one probably wouldn't use it myself :P
2020-12-04 20:35:29 +0100 <Shadowraith> aw man tehe, but i think it would have its place for some people!
2020-12-04 20:36:06 +0100 <Solid> oh definitely --- that's why I want to try and get it into contrib, after all
2020-12-04 20:42:03 +0100 <Shadowraith> ur the best tehe <3!
2020-12-04 20:43:39 +0100xaltsc(~xaltsc@unaffiliated/xaltsc) (Quit: WeeChat 3.0)
2020-12-04 20:48:02 +0100 <Shadowraith> my special spanning layout finally lets me feel like i actually use all 3 mons lol
2020-12-04 20:48:32 +0100 <Shadowraith> can you use a spawn command from a layout like when switching to a specific layout?
2020-12-04 20:52:45 +0100xaltsc(~xaltsc@unaffiliated/xaltsc)
2020-12-04 20:55:10 +0100 <geekosaur> that sounds … painful
2020-12-04 20:56:55 +0100 <Shadowraith> thats been my experience in general trying to do somethign in haskell not even knowing haskell :joy:
2020-12-04 20:57:13 +0100 <geekosaur> I mean, an impure layut could do a spawn, but catching that you'd just switched to the layout less so (you'd have to save and compare the previous layout on the current workspace, probably in XS — and note that during the layout, the StackSet is out of date because the current one's being built as part of laying out the workspace)
2020-12-04 20:57:58 +0100 <geekosaur> sadly that does not mean it stores the old layout, in general
2020-12-04 20:58:38 +0100 <geekosaur> but it'll have other stuff randomly out of date, in particular the currently focused window probably isn't even present in it
2020-12-04 20:59:18 +0100 <geekosaur> and of course the spawned window will force another layout run
2020-12-04 20:59:28 +0100 <Shadowraith> yikes that sounds alot past my skill level here haha
2020-12-04 20:59:44 +0100 <Shadowraith> oh by spawn command i meant the spawn module that allows u to run shell commands
2020-12-04 20:59:48 +0100 <Shadowraith> idk if i made that clear
2020-12-04 21:00:44 +0100 <geekosaur> there's also a built-in spawn command, the module just provides some other possibilities
2020-12-04 21:01:36 +0100 <Shadowraith> i didnt mean module* yeh i meant the built in one, come on shado use the right terminology lol
2020-12-04 21:01:59 +0100 <Shadowraith> is there a way to have a layout run the built in spawn (shell command) on being switched to?
2020-12-04 21:02:46 +0100 <geekosaur> the layout would be run in that situation, but also when various other things happen. there is no specific "do this when this layout is switched to"
2020-12-04 21:02:59 +0100 <geekosaur> which is why I tried to describe how to do so
2020-12-04 21:03:18 +0100 <Shadowraith> oh maybe shado just didnt understand :facepalm: im sorry haha
2020-12-04 21:05:14 +0100 <geekosaur> come to think of it, it might be easier to change mod-space binding to query the layout by its description after changing it, and spawn something
2020-12-04 21:05:55 +0100 <Shadowraith> thats what ive been trying to do mentally but id never be able to do that in Haskell lol
2020-12-04 21:07:38 +0100 <Shadowraith> still trying to figure out too how to get one keybinding to run multiple things :joy:
2020-12-04 21:08:22 +0100 <geekosaur> you can get the layout by looking up the workspace in the StackSet, then apply `description` to that. you'd have to ensure the layout's description is sufficiently distinctive
2020-12-04 21:08:50 +0100 <Shadowraith> http://0x0.st/i77C.txt
2020-12-04 21:08:53 +0100 <Shadowraith> checkout my loghook
2020-12-04 21:09:13 +0100 <Shadowraith> i have like a query thing to find the current layout name and to send it to a file
2020-12-04 21:09:24 +0100 <Shadowraith> maybe it would work similar to that?
2020-12-04 21:09:40 +0100 <Shadowraith> except do command based off layout name instead of send to file