Re: Re: [qubes-users] how to get appVM colour for customizing bash prompt's colours

2016-09-16 Thread Robert
> On 09/16/2016 01:18 PM, Robert wrote:
> > Hi!
> > 
> > I wonder if there is a command-line way to get the name (or any
> > other id) of appVM's colour, used for window borders and such, from
> > within the same appVM (not dom0)? It could be useful for
> > customizing bash prompt's colours.
> > 
> > I guess, I'd not be surprised if the answer was no due to security
> > reasons.
> > 
> > Best regards, Robert
> > 
> > 
> I'm not sure if there is an official way, but I have written an RPC do
> to this. https://github.com/kulinacs/qubes-rpc-GetLabel
> I have the command run in /rw/config/rc.local and have it set to auto
> allow.
> 
> - -- 
> kulinacs 

Thanks, I'll try it out!

--
Robert


-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/57dc441332b024.18352490%40wp.pl.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] how to get appVM colour for customizing bash prompt's colours

2016-09-16 Thread Nicklaus McClendon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 09/16/2016 01:18 PM, Robert wrote:
> Hi!
> 
> I wonder if there is a command-line way to get the name (or any
> other id) of appVM's colour, used for window borders and such, from
> within the same appVM (not dom0)? It could be useful for
> customizing bash prompt's colours.
> 
> I guess, I'd not be surprised if the answer was no due to security
> reasons.
> 
> Best regards, Robert
> 
> 
I'm not sure if there is an official way, but I have written an RPC do
to this. https://github.com/kulinacs/qubes-rpc-GetLabel
I have the command run in /rw/config/rc.local and have it set to auto
allow.

- -- 
kulinacs 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EARYIAAYFAlfcPmYACgkQW1Q2Vuxs8jNwvQEA8omVIHS0V1D6YGSzlJLSJ4IJ
Qm82iOXMt1V86mc8sG0BAMlW2529AVT5Ia1n4Sm0dYg8J/4TkK3fF+P6TpnCYi4E
=5WrB
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/e56cc595-049a-7dc6-b4c4-31f74d025683%40kulinacs.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] how to get appVM colour for customizing bash prompt's colours

2016-09-16 Thread Robert
Hi!

I wonder if there is a command-line way to get the name (or any other id) of 
appVM's colour, used for window borders and such, from within the same appVM 
(not dom0)?
It could be useful for customizing bash prompt's colours.

I guess, I'd not be surprised if the answer was no due to security reasons.

Best regards,
Robert


-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/57dc377e1f4c29.24506655%40wp.pl.
For more options, visit https://groups.google.com/d/optout.