2019-10-18T03:46:48 #kisslinux dylanaraps : is `.www` your deploy directory on netlify? 2019-10-18T05:30:07 #kisslinux 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 nestman: yes 2019-10-18T07:52:26 #kisslinux Crestwave: Good point. 2019-10-18T08:54:07 #kisslinux Also, shouldn't you revert back to sed so it at least works in more recent Android versions? 2019-10-18T09:45:00 #kisslinux dylanaraps : is sowm master unstable atm? 2019-10-18T09:45:16 #kisslinux after the revert 2019-10-18T09:45:20 #kisslinux commit 2019-10-18T10:59:46 #kisslinux Crestwave: I will revert it yeah. 2019-10-18T10:59:58 #kisslinux nestman: Master should be stable once again. 2019-10-18T13:27:42 #kisslinux irssi seems to be working well 2019-10-18T13:27:47 #kisslinux it do be epic ngl 2019-10-18T14:52:49 #kisslinux dylanaraps : moving to workspace doesn't work when Caps Lock is on 2019-10-18T18:13:03 #kisslinux nestman: I don't have capslock bound to anything so I haven't noticed. 2019-10-18T18:13:11 #kisslinux Dunno if this is something I want to fix though. 2019-10-18T18:13:35 #kisslinux Can you even call it a bug(?). 2019-10-18T18:36:15 #kisslinux capslock is a mod iirc 2019-10-18T18:36:16 #kisslinux Good read: https://en.wikipedia.org/wiki/Elephant_in_Cairo 2019-10-18T18:36:29 #kisslinux (It is programming related) 2019-10-18T18:40:06 #kisslinux @dylan - sowm - thoughts on smart placement of windows ala berrywm? 2019-10-18T18:41:10 #kisslinux Smart meaning placing windows around the screen so they're not spawned on top of each other? 2019-10-18T18:41:17 #kisslinux yes 2019-10-18T18:43:26 #kisslinux 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 ok - no worries 2019-10-18T18:43:45 #kisslinux It also only keeps track of size when needed. 2019-10-18T18:44:01 #kisslinux It does as less as possible. 2019-10-18T18:45:01 #kisslinux understood (and that's as it should be) 2019-10-18T18:46:02 #kisslinux 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 why? 2019-10-18T18:46:35 #kisslinux I swapped it to a circular doubly linked list which was interesting. 2019-10-18T18:47:10 #kisslinux Investigating which lists allow for the simplest implementation in relation to keeping track of windows on the screen. 2019-10-18T18:47:47 #kisslinux Adding to a linked list here is simple. Removal of a random window is where it hurts. 2019-10-18T18:48:03 #kisslinux 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 That's fine. 2019-10-18T18:48:28 #kisslinux Alt-tab will only go forwards. 2019-10-18T18:48:41 #kisslinux ugh 2019-10-18T18:48:47 #kisslinux okay 2019-10-18T18:49:13 #kisslinux 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 (without adding any complexity) 2019-10-18T18:49:39 #kisslinux Not entirely for free as the code is actually more complex with a doubly linked list. 2019-10-18T18:49:49 #kisslinux More storage is also needed per node. 2019-10-18T18:50:00 #kisslinux /storage/ 2019-10-18T18:50:07 #kisslinux c'mon :P 2019-10-18T18:50:19 #kisslinux that's one pointer per window 2019-10-18T18:50:29 #kisslinux we're talking about 64 bits at most 2019-10-18T18:50:49 #kisslinux Swapping workspaces is actually slow with 20~ windows open currently. 2019-10-18T18:51:12 #kisslinux you know why? 2019-10-18T18:51:31 #kisslinux Yes 2019-10-18T18:53:16 #kisslinux so? 2019-10-18T18:55:18 #kisslinux It's not async at all for starters. 2019-10-18T18:55:36 #kisslinux It also requires moving the workspace lists around 4 times. 2019-10-18T19:02:31 #kisslinux 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 I do exactly that. 2019-10-18T19:03:50 #kisslinux I "compress" motion and focus events. 2019-10-18T19:04:02 #kisslinux Will look into it regardless. 2019-10-18T19:16:27 #kisslinux z3bra: Though a circular doubly linked list _could_ make the implementation even simpler. 2019-10-18T19:16:51 #kisslinux alt->Tab cycles for free (both directions). 2019-10-18T19:19:41 #kisslinux :) 2019-10-18T19:21:51 #kisslinux Testing now. 2019-10-18T19:22:01 #kisslinux > 1 file changed, 23 insertions(+), 37 deletions(-) 2019-10-18T19:22:07 #kisslinux brb 2019-10-18T20:56:21 #kisslinux I'm trying to setup sowm on alpine linux 2019-10-18T20:56:22 #kisslinux https://i.imgur.com/PwxKbP8.png 2019-10-18T20:56:59 #kisslinux is it supposed to look like this? I added `exec sowm` to my `.xinitrc`, then did `xinit` 2019-10-18T21:11:32 #kisslinux ok I tried `xinit sowm` 2019-10-18T21:11:41 #kisslinux it gave me this: https://i.imgur.com/IeYYwUE.png 2019-10-18T21:12:10 #kisslinux mod4+return does open a terminal 2019-10-18T21:12:28 #kisslinux but I have no idea how to move the windows 2019-10-18T21:18:08 #kisslinux I also got feh to work: https://i.imgur.com/648Dqiv.png 2019-10-18T21:58:02 #kisslinux HiddenOne: version 3.0 or git master? 2019-10-18T21:58:17 #kisslinux I wouldn't use git master as it isn't stable. 2019-10-18T21:58:26 #kisslinux Windows are moved with the mouse. 2019-10-18T21:58:46 #kisslinux sowm master is down to 220 LOC fyi :D 2019-10-18T22:01:08 #kisslinux 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 bed for me now 2019-10-18T22:02:50 #kisslinux ciao 2019-10-18T22:13:59 #kisslinux sorry about that, I was running it in a VM, so it I couldn't really do anything 2019-10-18T22:14:34 #kisslinux 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 I will be uploading to r/unixporn : )