<leon-p>
+1 for using something else for colours. Re-using the comment character is pretty awkward in general.
<leon-p>
I propose 0xrrggbb
<ifreund>
yeah, 0x is fine by me
<ifreund>
cmoi11: the simplest way is to put that in a shell script and use riverctl to map a keybind to run the script
<ifreund>
otherwise, yes escaping should be possible
<cmoi11>
Ok thanks :) Yeah an extra file is nicer I think.
edrex has quit [Quit: Bridge terminating on SIGTERM]
samhsmith[m] has quit [Quit: Bridge terminating on SIGTERM]
ifreund_ has quit [Quit: Bridge terminating on SIGTERM]
ammen99 has quit [Quit: Bridge terminating on SIGTERM]
Bonicgamer[m] has quit [Quit: Bridge terminating on SIGTERM]
voroskoi has quit [Quit: Bridge terminating on SIGTERM]
voroskoi has joined #river
ifreund_ has joined #river
samhsmith[m] has joined #river
edrex has joined #river
Bonicgamer[m] has joined #river
ammen99 has joined #river
travankor has quit [Remote host closed the connection]
waleee-cl has joined #river
<ifreund>
just removing the # prefix for colors would work fine too, I'm not sure the 0x offers more clarity
<leon-p>
¯\_(ツ)_/¯ I am fine either way. I use 0x in my projects to make hex colours more distinct as I also allow rgb(rrr, ggg, bbb).
<ifreund>
what we really want is 4 floating point numbers for rgba
<ifreund>
hex is much more familiar to most people though
<leon-p>
In the end, riverctl will do all the parsing, so I see no harm in supporting multiple colour formats
<ifreund>
yeah, I can't wait to get all the parsing code out of the comopitor
<ifreund>
though doing it this way was nice to get something working quickly
<cmoi11>
I just tried it out and it seems the 0x syntax is already implemented
<cmoi11>
At least it works
<ifreund>
lol
<ifreund>
uh, no it doesn't work for me
<ifreund>
and it definitely shouldn't with the current code
<cmoi11>
Curious, bcause even the error message tells that it works :)
<cmoi11>
error: Invalid value for '--init-color <COLOR>': invalid color prefix, must start with '#' or '0x'
<cmoi11>
Maybe it is implemented in a library that you use for the parsing?
<leon-p>
cmoi11: from which alternate universe is your river version? I don't think we have that option in river…
<leon-p>
oh, you mean the colour of waylock. d'oh.
<cmoi11>
Yes waylock :)
<cmoi11>
Sorry if I confused you, I thougt we were talking about waylock.
koalaaa has joined #river
<koalaaa>
Heya, so I don't know alot of programming thus I sadly cant contribute to developing :/ But just gotta say, it's definently looking promising and would love to use it once more features such as idle, touchscreen etc has been added
koalaaa has quit [Quit: Leaving]
cmoi11 has quit [Remote host closed the connection]