💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2019-10-18.txt captured on 2024-03-21 at 16:11:17.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2019-10-18T03:46:48 #kisslinux <nestman> dylanaraps : is `.www` your deploy directory on netlify? 2019-10-18T05:30:07 #kisslinux <Crestwave> dylanaraps: By the way, why do you use `command -v` instead of `hash` in pfetch when you're going to execute the command if it succeeds? 2019-10-18T07:52:20 #kisslinux <dylanaraps> nestman: yes 2019-10-18T07:52:26 #kisslinux <dylanaraps> Crestwave: Good point. 2019-10-18T08:54:07 #kisslinux <Crestwave> Also, shouldn't you revert back to sed so it at least works in more recent Android versions? 2019-10-18T09:45:00 #kisslinux <nestman> dylanaraps : is sowm master unstable atm? 2019-10-18T09:45:16 #kisslinux <nestman> after the revert 2019-10-18T09:45:20 #kisslinux <nestman> commit 2019-10-18T10:59:46 #kisslinux <dylanaraps> Crestwave: I will revert it yeah. 2019-10-18T10:59:58 #kisslinux <dylanaraps> nestman: Master should be stable once again. 2019-10-18T13:27:42 #kisslinux <awsyoos> irssi seems to be working well 2019-10-18T13:27:47 #kisslinux <awsyoos> it do be epic ngl 2019-10-18T14:52:49 #kisslinux <nestman> dylanaraps : moving to workspace doesn't work when Caps Lock is on 2019-10-18T18:13:03 #kisslinux <dylanaraps> nestman: I don't have capslock bound to anything so I haven't noticed. 2019-10-18T18:13:11 #kisslinux <dylanaraps> Dunno if this is something I want to fix though. 2019-10-18T18:13:35 #kisslinux <dylanaraps> Can you even call it a bug(?). 2019-10-18T18:36:15 #kisslinux <z3bra> capslock is a mod iirc 2019-10-18T18:36:16 #kisslinux <dylanaraps> Good read: https://en.wikipedia.org/wiki/Elephant_in_Cairo 2019-10-18T18:36:29 #kisslinux <dylanaraps> (It is programming related) 2019-10-18T18:40:06 #kisslinux <knob> @dylan - sowm - thoughts on smart placement of windows ala berrywm? 2019-10-18T18:41:10 #kisslinux <dylanaraps> Smart meaning placing windows around the screen so they're not spawned on top of each other? 2019-10-18T18:41:17 #kisslinux <knob> yes 2019-10-18T18:43:26 #kisslinux <dylanaraps> That'll be a little too complex for sowm. (It doesn't keep track of where windows are on the screen). 2019-10-18T18:43:42 #kisslinux <knob> ok - no worries 2019-10-18T18:43:45 #kisslinux <dylanaraps> It also only keeps track of size when needed. 2019-10-18T18:44:01 #kisslinux <dylanaraps> It does as less as possible. 2019-10-18T18:45:01 #kisslinux <knob> understood (and that's as it should be) 2019-10-18T18:46:02 #kisslinux <dylanaraps> I've spent all day messing around with all of the linked list types and I'm now swapping sowm to use a singly linked list instead of a doubly linked one. 2019-10-18T18:46:23 #kisslinux <z3bra> why? 2019-10-18T18:46:35 #kisslinux <dylanaraps> I swapped it to a circular doubly linked list which was interesting. 2019-10-18T18:47:10 #kisslinux <dylanaraps> Investigating which lists allow for the simplest implementation in relation to keeping track of windows on the screen. 2019-10-18T18:47:47 #kisslinux <dylanaraps> Adding to a linked list here is simple. Removal of a random window is where it hurts. 2019-10-18T18:48:03 #kisslinux <z3bra> singly linked list will be a pain to use if you want stuff like alt-tab in both directions 2019-10-18T18:48:17 #kisslinux <dylanaraps> That's fine. 2019-10-18T18:48:28 #kisslinux <dylanaraps> Alt-tab will only go forwards. 2019-10-18T18:48:41 #kisslinux <z3bra> ugh 2019-10-18T18:48:47 #kisslinux <z3bra> okay 2019-10-18T18:49:13 #kisslinux <z3bra> I mean. That's too bad, using a doubly linked list would allow traversal both ways almost for free 2019-10-18T18:49:31 #kisslinux <z3bra> (without adding any complexity) 2019-10-18T18:49:39 #kisslinux <dylanaraps> Not entirely for free as the code is actually more complex with a doubly linked list. 2019-10-18T18:49:49 #kisslinux <dylanaraps> More storage is also needed per node. 2019-10-18T18:50:00 #kisslinux <z3bra> /storage/ 2019-10-18T18:50:07 #kisslinux <z3bra> c'mon :P 2019-10-18T18:50:19 #kisslinux <z3bra> that's one pointer per window 2019-10-18T18:50:29 #kisslinux <z3bra> we're talking about 64 bits at most 2019-10-18T18:50:49 #kisslinux <dylanaraps> Swapping workspaces is actually slow with 20~ windows open currently. 2019-10-18T18:51:12 #kisslinux <z3bra> you know why? 2019-10-18T18:51:31 #kisslinux <dylanaraps> Yes 2019-10-18T18:53:16 #kisslinux <z3bra> so? 2019-10-18T18:55:18 #kisslinux <dylanaraps> It's not async at all for starters. 2019-10-18T18:55:36 #kisslinux <dylanaraps> It also requires moving the workspace lists around 4 times. 2019-10-18T19:02:31 #kisslinux <posixmeharder> testing sowm right now and I see high cpu usage when move window on my potato pc... same behavior in some WM that I dont't remember righ now, but some guy talked about skip events or something like that in the function that handle the _move_ action of WM 2019-10-18T19:03:36 #kisslinux <dylanaraps> I do exactly that. 2019-10-18T19:03:50 #kisslinux <dylanaraps> I "compress" motion and focus events. 2019-10-18T19:04:02 #kisslinux <dylanaraps> Will look into it regardless. 2019-10-18T19:16:27 #kisslinux <dylanaraps> z3bra: Though a circular doubly linked list _could_ make the implementation even simpler. 2019-10-18T19:16:51 #kisslinux <dylanaraps> alt->Tab cycles for free (both directions). 2019-10-18T19:19:41 #kisslinux <z3bra> :) 2019-10-18T19:21:51 #kisslinux <dylanaraps> Testing now. 2019-10-18T19:22:01 #kisslinux <dylanaraps> > 1 file changed, 23 insertions(+), 37 deletions(-) 2019-10-18T19:22:07 #kisslinux <dylanaraps> brb 2019-10-18T20:56:21 #kisslinux <HiddenOne> I'm trying to setup sowm on alpine linux 2019-10-18T20:56:22 #kisslinux <HiddenOne> https://i.imgur.com/PwxKbP8.png 2019-10-18T20:56:59 #kisslinux <HiddenOne> is it supposed to look like this? I added `exec sowm` to my `.xinitrc`, then did `xinit` 2019-10-18T21:11:32 #kisslinux <HiddenOne> ok I tried `xinit sowm` 2019-10-18T21:11:41 #kisslinux <HiddenOne> it gave me this: https://i.imgur.com/IeYYwUE.png 2019-10-18T21:12:10 #kisslinux <HiddenOne> mod4+return does open a terminal 2019-10-18T21:12:28 #kisslinux <HiddenOne> but I have no idea how to move the windows 2019-10-18T21:18:08 #kisslinux <HiddenOne> I also got feh to work: https://i.imgur.com/648Dqiv.png 2019-10-18T21:58:02 #kisslinux <dylanaraps> HiddenOne: version 3.0 or git master? 2019-10-18T21:58:17 #kisslinux <dylanaraps> I wouldn't use git master as it isn't stable. 2019-10-18T21:58:26 #kisslinux <dylanaraps> Windows are moved with the mouse. 2019-10-18T21:58:46 #kisslinux <dylanaraps> sowm master is down to 220 LOC fyi :D 2019-10-18T22:01:08 #kisslinux <dylanaraps> It uses circular doubly linked lists now. My implementation is tiny. https://github.com/dylanaraps/sowm/blob/master/sowm.c#L131-L166 2019-10-18T22:02:49 #kisslinux <dylanaraps> bed for me now 2019-10-18T22:02:50 #kisslinux <dylanaraps> ciao 2019-10-18T22:13:59 #kisslinux <HiddenOne> sorry about that, I was running it in a VM, so it I couldn't really do anything 2019-10-18T22:14:34 #kisslinux <HiddenOne> thanks for helping me though! I installed it on a bootable USB and it worked like a charm. haha, I'll be sure to check out version 3.0 though... I was just using master. 2019-10-18T22:57:03 #kisslinux <HiddenOne> I will be uploading to r/unixporn : )