2020-01-17T00:00:17 #kisslinux /bin/login -f user 2020-01-17T00:00:34 #kisslinux k 2020-01-17T00:02:06 #kisslinux > obsolete/protypes.h: No such file or directory 2020-01-17T00:02:13 #kisslinux Missing more NSS 2020-01-17T00:02:15 #kisslinux yay 2020-01-17T01:39:02 #kisslinux yeah webkit is taking its time on my laptop today 2020-01-17T01:39:04 #kisslinux *lol* 2020-01-17T03:19:37 #kisslinux gm lads 2020-01-17T03:19:50 #kisslinux so i'm having an X vs Wayland discussion with someone 2020-01-17T03:20:02 #kisslinux what are some good points for X? 2020-01-17T03:20:35 #kisslinux 1. it's not wayland 2020-01-17T03:20:49 #kisslinux they say Wayland is a lot simpler and more secure than X 2020-01-17T03:20:59 #kisslinux i've never used Wayland, so idk 2020-01-17T03:21:18 #kisslinux konimex: c'mon i need a lil more than that lol 2020-01-17T03:22:25 #kisslinux search wayland in chat history a lot of good points were listed like a day ago 2020-01-17T03:23:56 #kisslinux something someting "your system may be 'secure', but all your security work was still just masturbation." 2020-01-17T03:27:41 #kisslinux lol 2020-01-17T03:27:53 #kisslinux thanks E5ten 2020-01-17T03:27:57 #kisslinux i'll do that 2020-01-17T03:31:14 #kisslinux dylanaraps: earlier today I said I wish falkon didn't use xcb-util, so I decided to look into trying to remove its usage of it...so it doesn't link to the library, just includes xcb_atom.h, so I looked at what's in xcb_atom.h and it's 3 functions from the library that falkon doesn't use 2020-01-17T03:32:05 #kisslinux Yeah there was a massive wayland discussion yesterday, I think it all boils down to wayland is a protocol. Which means it does nothing at all and relies on external programs to implement anything. Whereas X just does what it's meant to do nicely... 2020-01-17T03:32:35 #kisslinux I think whoever made the change that added the usage of xcb-util (including the unneeded header and checking for it in cmake) just assumed that because they were using some xcb functions and stuff that had atom in the name that they needed it 2020-01-17T03:32:43 #kisslinux But also remember I'm dumb as rocks. 2020-01-17T03:42:06 #kisslinux is anyone having trouble opening mastodon in webkit-based browsers? 2020-01-17T05:07:34 #kisslinux i need some shell help 2020-01-17T05:08:08 #kisslinux yeah? 2020-01-17T05:08:13 #kisslinux so i modified dylanaraps' bri script a bit 2020-01-17T05:08:37 #kisslinux and shellchecking it doesn't show errors 2020-01-17T05:08:46 #kisslinux but im not confident 2020-01-17T05:08:51 #kisslinux https://termbin.com/44km 2020-01-17T05:09:29 #kisslinux using default busybox shell btw 2020-01-17T05:09:59 #kisslinux why'd you change the use of cur in $(()) to that? 2020-01-17T05:10:20 #kisslinux oh I see 2020-01-17T05:11:47 #kisslinux my guess 2020-01-17T05:11:56 #kisslinux wait no I don't see 2020-01-17T05:12:52 #kisslinux so if cur is empty, it uses literal cur itself 2020-01-17T05:12:56 #kisslinux as a variable 2020-01-17T05:13:45 #kisslinux how would cur be empty? 2020-01-17T05:14:18 #kisslinux when would that file (on a system where it should exist) ever be empty? 2020-01-17T05:14:20 #kisslinux oh right 2020-01-17T05:14:41 #kisslinux i forgot why i did that 2020-01-17T05:15:02 #kisslinux wait 2020-01-17T05:15:34 #kisslinux ahh i guess i remember 2020-01-17T05:15:54 #kisslinux i kind of tricked the shell 2020-01-17T05:16:16 #kisslinux but what does it do? 2020-01-17T05:16:58 #kisslinux it sees cur as a something with value and as a literal variable 2020-01-17T05:17:10 #kisslinux i don't know it that makes sense 2020-01-17T05:17:18 #kisslinux s/it/if 2020-01-17T05:17:51 #kisslinux like what do you expect it to change about the results of the expression is what I'm asking 2020-01-17T05:17:53 #kisslinux i did that because of `${2:-=}` 2020-01-17T05:19:13 #kisslinux because for example, if cur has a value, say 123 2020-01-17T05:19:28 #kisslinux and the value of `$2` is `=` 2020-01-17T05:19:34 #kisslinux it would return errors 2020-01-17T05:20:12 #kisslinux the ${2:-=} thing is so that if an operation (addition or subtraction) isn't specified as a second argument the syntax is still valid 2020-01-17T05:20:52 #kisslinux `123=max*$1/100` 2020-01-17T05:20:59 #kisslinux ^ won't this return errors? 2020-01-17T05:21:40 #kisslinux variable name on the left of an = (and any variants like -=) will be used as a variable not the value of the variable 2020-01-17T05:21:43 #kisslinux arithmetic syntax error 2020-01-17T05:21:59 #kisslinux because it's inside `$(())` 2020-01-17T05:22:04 #kisslinux yeah 2020-01-17T05:22:26 #kisslinux wait do you mean that in response to what I said or to explain what you're saying? 2020-01-17T05:22:45 #kisslinux because $((var = math)) is not an error even if var expands to a number because var won't expand 2020-01-17T05:22:55 #kisslinux it'll get set to the result of the math expression 2020-01-17T05:23:48 #kisslinux it does though 2020-01-17T05:23:54 #kisslinux `cur=100` 2020-01-17T05:23:57 #kisslinux then 2020-01-17T05:24:05 #kisslinux `$((cur+cur))` 2020-01-17T05:24:10 #kisslinux returns 200 2020-01-17T05:24:27 #kisslinux im confused 2020-01-17T05:24:52 #kisslinux what 2020-01-17T05:25:08 #kisslinux why are you confused by $((100+100)) returning 200? 2020-01-17T05:26:15 #kisslinux no not that 2020-01-17T05:26:20 #kisslinux the script lol 2020-01-17T05:26:50 #kisslinux https://raw.githubusercontent.com/dylanaraps/bin/master/bri 2020-01-17T05:27:05 #kisslinux using his gives me errors 2020-01-17T05:27:13 #kisslinux like an exit code of 200 or it's writing "200" to the brightness file? 2020-01-17T05:28:18 #kisslinux no, it returns wrong values 2020-01-17T05:28:59 #kisslinux like in the math? 2020-01-17T05:29:12 #kisslinux yes 2020-01-17T05:29:16 #kisslinux you gotta explain this more clearly don't be vague, what values are wrong exactly 2020-01-17T05:30:05 #kisslinux okay, i'll just revert the script 2020-01-17T05:31:32 #kisslinux both his and your script appear to work normally... 2020-01-17T05:32:31 #kisslinux no wait you're totally right his is isn't right I accidentally wrote a line change I did in it while I was looking at it 2020-01-17T05:33:10 #kisslinux yours doesn't need the ${cur:+cur} thing, that isn't how it works 2020-01-17T05:33:12 #kisslinux just cur is fine 2020-01-17T05:38:21 #kisslinux the formula itself i guess is wrong 2020-01-17T05:38:33 #kisslinux in which script? 2020-01-17T05:38:33 #kisslinux wait i'll show 2020-01-17T05:38:39 #kisslinux cuz in your script seems correct 2020-01-17T05:38:43 #kisslinux it seems* 2020-01-17T05:39:55 #kisslinux https://termbin.com/uwe1 2020-01-17T05:40:02 #kisslinux ^ dylan's 2020-01-17T05:40:10 #kisslinux https://termbin.com/e6zdc 2020-01-17T05:40:14 #kisslinux ^ mine 2020-01-17T05:41:06 #kisslinux try `